Skip to content

Modernize photo viewer#175

Merged
thestinger merged 19 commits into
GrapheneOS:mainfrom
RankoR-GOS:task/167-modernize-photo-viewer
Jul 12, 2026
Merged

Modernize photo viewer#175
thestinger merged 19 commits into
GrapheneOS:mainfrom
RankoR-GOS:task/167-modernize-photo-viewer

Conversation

@RankoR

@RankoR RankoR commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Replaces legacy photo viewer with a modern one.

image

@RankoR
RankoR requested review from inthewaves, m4pl and soupslurpr July 1, 2026 21:36
Comment thread src/com/android/messaging/ui/photoviewer/component/PhotoViewerTopBar.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/screen/PhotoViewerScreenEffects.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/component/PhotoViewerTopBar.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/screen/PhotoViewerScreenEffects.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/screen/PhotoViewerScreenEffects.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/PhotoViewerActivity.kt
Comment thread AndroidManifest.xml
Comment thread src/com/android/messaging/data/media/repository/PhotoViewerRepository.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/component/PhotoViewerTopBar.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/screen/PhotoViewerViewModel.kt Outdated
Comment thread src/com/android/messaging/ui/photoviewer/screen/PhotoViewerSystemBarsEffect.kt Outdated
@RankoR
RankoR force-pushed the task/167-modernize-photo-viewer branch from 1269171 to 4d55024 Compare July 8, 2026 21:52
@RankoR
RankoR requested review from inthewaves and m4pl July 9, 2026 20:46
Comment on lines +233 to +238
@Composable
private fun PhotoViewerBlurredBackground(
dismissDragState: PhotoViewerDismissDragState,
items: ImmutableList<MediaPreviewItem>,
pagerState: PagerState,
) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the blurred background could have a more smoother transition when switching:

Screen_recording_20260709_174113.mp4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see Google Messages for reference

@RankoR
RankoR force-pushed the task/167-modernize-photo-viewer branch from f6b06ec to 89cc882 Compare July 12, 2026 19:03
@RankoR
RankoR force-pushed the task/167-modernize-photo-viewer branch from 89cc882 to ccd411e Compare July 12, 2026 19:29
@inthewaves

Copy link
Copy Markdown
Member
> Task :app:detekt
Successfully generated markdown at file:///home/runner/work/Messaging/Messaging/app/build/reports/detekt/detekt.md
Successfully generated html at file:///home/runner/work/Messaging/Messaging/app/build/reports/detekt/detekt.html
Successfully generated sarif at file:///home/runner/work/Messaging/Messaging/app/build/reports/detekt/detekt.sarif
Successfully generated checkstyle at file:///home/runner/work/Messaging/Messaging/app/build/reports/detekt/detekt.xml
e: /home/runner/work/Messaging/Messaging/src/com/android/messaging/ui/conversation/messages/ui/message/ConversationMessageBubble.kt:1:1 File 'ConversationMessageBubble.kt' with '16' functions detected. The maximum allowed functions per file is set to '15' [TooManyFunctions]

@RankoR

RankoR commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

@inthewaves yep, there're also several other issues caused by rebase, fixing them now. Will re-request review when ready.

@RankoR
RankoR requested a review from inthewaves July 12, 2026 21:18
@thestinger
thestinger merged commit bc4b055 into GrapheneOS:main Jul 12, 2026
3 checks passed
@RankoR
RankoR deleted the task/167-modernize-photo-viewer branch July 13, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants