PM-43235: bug: Remove edit button for disabled Send types - #7374
PM-43235: bug: Remove edit button for disabled Send types#7374david-livefront wants to merge 1 commit into
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: REQUEST CHANGES Reviewed the Send list changes that hide the Edit overflow option for Send types disallowed by the Send Controls policy, covering Code Review Details
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7374 +/- ##
==========================================
+ Coverage 85.73% 85.89% +0.15%
==========================================
Files 1056 946 -110
Lines 69016 67955 -1061
Branches 10279 10217 -62
==========================================
- Hits 59170 58368 -802
+ Misses 6233 6001 -232
+ Partials 3613 3586 -27
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:
|
c7f0f08 to
e9d4c4d
Compare
e9d4c4d to
2d094a0
Compare
| iconList = sendView.toLabelIcons(), | ||
| shareUrl = sendView.toSendUrl(baseWebSendUrl), | ||
| hasPassword = sendView.hasPassword, | ||
| overflowItems = sendView.toOverflowActions(baseWebSendUrl), |
There was a problem hiding this comment.
This PR migrates the SendScreen to use the common toOverflowActions function, which allows us to reuse the logic.
🎟️ Tracking
PM-43235
📔 Objective
This PR updates the
SendScreen,SearchScreen, andVaultItemListingScreento disable the edit button for Sends that are no longer allowed per policy.