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-1714] "Estimated Shipping" Showing When There's No Estimated Shipping #2151

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

scottkicks
Copy link
Contributor

@scottkicks scottkicks commented Sep 6, 2024

📲 What

see jira ticket

🤔 Why

Estimated shipping views should only show when appropriate. Otherwise, it should be entirely hidden.

🛠 How

The output in charge of hiding the estimated shipping stackview wasn't completing because there isn't a selected shipping rule when opening the manage pledge flow

I've also updated the estimated shipping text helpers to return String? instead of String to make that clearer.

👀 See

Simulator Screen Recording - iPhone 15 Pro 17 5 - 2024-09-06 at 14 44 19

✅ Acceptance criteria

  • Estimated shipping stackview only shows when there is shipping data to display.

…tput can complete

* also updates helper functions so that they return String? instead of String
@scottkicks scottkicks marked this pull request as ready for review September 9, 2024 16:35
@scottkicks scottkicks merged commit 4e457a2 into main Sep 9, 2024
5 checks passed
@scottkicks scottkicks deleted the scott/redemption/estimated-shipping-label-fix branch September 9, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants