feat(mobile,ui-native): fold a long pull request description behind Show more

Merged
DA
4d ago
+124-4

What

Step (b) of STAG-3903. On iOS, a pull request's description stays inline above the Checks and Files changed rows. A long one stands folded, the way GitHub's app folds a long body, so the rows and the conversation below stay a short scroll away.

  • When it folds: over 12 lines with words, or over 900 characters. descriptionFolds in @repo/features/pull-request-model decides this from the Markdown alone, so nothing is measured before the page draws.
  • How it looks folded: WordsRow takes a new folded prop. The words stand about twelve body lines tall (264 pt, scaled with Dynamic Type) and fade into the ground at the foot. They're laid out whole and cut by their frame, so no Markdown block is split.
  • Show more / Show less: a LinkRow under the words opens it whole and folds it back. SHOW_MORE_WORDS sits beside SHOW_LESS_WORDS in @repo/features/words.
  • Fixture and flow: the fixture's queued pull request (#126) now carries a long description. pull-request.yaml shows it folded (pull-request-description-folded) and open (pull-request-description-open).

Stacked on #10552, which is stacked on #10549.

Checks

  • turbo run typecheck --filter=@repo/mobile passed.
  • biome and oxlint are clean.
  • vitest run packages/host/src/fixture-pull-requests.test.ts passed.
  • No Swift changed. Frames will come from the Mac queue with #10552's lane.

šŸ¤– Generated with Claude Code