feat(mobile,ui-native): push a pull request's checks and files from rows on its page
Merged
DA
4d ago+356+356+012345678901234567890123456789-147-147-012345678901234567890123456789
What
Step (a) of STAG-3903, which Dean picked as GitHub-app style: on the iOS pull request page, Checks and Files changed become rows under the description, and each pushes a screen of its own.
- Checks row: the summary mark (failing, running or passing), then how many checks stand in each state, failures first, e.g. "1 failed · 1 running · 3 passed". It's built by the new
checksLineOfin@repo/features/pull-request-model. The row pushes a new Checks screen (…/pull/<ws>/<owner>/<name>/<number>/checks,iosPullRequestChecksRoute), which lists each check as the page used to: its mark, how long it ran, and the App that runs it, opening the run on GitHub. The bar's subtitle carries the same line. That screen follows only the checks part (usePullRequestParts(key, [CHECKS])). - Files changed row: pushes #10549's file list. When the page was opened from an agent, it shows "6 files · +212 −38" from the agent's listed PR. Otherwise it shows no count, and nothing reads the changes on open. The ⋯ menu's temporary Files changed item from #10549 is removed, as its author asked.
landedOf/failedOfmove to@repo/host/app-state-reads(landedAnswer,answerFailed), since two screens now use them. #10549's count line moves tochangesLinein@repo/features/changed-files, so the row and the file list's subtitle share it.- Maestro:
pull-request.yamlopens the failing PR's Checks row, shows the list (pull-request-checks) and goes back.pull-request-files.yamlopens Files changed from its row instead of the ⋯.
Stacked on #10549 (agent/feat/ios-pr-files-list). I'll retarget to main once it merges.
Checks
turbo run typecheck --filter=@repo/mobilepassed (with ui-native, features and host), and biome and oxlint are clean on the changed files.- No unit test added:
checksLineOfis a count-and-join. - No Swift changed. I'm asking the Mac queue for
pull-requestandpull-request-filesframes on the iPhone 18 Pro and the 27.2 iPad before merge.
🤖 Generated with Claude Code