Repository navigation
[PM-43222] fix: Add supporting text to password Send access option - #7682
andrebispo5 wants to merge 1 commit into
Conversation
The "Anyone with a password set by you" option in the Who can view drop-down had no supporting text, unlike the other access options. This also applies when an organization policy locks the option.
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds supporting text to the "Anyone with a password set by you" option on the add/edit Send screen. It makes Code Review DetailsNo findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7682 +/- ##
=======================================
Coverage 87.04% 87.04%
=======================================
Files 900 900
Lines 65786 65786
Branches 9498 9497 -1
=======================================
Hits 57265 57265
Misses 5035 5035
Partials 3486 3486
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the password-access guidance update.
No open issues 🎉
What changed in this PR
Adds missing password-access guidance to the add/edit Send screen, including when an organization policy requires password protection.
Changes:
- Adds the supporting-text string and makes
SendAuth.supportingTextnon-nullable. - Updates the chooser to render supporting text directly.
- Adds Compose assertions for password-selected and policy-enforced cases.
| File | Description |
|---|---|
ui/src/main/res/values/strings.xml |
Adds password-access guidance text. |
app/src/test/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendScreenTest.kt |
Checks guidance visibility in both cases. |
app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/model/SendAuth.kt |
Provides non-null supporting text for password access. |
app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/components/AddEditSendAuthTypeChooser.kt |
Removes nullable handling when rendering supporting text. |
Review effort: Balanced
🎟️ Tracking
PM-43222
📔 Objective
Adds the missing supporting text under the "Who can view" drop-down when "Anyone with a password set by you" is selected on the add/edit Send screen: "Individuals will need to enter this password to view this Send". This matches the other access options and the iOS fix (PM-43220).
SendAuth.Passwordnow provides supporting text, soSendAuth.supportingTextis non-nullable.:uiand Compose tests for both cases.📸 Screenshots
🤖 AI-assisted review
Standard local review (
code-review-local): APPROVE, no findings, none deferred.