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

Add Ships to: prefix for shipping summary pill #812

Merged
merged 4 commits into from
Aug 23, 2019

Conversation

justinswart
Copy link
Contributor

@justinswart justinswart commented Aug 22, 2019

πŸ“² What

Prefixes the non-localized summary string that we get back from the API with "Ships to:".

πŸ€” Why

We're working on improving the way that we show the shipping summary on the reward cell, this is an interim measure to make the messaging a little clearer on this pill.

πŸ›  How

  • Added the "Ships to: " prefix.
  • Updated tests.

πŸ‘€ See

Before πŸ› After πŸ¦‹
image image

βœ… Acceptance criteria

  • All shipping summary pills appear with Ships to: prefix.

return shippingSummary
return localizedString(
key: "Ships_to_shipping_summary",
defaultValue: "Ships to: %{shipping_summary}",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@ifbarrera ifbarrera left a comment

Choose a reason for hiding this comment

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

Lgtm! I'll take another look once the strings are updated.

Copy link
Contributor

@ifbarrera ifbarrera left a comment

Choose a reason for hiding this comment

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

Lgtm! Just rebase with master plz πŸ˜„

@justinswart justinswart merged commit 0fcc3a9 into master Aug 23, 2019
@justinswart justinswart deleted the shipping-pill-prefix branch August 23, 2019 17:11
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.

None yet

2 participants