Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 318: Slideshow homepage. Hero section #428

Merged
merged 13 commits into from
Feb 25, 2020

Conversation

sergsadovyi
Copy link
Collaborator

@sergsadovyi sergsadovyi commented Feb 6, 2020

Closes #318

@sergsadovyi sergsadovyi closed this Feb 6, 2020
@sergsadovyi sergsadovyi deleted the feat/318 branch February 6, 2020 20:20
@sergsadovyi sergsadovyi restored the feat/318 branch February 6, 2020 20:22
@designerbrent designerbrent reopened this Feb 7, 2020
@designerbrent designerbrent added the ALPS v.3 Tickets for the ALPS v.3 development label Feb 7, 2020
@designerbrent
Copy link
Collaborator

@kelscahill please review this for code style and consistency. It is based on #318.

@sergsadovyi
Copy link
Collaborator Author

Please don't merge. Will do some small fixes and push on Monday

@sergsadovyi sergsadovyi changed the title Feature 318: Slideshow homepage. Hero section WIP: Feature 318: Slideshow homepage. Hero section Feb 8, 2020
.gitignore Outdated
@@ -8,3 +8,4 @@ yarn-error.log
.DS_Store
.package-lock.json
.yarn.lock
/views/patterns/01-molecules/components/carousel.blade.php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this file ignored?

CHANGELOG.md Outdated
##[3.0.33]
### Feature
- Added 6 slide slider

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't edit the CHANGELOG.md file. These files will be edited after the merge and when I create the new release.

Copy link
Collaborator

@designerbrent designerbrent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergsadovyi and @eugeneweblab:

Before I review and merge these changes, I need you to resolve the conflicts in the merge. I have released a new version of the plugin SINCE you forked this, so please make sure those changes aren't over-written by this incoming merge.

When changes are incoming like this, please don't edit the CHANGELOG.md, style.css, kernl.version or changelog.json files. I will make changes in those files ONLY after the merge and when we are ready to create a new version.

Once the conflicts have been resolved in the merge, I will review the changes again.

Thanks!

style.css Outdated
@@ -2,7 +2,7 @@
Theme Name: ALPS for WordPress
Theme URI: https://adventist.io/themes
Description: ALPS is the Adventist Living Pattern Library theme based off of the Sage WordPress theme.
Version: 3.0.32
Version: 3.0.33
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't edit these in the branch. This change will be made AFTER the merge.

@sergsadovyi sergsadovyi changed the title WIP: Feature 318: Slideshow homepage. Hero section Feature 318: Slideshow homepage. Hero section Feb 9, 2020
# Conflicts:
#	views/patterns/02-organisms/sections/page-header-hero.blade.php
Copy link
Collaborator

@designerbrent designerbrent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergsadovyi Have you check this from your end on the front? I'm getting an error when I try to view the page:

2020-02-09 at 8 53 PM

Switching to another theme, or older version, resolves the error.

@sergsadovyi
Copy link
Collaborator Author

@sergsadovyi Have you check this from your end on the front? I'm getting an error when I try to view the page:

2020-02-09 at 8 53 PM

Switching to another theme, or older version, resolves the error.

I've tested on WP 5.3 with PHP 7.4.
Could you provide your WP and PHP version? I'll check on your configuration.
And if you have some error log it will be easier to debug.

@sergsadovyi
Copy link
Collaborator Author

Try to add Hero Carousel slides from the scratch. Maybe a crash because of naming changes.

@designerbrent
Copy link
Collaborator

designerbrent commented Feb 10, 2020

@sergsadovyi I think I found the problem. The slide file was old and not updating correctly since it had been excluded from git. After I removed it, it worked fine.

I think it looks great as your implemented it but after I played with it for a bit, I realized that the slides are building with the old centered layout, not the newer one here: Media Block - Inset. The version I asked you to use make it hard to see the text, whereas this one deals with that better.

An example on other site: https://ministerial.adventist.org/

Can you please make that change?

@sergsadovyi
Copy link
Collaborator Author

Updated the styles of the Carousel to match https://ministerial.adventist.org/. Maybe we should update original alps repo with Hero Carousel new styles? So the css for carousel will be not local but from alps cdn. (just a suggestion)

@designerbrent
Copy link
Collaborator

@sergsadovyi It looks good, however, I'm seeing the images are scaling to fit the full width of the space, leaving a block on the right with out image. If the screen width is narrow enough, it look fine.

2020-02-11 at 6 18 AM

Regarding the CSS, yes, I would prefer that to come as part of the main CSS. Please make a pull request that includes this CSS for the ALPS Pattern Lab, as well as an updated pattern alternate that can use either this version of the slide or the other version of the slide.

@sergsadovyi
Copy link
Collaborator Author

sergsadovyi commented Feb 11, 2020

@sergsadovyi It looks good, however, I'm seeing the images are scaling to fit the full width of the space, leaving a block on the right with out image. If the screen width is narrow enough, it look fine.

Can't reproduce a bug. @designerbrent Please provide an image, screen width and browser version.

@designerbrent
Copy link
Collaborator

This is pending merge of the PR adventistchurch/alps#436 from ALPS Core.

Copy link
Collaborator

@designerbrent designerbrent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergsadovyi Please remove the remaining CSS that got moved into the ALPS core project.

@designerbrent designerbrent merged commit 45e4261 into adventistchurch:v3 Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ALPS v.3 Tickets for the ALPS v.3 development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slideshow homepage. Hero section.
3 participants