-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add mobile/tablet grid settings #1352
Conversation
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 leaving a couple quick comments about the grid naming/media query patterns. Mostly to outline my thinking and see if anyone else has strong feelings. Might sleep on it.
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.
Leaving a few comments, it doesn't seem to work everywhere as expected.
Hey Sofia, I think these sections should have a Featured Collection section
Collection list section
Product recs
Search Results page
Multicolumn section
Blog section
Collection page
|
@katycobb All content / order has been updated :) Let me know if it looks good and I will request translations |
Looks good, thanks! |
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.
Couple notes on the code. Happy to huddle if I'm being verbose and confusing 😅
I noticed that besides the Why is this weird? In this video, you will see that featured collection has slider on tablet and mobile but multicolumn doesn't (only mobile): https://screenshot.click/16-41-vp7zq-l6ytf.mp4 I dont think this should be changed on this PR but in a follow up since it's existing on |
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.
Did a brief check of the affected sections and it seems like things are working well. Couple more code comments though.
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.
Couple more small code comments
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 think other than what I added as comment, it seem pretty good and almost ready to go 👍
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.
Damn 1 columns does look big on tablet 🤔
But the rest looks good, I think it's shippable! 🎉
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.
mmm I may agree with Ludo. Maybe we can discuss it again with UX at some point. For now though
I am currently upgrading our demo store to the newest version and noticed this too; I agree do believe the 1 column on Tablet is way too much. I'll follow up with next steps for this one! 🙏 |
Why are these changes introduced?
Adds grid settings for mobile and tablet. The options are only 1 or 2 columns for both. Because we have been using the
mobile
language in the labels even when affecting tablet, we are keeping the language consistent.Because there are only two options, we can't use the range, so we are using the select dropdown instead.
What approach did you take?
I am using the existing tablet classes and adding a new setting
columns_mobile
to dictate how many columns we will need on tablet/mobileOther considerations
Testing steps/scenarios
Blog sectionenable swipe on mobile on
Demo links
Please include a link to a demo store that includes preconfigured sections and settings to allow reviewers to easily test the features you are working on.
Checklist