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

[MBL-1339] Include multiple copies of add-ons if selected #2027

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

ifosli
Copy link
Contributor

@ifosli ifosli commented Apr 4, 2024

📲 What

Send all copies of each reward to the backend. Note that this doesn't fix the bonus support being weird, but that matches a web bug that backend/web people are already working on.

👀 See

Jira

Before 🐛 After 🦋
Screenshot 2024-04-04 at 2 29 58 PM Screenshot 2024-04-04 at 2 32 31 PM
Screenshot 2024-04-04 at 2 30 06 PM Screenshot 2024-04-04 at 2 32 40 PM

✅ Acceptance criteria

  • Reward cards now match actual pledge
  • Total reward cost and total shipping cost is now correct in the pledge summary

@ifosli ifosli marked this pull request as ready for review April 4, 2024 21:25
@ifosli ifosli requested review from a team and scottkicks and removed request for a team April 4, 2024 21:25
return []
}
return [String](repeating: reward.graphID, count: count)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

might be a good idea to add a test for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Discussed offline - yeah, I'd be nice, but our test suite isn't designed to test that network calls are constructed correctly. So I'm going to just leave this for now.

@ifosli ifosli self-assigned this Apr 4, 2024
@ifosli ifosli merged commit 65768ec into main Apr 4, 2024
5 checks passed
@ifosli ifosli deleted the createCheckoutWithAllAddons branch April 4, 2024 22:05
scottkicks added a commit that referenced this pull request Apr 8, 2024
* Include multiple copies of add-ons if selected (#2027)

* Update marketing version to 5.14.0

---------

Co-authored-by: Scott Clampet <[email protected]>
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.

2 participants