-
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
Remove "hover" option for image zoom #2283
Conversation
@@ -1424,18 +1424,13 @@ | |||
"value": "lightbox", | |||
"label": "t:sections.main-product.settings.image_zoom.options__1.label" |
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.
Should we be removing the translations too? 🤔
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.
Ideally, we keep the translations. Similar to the dead code, it just makes our lives easier without causing any negatives.
The translation platform should have some memory of previous translations so that won't cause issues with time whenever we revisit it on the next release, BUT translation conflicts are a pain to deal with so let's just keep it there. There's not much negative in having some extra unused strings.
@@ -1424,18 +1424,13 @@ | |||
"value": "lightbox", | |||
"label": "t:sections.main-product.settings.image_zoom.options__1.label" | |||
}, |
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 guess this can be commented out or removed for now too 🤔 https://screenshot.click/03-58-akjn2-e2l2x.png
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 would say to keep it. It's okay if we're revisiting it soon.
As long as that condition will never be true, it's okay to leave some dead code in to save us some time when we fix this feature.
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.
👍
Remove "hover" option for image zoom (Shopify#2283)
PR Summary:
Removes the "hover" option from the Image Zoom settings.
Why are these changes introduced?
We discovered a bug where transparent PNG files would show the thumbnail image below the hovered image. We will remove the option for now and fix for a future release.
What approach did you take?
Comments out the option and the label (which is only relevant for hover).
Decision log
Visual impact on existing themes
NA
Testing steps/scenarios
Demo links
Checklist