-
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
Quick Order Form scaffolding #3062
base: main
Are you sure you want to change the base?
Conversation
35599cf
to
4fb2bc5
Compare
* Quick Order Form scaffolding * [Refactoring] Replace loading spinner with snippet (#2996) * Change spinner for main-cart-items * Change spinner for cart-drawer * remove extra div and change classes * Replace spinner with snippet for pdp and fead prod * Remove unnecessary classes * Add comment for snippet * Change naming for files and css classes * Put back deleted elements * Remove unused classes * Put back loading-overlay for cases when no spinner * Chnage loading-overlay--error name * Minor change in CSS * Move loading-overlay styles to template-collection * Rename component-loading-overlay * Fix bug with overlay and spinner for facets * Remove component-loading-spinner import from files * Use spinner snippet for predictive search * Hide product count when loading for drawer filters * Address feedback. Clean-up. * Minor changes to address feedback * Fix spinner conflict with cart drawer * Address feedabck * Add missing whitespace for if tag * Quick Order Form scaffolding * Add styles to make form look according to Figma * Make sure QOL works properly * Styles for images * Remove price from product * Adjust css styles for the quick order form * Update section settings * Add filtering and search mockup * Remove settings for search and picking collections * Prevent being to added to all templates. Limit numer of the sections to 1. * Remove filter * Fix typo * Remove unnecessary styles and change px to rem * Simplify product title row * Roll back changes for quick-order-list-row * Add display flex to variant column for QOL * Remove empty row * Fix global settings for media * Add link to product title * Prevent border going over image size * Refactoring. Add hover effect while focusing. * Remove shadow from total bar * Fix visible empty space and outline for no-media * Remove unnecessary parameters for snippet * Minor changes in css * Remove hardcoded text * Update total bar count items and price * Change Product total to Subtotal. Add currency code. Fix shadow. * Change ID for quick-order-form search. Re order templates for enabled_on. --------- Co-authored-by: Sofia Matulis <[email protected]>
"label": "Show variant images" | ||
}, | ||
"show_sku": { | ||
"label": "Show SKUs" |
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.
Localization quality issue found
The following issues may affect the quality of localized translations if they are not addressed:
- The value
Show SKUs
for keysections.quick-order-form.settings.show_sku.label
is very short. Short strings are more likely to be misunderstood by translators without context. Please provide additional context for the translators if possible.
Please look out for other instances of this issue in your PR and fix them as well if possible.
Questions about these messages? Hop in the #help-localization Slack channel.
* Quick Order Form scaffolding * [Refactoring] Replace loading spinner with snippet (#2996) * Change spinner for main-cart-items * Change spinner for cart-drawer * remove extra div and change classes * Replace spinner with snippet for pdp and fead prod * Remove unnecessary classes * Add comment for snippet * Change naming for files and css classes * Put back deleted elements * Remove unused classes * Put back loading-overlay for cases when no spinner * Chnage loading-overlay--error name * Minor change in CSS * Move loading-overlay styles to template-collection * Rename component-loading-overlay * Fix bug with overlay and spinner for facets * Remove component-loading-spinner import from files * Use spinner snippet for predictive search * Hide product count when loading for drawer filters * Address feedback. Clean-up. * Minor changes to address feedback * Fix spinner conflict with cart drawer * Address feedabck * Add missing whitespace for if tag * Quick Order Form scaffolding * Add styles to make form look according to Figma * Make sure QOL works properly * Styles for images * Remove price from product * Adjust css styles for the quick order form * Update section settings * Add filtering and search mockup * Remove settings for search and picking collections * Prevent being to added to all templates. Limit numer of the sections to 1. * Remove filter * Fix typo * Remove unnecessary styles and change px to rem * Simplify product title row * Roll back changes for quick-order-list-row * Add display flex to variant column for QOL * Remove empty row * Fix global settings for media * Add link to product title * Prevent border going over image size * Refactoring. Add hover effect while focusing. * Remove shadow from total bar * Fix visible empty space and outline for no-media * Remove unnecessary parameters for snippet * Minor changes in css * Remove hardcoded text * Update total bar count items and price * Change Product total to Subtotal. Add currency code. Fix shadow. * Build mobile UI. Adjust desktop UI. * Quick Order Form: Follow Figma designs (#3072) * Quick Order Form scaffolding * [Refactoring] Replace loading spinner with snippet (#2996) * Change spinner for main-cart-items * Change spinner for cart-drawer * remove extra div and change classes * Replace spinner with snippet for pdp and fead prod * Remove unnecessary classes * Add comment for snippet * Change naming for files and css classes * Put back deleted elements * Remove unused classes * Put back loading-overlay for cases when no spinner * Chnage loading-overlay--error name * Minor change in CSS * Move loading-overlay styles to template-collection * Rename component-loading-overlay * Fix bug with overlay and spinner for facets * Remove component-loading-spinner import from files * Use spinner snippet for predictive search * Hide product count when loading for drawer filters * Address feedback. Clean-up. * Minor changes to address feedback * Fix spinner conflict with cart drawer * Address feedabck * Add missing whitespace for if tag * Quick Order Form scaffolding * Add styles to make form look according to Figma * Make sure QOL works properly * Styles for images * Remove price from product * Adjust css styles for the quick order form * Update section settings * Add filtering and search mockup * Remove settings for search and picking collections * Prevent being to added to all templates. Limit numer of the sections to 1. * Remove filter * Fix typo * Remove unnecessary styles and change px to rem * Simplify product title row * Roll back changes for quick-order-list-row * Add display flex to variant column for QOL * Remove empty row * Fix global settings for media * Add link to product title * Prevent border going over image size * Refactoring. Add hover effect while focusing. * Remove shadow from total bar * Fix visible empty space and outline for no-media * Remove unnecessary parameters for snippet * Minor changes in css * Remove hardcoded text * Update total bar count items and price * Change Product total to Subtotal. Add currency code. Fix shadow. * Change ID for quick-order-form search. Re order templates for enabled_on. --------- Co-authored-by: Sofia Matulis <[email protected]> * Add styles to make form look according to Figma * Make sure QOL works properly * Styles for images * Update section settings * Add filtering and search mockup * Remove settings for search and picking collections * Remove filter * Refactoring. Add hover effect while focusing. * Remove settings duplicate * Align spinner * Adjust indentation * Open product link in a new tab * Add theme check for filter * Prevent border going over image size * Adjust padding for the total bar * Minor adjustment for variable name * Remove theme-check-disable * Rename item_price to total_item_price_in_cart * Rename class for active state * Don't pass is_variant to snippet * Add if condition for image on product row * Change generic class name for more specific. * Change thumbnails sizes * Add accessibility message --------- Co-authored-by: Sofia Matulis <[email protected]>
"quick_order_form": { | ||
"search": "Search by product, variant or SKU", | ||
"search_number_items": "{{ count }} items", | ||
"line_total": "Line total", |
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.
Localization quality issue found
The following issues may affect the quality of localized translations if they are not addressed:
- The value
Line total
for keysections.quick_order_form.line_total
is very short. Short strings are more likely to be misunderstood by translators without context. Please provide additional context for the translators if possible.
Please look out for other instances of this issue in your PR and fix them as well if possible.
Questions about these messages? Hop in the #help-localization Slack channel.
"search": "Search by product, variant or SKU", | ||
"search_number_items": "{{ count }} items", | ||
"line_total": "Line total", | ||
"total": "Subtotal" |
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.
Localization quality issue found
The following issues may affect the quality of localized translations if they are not addressed:
- The value
Subtotal
for keysections.quick_order_form.total
is very short. Short strings are more likely to be misunderstood by translators without context. Please provide additional context for the translators if possible.
Please look out for other instances of this issue in your PR and fix them as well if possible.
Questions about these messages? Hop in the #help-localization Slack channel.
* Adjust font-size for compare at price * Adjust price font-size for mobile * Change soldout font-size. Remove hover on TAB. * Temporary change a product * Prevent hover on input container for the QOF * Add hover/highlighted state for error rows * Fix border bug in Safari * Fix hover state for error rows with CSS only * Change a product for rendering
PR Summary:
Scaffolding of the new section Quick Order Form
Figma: https://www.figma.com/file/CruV4wCdMmlovbE3GEs6WZ/Quick-order-form?type=design&node-id=971-19517&mode=design&t=XKCmQDFA85AmKwZq-0
Not to forget to address
We had a discussion about repetitive translations here. For now we have two strings that already exist in the Dawn:
Editor: https://admin.shopify.com/store/os2-demo/themes/157803020310/editor