PM-34499: bug: Add appropriate external link callouts for attachments#6752
PM-34499: bug: Add appropriate external link callouts for attachments#6752david-livefront merged 1 commit intomainfrom
Conversation
|
Claude finished @david-livefront's task in 1m 28s —— View job 🤖 Bitwarden Claude Code ReviewOverall Assessment: ✅ APPROVE This is a clean, well-structured PR. The previous typo finding ( Summary of changes:
No findings — all previous review comments have been addressed. |
| isExternalLink: Boolean = false, | ||
| contentColor: Color = BitwardenTheme.colorScheme.icon.primary, | ||
| ) { | ||
| val formatedContentDescription = if (isExternalLink) { |
There was a problem hiding this comment.
♻️ DEBT: Typo in variable name — formated should be formatted to match codebase convention
Details and fix
Every other component in the codebase uses formattedContentDescription (e.g., BitwardenOutlinedButton, BitwardenFilledButton, BitwardenTextRow). This should be consistent.
| val formatedContentDescription = if (isExternalLink) { | |
| val formattedContentDescription = if (isExternalLink) { |
There was a problem hiding this comment.
Claude finished @david-livefront's task in 41s —— View job
Typo fix verified
- Verify the typo fix in
BitwardenStandardIconButton.kt
Confirmed — formattedContentDescription is now used consistently on lines 73 and 83. Looks good, thanks for the quick fix! 👍
| IconButton( | ||
| modifier = modifier.semantics(mergeDescendants = true) { | ||
| this.contentDescription = contentDescription | ||
| this.contentDescription = formatedContentDescription |
There was a problem hiding this comment.
♻️ DEBT: Second occurrence of the typo — update to match the renamed variable.
| this.contentDescription = formatedContentDescription | |
| this.contentDescription = formattedContentDescription |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6752 +/- ##
==========================================
- Coverage 85.92% 85.70% -0.22%
==========================================
Files 846 817 -29
Lines 59070 58080 -990
Branches 8513 8504 -9
==========================================
- Hits 50754 49776 -978
+ Misses 5364 5354 -10
+ Partials 2952 2950 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
New Issues (129)Checkmarx found the following issues in this Pull Request
|
713c3fd to
a322cc4
Compare
|
Thanks @SaintPatrck |


🎟️ Tracking
PM-34499
📔 Objective
This PR adds accessibility callouts for external links in the Attachments UI.