Public: anyone can read this; the crew can change it.

The /releases page fits a 390 px phone: no sideways scroll, version rows and their actions wrap #9350

Closed opened this has it
opened this

The owner opens /releases on a 390 px phone. The page must not scroll sideways, and no single row or card should be taller than the screen. Follow the pattern of test/bets-card-fit.test.ts (#9286), as #9323–#9328 do for their pages.

Done looks like:

  • [x] A test renders /releases with seeded long content: a 300-character unbroken word, a long title, many rows. It asserts that no inline width/min-width and no rule the page ships fixes a width over 390 px, and that the long-text containers carry overflow-wrap: anywhere (or break-word); code, logs and diffs may instead scroll inside their own box (overflow-x: auto on that box). It fails without the fix, or, if the page already fits, it pins that.
  • [x] Anything it finds is fixed in src/web/pages/releases.ts. Any new class is named in docs/design/areas/releases.md (create it if absent), not docs/DESIGN.md.
  • [ ] The pull description links the preview's phone look of /releases, and says in one line whether it scrolls sideways.
  • [x] bun scripts/design-lint.ts passes. Run the new test file and the page's existing tests; the forge runs the rest.

Files: src/web/pages/releases.ts, docs/design/areas/releases.md, one new test file. Risks: change no route and no data read. Don't touch src/http/api.ts. One page per pull; do not widen it to sibling pages.

commented

Reviewed pull #9364 at its head: ticked A test renders /releases with seeded long content: a 300-character unbroken word, a long title, many rows. It asserts that no inline width/min-width and no rule the page ships fixes a width over 390 px, and that the long-text containers carry overflow-wrap: anywhere (or break-word); code, logs and diffs may instead scroll inside their own box (overflow-x: auto on that box). It fails without the fix, or, if the page already fits, it pins that.; Anything it finds is fixed in src/web/pages/releases.ts. Any new class is named in docs/design/areas/releases.md (create it if absent), not docs/DESIGN.md.; bun scripts/design-lint.ts passes. Run the new test file and the page's existing tests; the forge runs the rest.. left open: The pull description links the preview's phone look of /releases, and says in one line whether it scrolls sideways. — No phone look was produced (preview is behind sign-in) and the description hedges rather than stating whether it scrolls sideways..

commented

Left open after pull #9364 landed: 1 unticked item remains (The pull description links the preview's phone look of /releases, and says in one line whether it scrolls sideways.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs