Skip to content

[PM-36627] feat: Update upgraded to premium action card#2634

Merged
andrebispo5 merged 1 commit into
mainfrom
pm-36627/updated-premium-action-card-change
May 12, 2026
Merged

[PM-36627] feat: Update upgraded to premium action card#2634
andrebispo5 merged 1 commit into
mainfrom
pm-36627/updated-premium-action-card-change

Conversation

@andrebispo5
Copy link
Copy Markdown
Contributor

@andrebispo5 andrebispo5 commented May 12, 2026

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-36627

📔 Objective

Updates the "Upgraded to Premium" action card in the vault list:

  • Shortened message to "You now have access to all advanced security features."
  • Changed action button from "View plan details" (navigating to settings) to "Learn more" (opens bitwarden.com/help/password-manager-plans/)
  • Removes the now-unused viewPlanDetails localization strings, action, route, and coordinator case
  • Adds snapshot test for the upgraded to premium card state

📸 Screenshots

Screenshot 2026-05-12 at 10 37 46

- Replace "View plan details" button (navigating to settings) with "Learn more"
  button that opens the premium help page via ExternalLinksConstants.learnMoreAboutPremium
- Shorten card message to "You now have access to all advanced security features."
- Remove unused viewPlanDetails action, route, coordinator case, and localization strings
- Add snapshot test for upgraded to premium card state
@github-actions github-actions Bot added app:password-manager Bitwarden Password Manager app context app:authenticator Bitwarden Authenticator app context t:feature labels May 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

❌ Patch coverage is 42.10526% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.27%. Comparing base (d61c576) to head (9026d58).

Files with missing lines Patch % Lines
.../Vault/VaultList/VaultListView+SnapshotTests.swift 0.00% 8 Missing ⚠️
...hared/UI/Vault/Vault/VaultList/VaultListView.swift 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2634      +/-   ##
==========================================
- Coverage   87.31%   86.27%   -1.04%     
==========================================
  Files        1912     2137     +225     
  Lines      170379   184900   +14521     
==========================================
+ Hits       148759   159517   +10758     
- Misses      21620    25383    +3763     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrebispo5 andrebispo5 marked this pull request as ready for review May 12, 2026 11:41
Copilot AI review requested due to automatic review settings May 12, 2026 11:41
@andrebispo5 andrebispo5 requested a review from a team as a code owner May 12, 2026 11:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the “Upgraded to Premium” action card behavior in the Vault list by changing its messaging and switching the CTA from in-app navigation to opening an external help URL, while removing the now-unused internal route and related navigation/test coverage.

Changes:

  • Update the action card copy and replace “View plan details” with a “Learn more” button that opens https://bitwarden.com/help/password-manager-plans/.
  • Remove the .viewPlanDetails route and coordinator navigation/test that previously switched to Settings → Premium Plan.
  • Add processor test coverage for the new .learnMoreAboutPremium action and add a (disabled) snapshot test case for the upgraded-to-premium card state.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
BitwardenShared/UI/Vault/Vault/VaultRoute.swift Removes the .viewPlanDetails route from vault navigation.
BitwardenShared/UI/Vault/Vault/VaultList/VaultListView.swift Updates the upgraded-to-premium action card message and CTA to “Learn more” and sends the new action.
BitwardenShared/UI/Vault/Vault/VaultList/VaultListAction.swift Replaces viewPlanDetails with learnMoreAboutPremium action.
BitwardenShared/UI/Vault/Vault/VaultList/VaultListProcessor.swift Implements the new action by setting state.url to the external Premium plans help link and hiding the card.
BitwardenShared/UI/Vault/Vault/VaultList/VaultListProcessorTests.swift Updates unit test to verify URL opening state + card dismissal behavior.
BitwardenShared/UI/Vault/Vault/VaultCoordinator.swift Removes navigation handling for the deleted .viewPlanDetails route.
BitwardenShared/UI/Vault/Vault/VaultCoordinatorTests.swift Removes test for the deleted .viewPlanDetails navigation.
BitwardenShared/UI/Vault/Vault/VaultList/VaultListView+SnapshotTests.swift Adds a (disabled) snapshot test case covering the upgraded-to-premium card state.
BitwardenResources/Localizations/en.lproj/Localizable.strings Updates English strings: removes old “View plan details” / welcome text and adds the new shorter message.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 1081 to +1084
"YourUpgradeIsBeingProcessedDescriptionLong" = "Your upgrade is being processed. You'll remain on the free plan until it's complete. Sync now to check, or continue and it will update automatically.";
"UpgradedToPremium" = "Upgraded to Premium";
"YouNowHaveAccessToAdvancedSecurityDescriptionLong" = "You now have access to advanced security features. Learn more about what's included with Premium.";
"ViewPlanDetails" = "View plan details";
"WelcomeToPremiumYouNowHaveAccessDescriptionLong" = "Welcome to Premium! You now have access to all advanced security features.";
"YouNowHaveAccessToAllAdvancedSecurityFeatures" = "You now have access to all advanced security features.";
Copy link
Copy Markdown
Member

@fedemkr fedemkr left a comment

Choose a reason for hiding this comment

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

Looks good, but can this card be overlapped with any of the others on the main vault list? If so, what happens?

@andrebispo5
Copy link
Copy Markdown
Contributor Author

Looks good, but can this card be overlapped with any of the others on the main vault list? If so, what happens?

They stack up
image

@andrebispo5 andrebispo5 requested a review from fedemkr May 12, 2026 15:50
@andrebispo5 andrebispo5 merged commit 07d9486 into main May 12, 2026
27 checks passed
@andrebispo5 andrebispo5 deleted the pm-36627/updated-premium-action-card-change branch May 12, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:authenticator Bitwarden Authenticator app context app:password-manager Bitwarden Password Manager app context t:feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants