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

Move featured collection view all inline #3323

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

galenking
Copy link

PR Summary:

When "View all" if collection has more products than shown is enabled in the Featured Collection section, it currently shows below the grid of products. With headings and most elements left-aligned in Dawn, this usually feels out of place and is visually jarring. Depending on the theme settings, it also sometimes has no margin between the grid and the buttons.

Why are these changes introduced?

I believe it is more intuitive and user-friendly to have the “View All” button aligned with the heading. If no heading exists, don’t show.

What approach did you take?

Bare minimum re-arranging of code with a few CSS tweaks.

Visual impact on existing themes

CleanShot 2024-03-06 at 11 41 47@2x

Demo links

Checklist

@galenking
Copy link
Author

@tyleralsbury, any idea why my PR’s are being flagged with cla-needed?

@tyleralsbury
Copy link
Contributor

tyleralsbury commented Mar 6, 2024

@tyleralsbury, any idea why my PR’s are being flagged with cla-needed?

It looks like you haven't signed the CLA.

In the error message you can see:

Error: In order to merge this pull request, all contributors must sign [Shopify’s CLA](https://cla.shopify.com/).

- @shopify[bot]: [Sign the CLA](https://cla.shopify.com/) and comment "I have signed the CLA!" to re-run the checks and have your PR reviewed.

If you follow those steps, it should pass.

@galenking
Copy link
Author

@tyleralsbury, the weird thing is that I have signed the CLA. Just to be sure, I double-checked and when I attempt to sign, it says I have already signed 🤷‍♂️

@galenking
Copy link
Author

I have signed the CLA!

@tyleralsbury
Copy link
Contributor

Hm, weird. We'll need to take a look. Maybe something is acting up in how it's configured (suddenly).

@joshistoast
Copy link

I also signed the cla, but my recent pr still says I didn't.

@joshistoast
Copy link

Adding a toggle to move the slider arrows to be inline with the view all button would also be handy, given that's where most stores position it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants