[PR #6715] [PM-33516] feat: Create PlanScreen, PlanViewModel, and modal navigation #12955

Closed
opened 2026-04-11 03:54:37 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6715

State: closed
Merged: Yes


🎟️ Tracking

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

📔 Objective

Add the premium upgrade Plan screen with ViewModel, navigation, and full test coverage.

Screen features:

  • Pricing details card with rate/frequency header and feature list (built-in authenticator, emergency access, secure file storage, breach monitoring)
  • "Upgrade now" button that launches Stripe checkout via AuthTab
  • Waiting-for-payment dialog with go-back and cancel options
  • Checkout error dialog with retry
  • Automatic premium status detection via UserState flow — navigates back with snackbar on successful upgrade
  • Special circumstance handling for returning from checkout callback

Navigation:

  • Sealed PlanRoute with Standard (back arrow, bottom nav visible) and Modal (close icon, bottom nav hidden) variants
  • Modal destination registered in VaultUnlockedNavigation

📸 Screenshots

Figma Actual
**Original Pull Request:** https://github.com/bitwarden/android/pull/6715 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-33516 ## 📔 Objective Add the premium upgrade Plan screen with ViewModel, navigation, and full test coverage. **Screen features:** - Pricing details card with rate/frequency header and feature list (built-in authenticator, emergency access, secure file storage, breach monitoring) - "Upgrade now" button that launches Stripe checkout via AuthTab - Waiting-for-payment dialog with go-back and cancel options - Checkout error dialog with retry - Automatic premium status detection via UserState flow — navigates back with snackbar on successful upgrade - Special circumstance handling for returning from checkout callback **Navigation:** - Sealed `PlanRoute` with `Standard` (back arrow, bottom nav visible) and `Modal` (close icon, bottom nav hidden) variants - Modal destination registered in `VaultUnlockedNavigation` ## 📸 Screenshots | Figma | Actual | |--------|--------| |<img width="365" src="https://github.com/user-attachments/assets/4ef40797-2fd8-4359-a7ba-222b01bd2dd6" /> | <img width="365" src="https://github.com/user-attachments/assets/7e14c2d7-7da4-4b9a-b010-41318c28b23b" /> |
GiteaMirror added the pull-request label 2026-04-11 03:54:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12955