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-1608] Remove 'Update Pledge' From Manage Pledge Options Menu #2109

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

scottkicks
Copy link
Contributor

@scottkicks scottkicks commented Jul 31, 2024

📲 What

Removes 'Update Pledge' From Manage Pledge Options Menu

🤔 Why

Users will be able to manage and make changes to their pledge in the pledge redemption flow now, rendering this menu option redundant.

Taking this opportunity to clean it up.

🛠 How

When the menu options get collected in ManagePledgeViewModel.actionSheetMenuOptionsFor(...) we can filter out the .updatePledge option if the feature flag is on.

I added a TODO to remind us that we can remove this option from the options struct when the feature has completed and we start cleaning up the feature flag.

👀 See

Trello, screenshots, external resources?

flag off flag on
old new

✅ Acceptance criteria

  • when feature flag is on the update pledge option does not appear in the manage pledge popup sheet
  • when feature flag is off the update pledge option appears in the manage pledge popup sheet as normal

@scottkicks scottkicks self-assigned this Jul 31, 2024
@scottkicks scottkicks marked this pull request as ready for review July 31, 2024 16:03
@scottkicks scottkicks merged commit 6481d14 into main Jul 31, 2024
4 checks passed
@scottkicks scottkicks deleted the scott/mbl-1608/remove-update-pledge-menu-item branch July 31, 2024 19:24
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