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

[Header] Move 'Logo' to Global Theme settings #2083

Merged
merged 15 commits into from
Dec 12, 2022
Merged

Conversation

LucasLacerdaUX
Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX commented Nov 1, 2022

PR Summary:

Important: We moved “Logo” and “Logo width” settings from the header and password header sections to the global theme settings under the heading “Logo”. This update may cause a visual change to your logo.

Why are these changes introduced?

Moves logo to so it can be configured in a single place and used in multiple parts of the theme.
Fix #2090

Visual impact on existing themes

The header and password-header sections will no longer have different logo pickers. A single logo is now used across both section, with the same width setting. This may require merchants to make some adjustments to either their logo image or to the settings in these sections.

Testing steps/scenarios

  • Add a logo under Global Theme Settings
  • Update the maximum logo width on Global Theme Settings
  • Check if the changes are reflected on the Header section on the homepage
  • Check if the changes are reflected on the Header section on the password page

Demo links

Checklist

@danielvan
Copy link
Contributor

I have a few questions here around how this behaves. Will this new 'Global logo' impact only the password page header logo and the homepage header logo? In what other places, sections and blocks is this logo displayed and for those, would the merchant ever want two colors? (e.g. the logo in color, and the logo in reverse colors)

@LucasLacerdaUX
Copy link
Contributor Author

LucasLacerdaUX commented Nov 3, 2022

@danielvan It should only impact the header and password-header for now. Eventually, we may expand this setting to work on the gift-card template - which currently does not support the use of logos.

A downside of this decision, like you mentioned, is that the image now must have enough contrast with the color schemes being applied to both these sections. Our current use of logos is restricted to nearly identical contexts (headers) so we felt confident that this would not result in many issues for merchants.

For existing merchants, we will include a note in the release notes that they should review the password-header & header sections before publishing the updated theme, as only the main header logo will be carried forward. Let me know if you want to know additional context or want to 🍐 on this.

@LucasLacerdaUX LucasLacerdaUX marked this pull request as ready for review November 3, 2022 20:57
@melissaperreault
Copy link
Contributor

Hey! In the case that the logo lives in theme settings there is a new situation to prevent confusion for.

  • Let's discuss how we can improve the experience for when merchants are editing their Checkout. We might need some helper text to inform the logo is only displaying on their header and password page but not Checkout. We can have a situation where merchants wonder where is their logo since the setting lives in the side panel now among the Checkout preview as you navigate to that step. Video reference

@LucasLacerdaUX
Copy link
Contributor Author

LucasLacerdaUX commented Nov 4, 2022

@melissaperreault That's a really good point. We originally considered whether or not it should also apply to this page, but Checkout settings are not part of the theme so they cannot be combined. The idea is to keep all checkout settings separate.

I see value in including a help text to say where it's displayed so the merchant doesn't have to search for it, considering there's a "width" setting you might not know where it's applied to (cc @allylane).

As for the confusion in having duplicates: checkout settings also contain separate Accent & Button colors, Typography, etc, and we don't include a helper text on those theme settings to say they won't be reflected in checkout. Should we consider it for all these settings in this case, or do you think the Logo is more likely to cause confusion?

Checkout Settings:
image

@nicklepine
Copy link

nicklepine commented Nov 8, 2022

@LucasLacerdaUX Looks good!

  • Can you also move favicon under logo? - If you prefer doing this in its own PR, that's OK too.

  • The help text under Header section should be linking to Logo category in Theme Settings. Connect with @mattietea on this - he's introduced this ability with this PR

@melissaperreault
Copy link
Contributor

Should we consider it for all these settings in this case, or do you think the Logo is more likely to cause confusion?

It would be ideal in general that if we could present the Checkout settings panel in view/in context of what you can edit so you don't have a big learning curve that the logo, typography and colors of Checkout is made in a separate category in the panel. Might not be worth solving or adding extra content for now and monitor if merchants are more confused. It's true that it is already the case with colors and that we would need to look at this from a more global robust angle.

@nicklepine
Copy link

nicklepine commented Nov 9, 2022

Other small comments:

  • Could we label the logo picker "Logo" and not "Logo Image"? (Feedback from SLT)
  • Could we label the category "Logo" and not "Logo and Favicon"
    **
    image
    **

@sofiamatulis sofiamatulis self-assigned this Nov 10, 2022
@sofiamatulis sofiamatulis self-requested a review November 10, 2022 18:08
Copy link
Contributor

@sofiamatulis sofiamatulis left a comment

Choose a reason for hiding this comment

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

Looks great 🎉 Added a few comments

sections/header.liquid Show resolved Hide resolved
locales/en.default.schema.json Outdated Show resolved Hide resolved
Copy link
Contributor

@eugenekasimov eugenekasimov left a comment

Choose a reason for hiding this comment

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

Hey Lucas, all look good and work as expected. I left a minor comment and a couple of questions.

sections/header.liquid Outdated Show resolved Hide resolved
sections/header.liquid Outdated Show resolved Hide resolved
sections/header.liquid Outdated Show resolved Hide resolved
@allylane
Copy link
Contributor

Screenshot 2022-11-14 at 10 55 55 AM

Some settings get cut off when you have a portrait image uploaded.

@translation-platform
Copy link
Contributor

translation-platform bot commented Dec 6, 2022

We have received a translation request but there is a question blocking translation work. Your help is needed.

Please answer the following questions.

Warning
Replies in GitHub are not visible to translators. Use the provided "Answer here" links. 🙅‍♀️

  • Hi team, would you kindly confirm if this is an error in the source and "theme settings" should be left untranlsated? Thanks in advance. Answer here.
    "content": "Edit your logo in [theme settings](/editor?context=theme&category=logo)."

Note
Not your issue? Forward it to someone with more context; please don't leave it pending. 🙏
Questions? Hop in the #help-i18n-and-translation Slack channel.

@LucasLacerdaUX
Copy link
Contributor Author

LucasLacerdaUX commented Dec 8, 2022

@sofiamatulis @eugenekasimov I requested a new review now that translations have been pushed.

All the comments have been addressed :D

Copy link
Contributor

@sofiamatulis sofiamatulis left a comment

Choose a reason for hiding this comment

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

Looks great 🎉 Works as expected

Added one question

config/settings_schema.json Show resolved Hide resolved
Copy link
Contributor

@sofiamatulis sofiamatulis left a comment

Choose a reason for hiding this comment

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

Looks great 🎉

@LucasLacerdaUX LucasLacerdaUX merged commit 74b743c into main Dec 12, 2022
@LucasLacerdaUX LucasLacerdaUX deleted the logo-theme-settings branch December 12, 2022 18:52
TimmersThomas added a commit to TimmersThomas/shopify-template-houseofchocolate that referenced this pull request Dec 28, 2022
* shopify/main: (57 commits)
  Change sticky header settings (Shopify#2165)
  Image setting updates (Shopify#2148)
  Update 1 translation file (Shopify#2183)
  Update 2 translation files (Shopify#2182)
  Fix mega-menu vertical shadow issue (Shopify#2147)
  Update translations: buyer (Shopify#2180)
  Change product recommendations name to related products (Shopify#2161)
  Update 2 translation files (Shopify#2178)
  Add default text for cart-notification link (Shopify#2167)
  Update 1 translation file (Shopify#2177)
  Update 20 translation files (Shopify#2176)
  Update 1 translation file (Shopify#2174)
  Updates to collage settings and defaults (Shopify#2150)
  Update 1 translation file (Shopify#2173)
  Update issue templates
  Update layout label (Shopify#2164)
  Search ux improvements (Shopify#2127)
  Prettier all liquid files [part 2] (Shopify#2126)
  [Footer] Add 'Show policy links' setting (Shopify#2084)
  [Header] Move 'Logo' to Global Theme settings (Shopify#2083)
  ...
phapsidesGT pushed a commit to Gravytrain-UK/gt-shopify-dawn-theme that referenced this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🌐 Move Logo Pickers to Global Theme Settings
8 participants