Shopify / dawn

Shopify's first source available reference theme, with Online Store 2.0 features and performance built-in.
Other
2.53k stars 3.41k forks source link

UI Polish Review: Product Template (Part 2) #45

Closed nicklepine closed 3 years ago

nicklepine commented 3 years ago

Part 2

UI review findings (WIP)

Border on media

Settings

Modal layout

Large breakpoint

max-width: 100%; padding: 2rem 10rem 0;

top: 2.2rem;

Medium breakpoint (750px I believe)

max-width: 100%; padding: 2rem 11rem 0;

top: 2.2rem;

Mobile

No JS

A11y

General

Product modal

Variant picker

🎩 My review tasks

Note for myself; Quick list of things I am looking to review:

Validate the sizing of each media type with designers.

Suggestion from Ludo:

I wonder if maybe we could use a multiplier of the actual image width instead. The reason I say that is if I'm using a shitty image. That is going to make it very pixelated! So maybe if we grabbed the image.width | times: 2 it might be ok whatever the media you're using.

Interaction review

A11Y review

Navigation and links

Magnification and Responsive Design

Dynamic Content

fayskerritt1 commented 2 years ago

This code works fine for me by disabling the size (which is the second variant looped through) however it does not disable the colours when changing the size unless there are no sizes available at all. Is there a way to check which colours there are in the size that is selected?

To explain further using the below image as an example, when clicked on XS (which you can see is selected) how can we get the colours (the coloured variant images) to be disabled in the same way the sizes are when you click on colours.

image