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

[Gift card] Follow up tasks #2454

Open
7 of 11 tasks
ludoboludo opened this issue Mar 21, 2023 · 7 comments
Open
7 of 11 tasks

[Gift card] Follow up tasks #2454

ludoboludo opened this issue Mar 21, 2023 · 7 comments
Assignees
Labels
Category: Accessibility Bugs found while using assistive technology Category: Bug Something isn't working #gsd:30619 Gift Card recipient details Severity: 4

Comments

@ludoboludo
Copy link
Contributor

ludoboludo commented Mar 21, 2023

Follow ups opportunities

Higher priorities

Lower priority

Version information (Dawn, browsers and operating systems)

  • Dawn Version: 8.0.0
  • Chrome Version 108.0.5359.124
  • macOS Version 13.1
@ludoboludo ludoboludo added the Category: Bug Something isn't working label Mar 21, 2023
@antiBaconMachine
Copy link
Contributor

#2458 First crack at A11y improvements for collapsible recipient form

@kmeleta
Copy link
Contributor

kmeleta commented Mar 29, 2023

Also noticed we're not using pointer cursor for the checkbox and we probably should be (our other custom checkboxes do)

@ludoboludo ludoboludo self-assigned this May 10, 2023
@kimberlyoleiro kimberlyoleiro added Category: Accessibility Bugs found while using assistive technology Severity: 4 labels May 18, 2023
@andy-polhill andy-polhill added the #gsd:30619 Gift Card recipient details label May 22, 2023
@mzarud
Copy link
Contributor

mzarud commented May 22, 2023

@ludoboludo Can you remind us what this point was referring to?

Add the checkbox/feature to the featured product section

@ludoboludo
Copy link
Contributor Author

@ludoboludo Can you remind us what this point was referring to?

Add the checkbox/feature to the featured product section

Wondering if we were wanting to support that checkbox/workflow to send a gift card to someone for the featured product section.
Looks like Fred created a PR for it 👍

@ludoboludo
Copy link
Contributor Author

@mzarud I've added another point that we weren't tracking in the issue:

  • Translate the attributes used that are displayed in the cart (screenshot). This might be a tricky one to tackle.

Just FYI

@shawnr42
Copy link

shawnr42 commented Nov 15, 2023

Since we know the property names in English and that they are static, I used a Case/When to handle the translations on the cart page.

It's not pretty, but it's effective.

{% case property.first %}
{% when "Recipient email" %}
  {% assign property_label = 'recipient.form.email_label' | t %}
{% when "Recipient name" %}
  {% assign property_label = 'recipient.form.name_label' | t %}
{% when "Message" %}
   {% assign property_label = 'recipient.form.message_label' | t %}
{% when "Send on" %}
  {% assign property_label = 'recipient.form.send_on_label' | t %}
{% else %}
  {% assign property_label = property.first %}
{% endcase %}

<div class="product-option">
  <dt>{{ property_label }}:</dt>
...

@poblolo
Copy link

poblolo commented Nov 22, 2023

The issue with this approach is that the properties will only be translated in the cart and not at checkout see screenshot. It may still be okay as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Accessibility Bugs found while using assistive technology Category: Bug Something isn't working #gsd:30619 Gift Card recipient details Severity: 4
Projects
None yet
Development

No branches or pull requests

8 participants