-
Notifications
You must be signed in to change notification settings - Fork 1
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
ADAPT 1445: Gallery Slideshow #192
Conversation
…ehavior for thumbnail pagers which exceed screen width
@yvonnetangsu Please have a review as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. Good choice on using the slick slider and thank you for using our existing resources. A few questions were left about the focus states and keyboard controls but overall this is functioning very well. I will let @yvonnetangsu bring her review for more feedback. One minor detail I noticed was that the gradient overlay on the next thumbnail gets lost on some mobile sizes after using the prev/next controls. Thanks.
@nplowman @sherakama This looks great. Nice job overall! I'll do a more in-depth review tomorrow, but here are a few suggestions for now:
|
All fixes should be implemented now, except for:
A few other notes:
|
@nplowman Thank you for the changes! I still owe you a more in-depth review (was in meetings all day, but I'll get to it today (thursday)).
More later today. Thanks in advance! |
…y thumbnails. Fixed focus state bug when closing modal with escape key. Added default focus when opening modal.
|
Thanks, @nplowman. All working great. |
@nplowman I checked with the team on the height jump issue. The decision is to hold off on making changes until we receive client feedback. Thanks! |
This is looking great. One more detail with the focus trap is that it should allow the end-user to tab into the comments to focus on links there. Right now it is just cycling through the three controls. |
@yvonnetangsu |
Updates are in review with Bhavika. |
@nplowman Tiny request - Could you please add some spacing above the "Close" button when it's in modal mode? (Probably matching the search modal spacing would be great) |
@yvonnetangsu Just pushed out a fix for the padding. Take a look and see what you think... |
@nplowman Good point, the gallery is a lot taller than the search bar. Please feel free to reduce the padding as you see fit. As long as there's a bit of space above the close button, it's totally fine. Thanks! |
{`${activeSlide + 1}/${blok.slides.length}`} | ||
<span className="sr-only">{`Slide ${activeSlide + 1} of ${blok.slides.length}`}</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Lyafel If you could please add similar sr-only
text to the Quote Slider counter like Nathan did here, that'd be awesome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And, if we could add an option to accommodate when this Gallery is placed in a section with the fog-light grey background color, that'd be awesome. It'd be nice for that thumbnail gradient to blend in for the fog-light background (currently works beautifully for white background).
I've added a "BackgroundColor" field to the component using the same data source that was being used on other components. If "fog light" is selected, the background of the overlay will also be adjusted appropriately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few comments - thanks, @nplowman !
…d color, CMS-controlled padding, reduce top padding for modal.
@nplowman Thank you for all the changes - perfect. I added a comment about Bhavika's gradient overlay request in the JIRA ticket. Also, are we going to go with having only 1 caption position option now (SODA recommendation)? If that decision is confirmed, then please remove that field in Storyblok. Thanks! |
One more - apologize about the comments trickling in like this. Last one for today, I promise 😂 For the Gallery width "Constrain Max Width" option, we need to move the Here's an example (here I'm moving the centered-container class to the parent "section" element and it seems to do the trick: Thanks, @nplowman ! |
@nplowman Thank you for the changes - I've tested all the use cases and they all look great to me. @bhavikasolanki might want a final look at the expand view changes. Please feel free to tag her for visual QA or I can ping her also. Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pre-approving, but Bhavika would probably want another look. @sherakama do you have anything to add?
… of caption/counter for modal. Decrease width for XS-MD breakpoints)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTG by me.
READY FOR REVIEW
Summary
Review By (Date)
Criticality
Review Tasks
Setup tasks and/or behavior to test
If testing locally....
If testing on Preview environment...
Go to: https://deploy-preview-192--adapt-giving.netlify.app/editor/?access_key=AKM65vSq8a6vf2HVvWH8zwtt&path=test-items/nathan/gallery-examples&_storyblok=46950529&_storyblok_c=page&_storyblok_tk%5Bspace_id%5D=78141&_storyblok_tk%5Btimestamp%5D=1619717366&_storyblok_tk%5Btoken%5D=039101236669104a2e5d5317b830d32bd36ba209&_storyblok_version=&_storyblok_lang=default&_storyblok_release=0
Front End Validation
Backend / Functional Validation
Code
Code security
General
Affected Projects or Products
Associated Issues and/or People
Resources
Notes