[PR #6698] [MERGED] [PM-33515] feat: Render premium upgrade banner in Vault UI #107002

Closed
opened 2026-06-03 13:13:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6698
Author: @SaintPatrck
Created: 3/19/2026
Status: Merged
Merged: 3/20/2026
Merged by: @SaintPatrck

Base: mainHead: premium-upgrade/PM-33515-vault-banner-ui


📝 Commits (5)

  • eb4ffa4 [PM-33515] feat: Render premium upgrade banner in Vault UI
  • b76d514 [PM-33515] feat: Add debug menu option to reset premium upgrade banner
  • b708ac5 Update premium upgrade action card styling and string resources
  • b84a8b5 Fix VaultScreenTest case mismatch and add DebugMenuScreenTest coverage
  • bd648d6 Standardize casing

📊 Changes

16 files changed (+194 additions, -9 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/data/platform/repository/DebugMenuRepository.kt (+5 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/data/platform/repository/DebugMenuRepositoryImpl.kt (+8 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuScreen.kt (+30 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuViewModel.kt (+10 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/VaultContent.kt (+13 -1)
📝 app/src/test/kotlin/com/x8bit/bitwarden/data/platform/repository/DebugMenuRepositoryTest.kt (+38 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuScreenTest.kt (+12 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuViewModelTest.kt (+10 -0)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/search/SearchScreenTest.kt (+1 -1)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendScreenTest.kt (+1 -1)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditScreenTest.kt (+1 -1)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemScreenTest.kt (+2 -2)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingScreenTest.kt (+1 -1)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/VaultScreenTest.kt (+56 -1)
📝 ui/src/main/res/values/strings.xml (+3 -1)
📝 ui/src/main/res/values/strings_non_localized.xml (+3 -0)

📄 Description

🎟️ Tracking

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

📔 Objective

Renders the premium upgrade BitwardenActionCard in the Vault screen when the user is eligible for a premium upgrade. Replaces the PM-33514 placeholder with a full composable implementation including:

  • Title: "Unlock advanced security features"
  • Subtitle: "A Premium plan gives you more tools to stay secure and in control."
  • CTA: "Upgrade to premium" (wired to existing actionCardClick handler)
  • Dismiss button (wired to existing dismissActionCardClick handler)

Screen tests cover banner display, CTA click, and dismiss interactions.

Debug Menu

Adds a debug menu option to reset the premium upgrade banner dismiss state, enabling QA to re-test the banner without clearing app data. Also organizes the debug menu with section headers for "Cookies" and "Premium".

📸 Screenshots

Comp Actual


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6698 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 3/19/2026 **Status:** ✅ Merged **Merged:** 3/20/2026 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `premium-upgrade/PM-33515-vault-banner-ui` --- ### 📝 Commits (5) - [`eb4ffa4`](https://github.com/bitwarden/android/commit/eb4ffa42129fe3a3613d18da8680341560edfbe1) [PM-33515] feat: Render premium upgrade banner in Vault UI - [`b76d514`](https://github.com/bitwarden/android/commit/b76d5141eeb2ae60d75f9778d03f926187ddd3fb) [PM-33515] feat: Add debug menu option to reset premium upgrade banner - [`b708ac5`](https://github.com/bitwarden/android/commit/b708ac5243983a1326873616862c1081d9bf2321) Update premium upgrade action card styling and string resources - [`b84a8b5`](https://github.com/bitwarden/android/commit/b84a8b5552f6342e73f9a2635ae805b63e265059) Fix VaultScreenTest case mismatch and add DebugMenuScreenTest coverage - [`bd648d6`](https://github.com/bitwarden/android/commit/bd648d6e24938b0c255ba41b057d3eebb4fe78f8) Standardize casing ### 📊 Changes **16 files changed** (+194 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/platform/repository/DebugMenuRepository.kt` (+5 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/platform/repository/DebugMenuRepositoryImpl.kt` (+8 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuScreen.kt` (+30 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuViewModel.kt` (+10 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/VaultContent.kt` (+13 -1) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/data/platform/repository/DebugMenuRepositoryTest.kt` (+38 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuScreenTest.kt` (+12 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuViewModelTest.kt` (+10 -0) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/platform/feature/search/SearchScreenTest.kt` (+1 -1) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendScreenTest.kt` (+1 -1) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditScreenTest.kt` (+1 -1) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemScreenTest.kt` (+2 -2) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingScreenTest.kt` (+1 -1) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/VaultScreenTest.kt` (+56 -1) 📝 `ui/src/main/res/values/strings.xml` (+3 -1) 📝 `ui/src/main/res/values/strings_non_localized.xml` (+3 -0) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-33515 ## 📔 Objective Renders the premium upgrade `BitwardenActionCard` in the Vault screen when the user is eligible for a premium upgrade. Replaces the PM-33514 placeholder with a full composable implementation including: - Title: "Unlock advanced security features" - Subtitle: "A Premium plan gives you more tools to stay secure and in control." - CTA: "Upgrade to premium" (wired to existing `actionCardClick` handler) - Dismiss button (wired to existing `dismissActionCardClick` handler) Screen tests cover banner display, CTA click, and dismiss interactions. ### Debug Menu Adds a debug menu option to reset the premium upgrade banner dismiss state, enabling QA to re-test the banner without clearing app data. Also organizes the debug menu with section headers for "Cookies" and "Premium". ## 📸 Screenshots | Comp | Actual | |--------|--------| | <img width="365" src="https://github.com/user-attachments/assets/5e793697-a6fb-4819-96e6-0b3ff6b13ad1" /> | <img width="365" src="https://github.com/user-attachments/assets/a4bd8d60-2d2c-4dfd-870e-48f48edfd8b7" /> | --- <img width="365" src="https://github.com/user-attachments/assets/a3d8532e-da25-4709-8d42-3f32f4cd0807" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-03 13:13:09 -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#107002