Conversation
|
Claude finished @david-livefront's task in 3m 37s —— View job Overall Assessment: APPROVE This PR adds an image attachment preview feature, allowing users to tap vault item attachments to preview supported image formats (PNG, JPG, JPEG, GIF, WEBP, BMP) in a dedicated screen with pinch-to-zoom and pan gestures. Non-previewable file types display an informative error with a download option. The implementation introduces a new Code Review DetailsNo new findings. Previous review findings have been addressed by the developer. The one unresolved inline thread from SaintPatrck regarding adding |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6675 +/- ##
==========================================
- Coverage 85.80% 85.73% -0.07%
==========================================
Files 807 810 +3
Lines 57331 57738 +407
Branches 8362 8417 +55
==========================================
+ Hits 49193 49502 +309
- Misses 5220 5307 +87
- Partials 2918 2929 +11
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 (1)Checkmarx found the following issues in this Pull Request
|
app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/item/VaultItemScreenTest.kt
Dismissed
Show dismissed
Hide dismissed
72b29ac to
b4b87af
Compare
|
test read access |
|
Overall Assessment: REQUEST CHANGES Reviewed the new Preview Attachment feature across 21 changed files (1965 additions, 51 deletions). The architecture follows established Bitwarden patterns well (BaseViewModel UDF, navigation, screen/VM separation). Two issues need to be addressed before merge. Code Review Details
|
b4b87af to
ac3822c
Compare
...otlin/com/x8bit/bitwarden/ui/vault/feature/attachments/preview/PreviewAttachmentViewModel.kt
Outdated
Show resolved
Hide resolved
ac3822c to
215e226
Compare
...otlin/com/x8bit/bitwarden/ui/vault/feature/attachments/preview/PreviewAttachmentViewModel.kt
Outdated
Show resolved
Hide resolved
215e226 to
063ee14
Compare
...otlin/com/x8bit/bitwarden/ui/vault/feature/attachments/preview/PreviewAttachmentViewModel.kt
Outdated
Show resolved
Hide resolved
ui/src/main/kotlin/com/bitwarden/ui/platform/components/preview/ImagePreviewContent.kt
Show resolved
Hide resolved
063ee14 to
81bd3e2
Compare
...otlin/com/x8bit/bitwarden/ui/vault/feature/attachments/preview/PreviewAttachmentViewModel.kt
Show resolved
Hide resolved
ui/src/main/kotlin/com/bitwarden/ui/platform/components/content/BitwardenErrorContent.kt
Outdated
Show resolved
Hide resolved
81bd3e2 to
0bb64ac
Compare
...otlin/com/x8bit/bitwarden/ui/vault/feature/attachments/preview/PreviewAttachmentViewModel.kt
Show resolved
Hide resolved
ui/src/main/kotlin/com/bitwarden/ui/platform/components/content/BitwardenErrorContent.kt
Outdated
Show resolved
Hide resolved
f57df9a to
bcdecbd
Compare
01cef34 to
7ad52ee
Compare
| * The attachment file has been received saving. | ||
| */ | ||
| data class DownloadAttachmentReceive( | ||
| val result: DownloadAttachmentResult, |
There was a problem hiding this comment.
Can we go ahead and add errorMessage to DownloadAttachmentResult.Failure to handle the potential Cookie Redirect Exception?
|
Requesting |
7ad52ee to
a44ba4f
Compare


🎟️ Tracking
PM-25654
Community Forum
📔 Objective
This PR adds the Preview Attachment functionality to the
VaultItemScreen.📸 Screenshots
Screen_recording_20260316_093623.mp4