Skip to content

#836 Store screenshots: 8-frame phone strip and capture fixes - #1141

Merged
ivanfenenko merged 3 commits into
mainfrom
feature/836-store-screenshot-strip
Nov 29, 2026
Merged

ivanfenenko merged 3 commits into
mainfrom
feature/836-store-screenshot-strip

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

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.jpg at 1080×2160, ios_1_1…8.jpg at 1320×2868):

# Frame Caption
1 Home A native opencode client for iOS and Android
2 Graphic Create and remove worktrees, grouped under their project on Home
3 Session Chat Attach screenshots and read code in the chat
4 Graphic Shortcuts the composer understands
5 Settings Servers, themes and timeline style, in Settings
6 Graphic In your language
7 Changes Every changed file with its line counts
8 Graphic Open source under GPL-3.0, linked from the app's About screen

scripts/store-screenshots/strip/build.sh <captures> <out> rebuilds all sixteen images from a npm run store:screenshots capture folder: frame.html frames the four captures, and graphics/*.html draws the four graphics.

Capture pipeline fixes

  • The fixture server read the app's parentID=null as a literal parent id, so Home listed only the one running session. It now lists root sessions, and filters by project= and archived=.
  • It serves GET /api/worktree, and /api/vcs returns a worktree's own branch, so Home shows worktree sessions as web-app / fix-login.
  • The fixture has two more projects (web-app, api-server) with worktrees and running sessions. The code session now has a user message with an attached screenshot and a short reply with a small code block.
  • Both apps seed all four projects under the profile name "Studio Mac". Android closes the one-time What's new sheet on a fresh install. iOS frames the whole reply in the chat scene.

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.json headlines 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

  • iOS and Android both covered: captures and frames for both. The attachment fix is Android-only, and brings it in line with iOS.
  • Screenshots for UI changes: the frames are in the diff. The Session Chat frame (3) shows the attachment above the message on both platforms.
  • Tests run:
    • 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

  • The captures were taken from a local checkout that also had the unmerged outline-fade composer change and other work in progress, not from this branch. The composer in frames 3 and 7 may look slightly different from main until that lands. Recapture from the release commit before uploading.
  • Running the Android capture twice in a row reuses app data, so cached worktree branches can go stale. Clear the app data first (adb shell pm clear dev.opencode.mobile).
  • The capture script expects a simulator named "iPhone 16 Pro Max".

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

- 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.
@ivanfenenko

Copy link
Copy Markdown
Collaborator Author

Evidence for the Android attachment fix: Session Chat against the store fixture server.

Android before Android after iOS (unchanged)
Android before: attachment below the message Android after: attachment above the message iOS: attachment above the message

The before capture used the earlier, portrait fixture image. The after capture uses the final landscape image.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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:279 medium: Archived-session filter checks a field the fixture never sets (deepseek-v4.1-flash)
  • scripts/store-screenshots/fixture-server.mjs:199 low: 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

@ivanfenenko
ivanfenenko added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit fbbc434 Nov 29, 2026
19 checks passed
@ivanfenenko
ivanfenenko deleted the feature/836-store-screenshot-strip branch November 29, 2026 20:59
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.

1 participant