-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 a "Show separator lines" option to the footer #1776
base: main
Are you sure you want to change the base?
Conversation
Judging by the failed |
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.
Looking good 👌 Added a few comments
.footer:not(.color-background-1) { | ||
border-top: none; | ||
} |
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.
This means that it would have a visual impact on merchants' stores potentially where if they were using a background-1
color scheme
it would hide the separator lines. Or the other way around if we set them to true
by default.
So any merchant using a color scheme
other than background-1
will now get some separator lines showing.
Not a big issue, just wanting to flag this as something that we will need to be aware when doing new releases.
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.
Ah, good call. I missed that. Restored in 3ef6fe6
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 it shouldn't have the :not(.color-background-1)
part in the selector 🤔
Otherwise when I have a background footer I don't have a border top on the footer:
Sorry if what I mentioned was not clear.
I just meant that this will have a visual impact on their store most likely but that it's ok. It's going to be part of this update 👍
It will be something to keep in mind for us devs next time we do releases and set the show separator lines
according to each theme we have. So that for the ones that have a footer not using color-background-1
we will set that new setting to false
to keep it similar to before.
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.
Ah okay. Hmm. I'll revert that last commit for now then.
It's a tough one — I don't think it's great to make changes to users' existing sites, but I also think that the visual change makes a lot of sense in the context of the new control. 🤔
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 agree. Sometimes there is no other option than having a visual change to be able to provide more control. 👍
Co-authored-by: Ludo <ludo.segura@shopify.com>
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.
Looks good to me 👌 🙂
I just reverted the incorrect labels that I'd manually added in 51940de, back before I understood how translations work. Should be ready for the real translations now. 😅 |
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.
🚀
Hey team, The probot-CLA was recently deprecated and replaced with the shopify-cla action. To successfully use the new shopify-cla status check, this PR will be closed and reopened. Thanks and sorry for the minor inconvenience. Message me if you have any questions 😄 Please refer to the following for more information: |
PR Summary:
Added a "Show separator lines" option to the footer.
Why are these changes introduced?
We currently offer this option in the header, but we do not offer it in the footer. This feels inconsistent. 🙂
What approach did you take?
Other considerations
I'd love feedback on these three items specifically:
Testing steps/scenarios
Checklist