Repository navigation
#836 Store screenshots: 8-frame phone strip and capture fixes - #1141
Merged
Merged
Conversation
- The fixture server read the app's parentID=null as a literal parent id, so Home listed only the one running session. Root sessions list again, and project= and archived= filter as the app sends them. - Serve GET /api/worktree and give a worktree folder its own branch from /api/vcs, so Home shows worktree sessions under their project. - Fixture: add web-app and api-server with worktrees and running sessions, and give the code session a user message with an attached screenshot and a short reply with a small code block. - Both apps seed all four fixture projects under the profile name "Studio Mac". - Android closes the one-time What's new sheet if a fresh install shows it. - iOS frames the whole reply in the chat scene, as Android does.
A lone attachment on a user message stayed below the text, while iOS and Android galleries already sat above it. Attachments now move up with galleries.
The phone listings become eight frames, app screens alternating with graphics: Home, worktrees, Session Chat, composer shortcuts, Settings, languages, Changes, open source. Dark mode, IBM Plex Mono labels and Inter Tight captions on the app's Porcelain dark background. scripts/store-screenshots/strip/build.sh renders all eight at 1080x2160 and 1320x2868 from a store-screenshots capture folder: frame.html frames the four captures, graphics/*.html draws the four graphics. Tablet and iPad sets are unchanged.
Collaborator
Author
There was a problem hiding this comment.
Automated review: no finding that 2+ of 3 passes agreed on.
2 finding(s) from a single pass, not posted
scripts/store-screenshots/fixture-server.mjs:279medium: Archived-session filter checks a field the fixture never sets (deepseek-v4.1-flash)scripts/store-screenshots/fixture-server.mjs:199low: Worktree directory resolves to parent project, but diff/status endpoints still filter by the project's main directory (glm-5.3-flash)
opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.194
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Part of #836. This replaces the phone store screenshots with an 8-frame set, app screens alternating with graphics, and fixes the capture pipeline it needed.
The set (
test-screenshots/android_1_1…8.jpgat 1080×2160,ios_1_1…8.jpgat 1320×2868):scripts/store-screenshots/strip/build.sh <captures> <out>rebuilds all sixteen images from anpm run store:screenshotscapture folder:frame.htmlframes the four captures, andgraphics/*.htmldraws the four graphics.Capture pipeline fixes
parentID=nullas a literal parent id, so Home listed only the one running session. It now lists root sessions, and filters byproject=andarchived=.GET /api/worktree, and/api/vcsreturns a worktree's own branch, so Home shows worktree sessions asweb-app / fix-login.App fix: on Android, a single attachment on a sent message sat below the text. iOS, and Android galleries, already put attachments above it. It now moves up too, with a unit test.
This leaves #836 open: the tablet and iPad sets are unchanged,
copy.jsonheadlines are not updated, and nothing is uploaded to the stores. Frames 2, 4, 6 and 8 are graphics rather than the question, worktree sheet, composer and theme captures #836 lists.Checks
node --test scripts/store-screenshots/*.test.mjs(38 pass, 6 new):app:testDebugUnitTest --tests …SessionChatOutgoingContentTest(2 pass; one fails without the fix):app:ktlintCheck(no findings in the changed files)node scripts/check-hardcoded-text.mjs(0)Risks / Follow-ups
mainuntil that lands. Recapture from the release commit before uploading.adb shell pm clear dev.opencode.mobile).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.