You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][Mobile]: Can't quickly swipe left/right through multiple screenshots/videos from e2e test output #15508
Thanks for raising this, @Bulat-Gumerov. Reviewing a run with lots of artifacts one file at a time on mobile is definitely painful. From the code, this looks like a missing gallery rather than a broken swipe: the mobile full-screen preview is built to show a single file, so a horizontal swipe has nothing to page to. No recording needed to confirm it.
What I found
Android: chat images open through MediaImagePreview (apps/mobile/src/components/MediaImagePreview.tsx), which passes a one-element images array to react-native-image-viewing. FilePreview does the same. swipeToCloseEnabled is the vertical dismiss gesture; horizontal paging only exists in that library when more than one image is supplied, and nothing in the app collects sibling images.
iOS:FilePreview.ios.tsx presents a single URL through Quick Look, and T3NativeFilePresentation reports numberOfPreviewItems as 0 or 1, so Quick Look can't swipe to another file.
Videos: these open in VideoPreviewModal (apps/mobile/src/components/VideoPreviewModal.tsx), a separate full-screen player with no pager. Tapping an image in ThreadMarkdownImage passes only that image to setExpandedFile.
Desktop for comparison:markdownImageGallery collects <img> elements inside one .chat-markdown root, and ExpandedImageDialog moves between them with chevrons and arrow keys. Videos aren't included, and the scope is one message rather than consecutive tool outputs.
A mobile pager over the screenshots and videos in a run, built around MediaImagePreview / FilePreview / VideoPreviewModal and whatever collects the sibling attachments.
Open questions on scope: images in the same message only, or images and videos across consecutive tool outputs; and whether iOS keeps Quick Look (with multiple preview items) or shares a custom pager with Android.
I've labeled this as an enhancement since the current viewer is working as built. A maintainer will decide on the direction.
Activity
juliusmarminge commentedon Oct 4, 2026
Note
Grok responding on behalf of Julius.
Triage
Thanks for raising this, @Bulat-Gumerov. Reviewing a run with lots of artifacts one file at a time on mobile is definitely painful. From the code, this looks like a missing gallery rather than a broken swipe: the mobile full-screen preview is built to show a single file, so a horizontal swipe has nothing to page to. No recording needed to confirm it.
What I found
MediaImagePreview(apps/mobile/src/components/MediaImagePreview.tsx), which passes a one-elementimagesarray toreact-native-image-viewing.FilePreviewdoes the same.swipeToCloseEnabledis the vertical dismiss gesture; horizontal paging only exists in that library when more than one image is supplied, and nothing in the app collects sibling images.FilePreview.ios.tsxpresents a single URL through Quick Look, andT3NativeFilePresentationreportsnumberOfPreviewItemsas 0 or 1, so Quick Look can't swipe to another file.VideoPreviewModal(apps/mobile/src/components/VideoPreviewModal.tsx), a separate full-screen player with no pager. Tapping an image inThreadMarkdownImagepasses only that image tosetExpandedFile.markdownImageGallerycollects<img>elements inside one.chat-markdownroot, andExpandedImageDialogmoves between them with chevrons and arrow keys. Videos aren't included, and the scope is one message rather than consecutive tool outputs.Likely fix area
MediaImagePreview/FilePreview/VideoPreviewModaland whatever collects the sibling attachments.I've labeled this as an enhancement since the current viewer is working as built. A maintainer will decide on the direction.