[PR #4700] [MERGED] [PM-18082] Force incognito keyboard on input fields #5139

Closed
opened 2025-11-26 23:54:33 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/4700
Author: @SaintPatrck
Created: 2/6/2025
Status: Merged
Merged: 2/10/2025
Merged by: @SaintPatrck

Base: mainHead: force-incognito-keyboard


📝 Commits (3)

  • 8d7ba07 Force incognito keyboard on input fields
  • ea0c6b6 Hoisting new composable to BitwardenTheme
  • 787f129 Use param instead of lambda

📊 Changes

2 files changed (+49 additions, -2 deletions)

View changed files

app/src/main/java/com/x8bit/bitwarden/ui/platform/components/field/interceptor/NoPersonalizedLearningInterceptor.kt (+47 -0)
📝 app/src/main/java/com/x8bit/bitwarden/ui/platform/theme/BitwardenTheme.kt (+2 -2)

📄 Description

🎟️ Tracking

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

📔 Objective

Introduce IncognitoInput to force the keyboard into "Incognito Mode" for password fields and standard text fields, preventing personalized learning. NoPersonalizedLearningInterceptor has been added to achieve this.

BitwardenTextField, BitwardenPasswordField, and BitwardenHiddenPasswordField have been updated to include IncognitoInput.

📸 Screenshots

Before After
image image
image image

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 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/4700 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 2/6/2025 **Status:** ✅ Merged **Merged:** 2/10/2025 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `force-incognito-keyboard` --- ### 📝 Commits (3) - [`8d7ba07`](https://github.com/bitwarden/android/commit/8d7ba073c374bbc53823fdcb9ba1259c7f0fb184) Force incognito keyboard on input fields - [`ea0c6b6`](https://github.com/bitwarden/android/commit/ea0c6b632061d9d645f8dda9d02b868fd45aac61) Hoisting new composable to BitwardenTheme - [`787f129`](https://github.com/bitwarden/android/commit/787f129c1604231ad173a8607295d7d0880e390f) Use param instead of lambda ### 📊 Changes **2 files changed** (+49 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `app/src/main/java/com/x8bit/bitwarden/ui/platform/components/field/interceptor/NoPersonalizedLearningInterceptor.kt` (+47 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/ui/platform/theme/BitwardenTheme.kt` (+2 -2) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-18082 ## 📔 Objective Introduce `IncognitoInput` to force the keyboard into "Incognito Mode" for password fields and standard text fields, preventing personalized learning. `NoPersonalizedLearningInterceptor` has been added to achieve this. `BitwardenTextField`, `BitwardenPasswordField`, and `BitwardenHiddenPasswordField` have been updated to include `IncognitoInput`. ## 📸 Screenshots | Before | After | |--------|--------| | <img width="367" alt="image" src="https://github.com/user-attachments/assets/9b4b5598-91d1-4d38-a1dd-dd1b176ba5e1" /> | <img width="360" alt="image" src="https://github.com/user-attachments/assets/3a31a12a-0f52-42d4-b0fe-4f331fae782e" /> | | <img width="392" alt="image" src="https://github.com/user-attachments/assets/de857a42-23be-4e7d-94e3-137fa25608e5" /> | <img width="394" alt="image" src="https://github.com/user-attachments/assets/9f18a680-d701-4fd7-96f9-40e7082602cf" /> | ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <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 2025-11-26 23:54:33 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#5139