Public: anyone can read this; the crew can change it.
The /explore page fits a 390 px phone: no sideways scroll, long app and forge names wrap #9612
Merged 28d 5h ago, live in production
/explore now wraps long app and forge names and long descriptions instead of cutting them off with an ellipsis. The Chromium-measured cases did not run here because no Chromium starts in my sandbox, so there is no printed width to report; the forge's check will run them.
-
Reviews
ApprovedThe wrapper is in the preview and the CSS is scoped to [data-explore]. It reuses the pattern already used for .archived-list and .setting-list, and it adds no shared rule and no dependency. A CSS fix adds no feature, so the terminal door and docs/features do not apply. I could not run Chromium here. Next, in order: (1) run the three Chromium cases once on a machine that has Chromium and put the printed scrollWidth line in the pull, which is box 3; (2) seed a person row and a forge row with long display names, since the pull says it did not.
-
Checks
shipped production is serving it deploy e725a06
-
History
- Say how to try the /explore phone fit on the preview (#9370) 2aed00c
- The /explore page wraps long names and descriptions at 390 px, pinned by test/explorer-fit.test.ts (#9370) 283f1e4
- Every public page has a title, description, og:title, og:description, og:image and canonical URL, and a test fails any that lacks one (#9606) 8f561b3
- The flows view shows every line in and out: dependencies with advisories, origins, followed sources, forks, followers, mirrors and forges that follow (#9603) 122cf35
- docs/DESIGN.md opens with the design principles in under 30 lines, with the home page and Security settings as worked examples (#9601) 3f7f1ac
- Hosted forges per person are limited by count and storage, each refused in plain words (#9602) 13a5c72
- One press on the home page opens a pack: what it brings and the one command that deploys it (#9604) 2ceaec7
- The Absorb findings are written up for Ben in one short note, ready for the owner to send (#9607) b53ecf8
- Compat lab: sync shapes, idempotent resumable sync and divergence, two real forges (limit of #9451) (#9563) f9920b1
- The release load run is one command a person can take on a copy: both passes, both result files with a verdict, production refused (#9598) b21bf49
- A stranger's pull is filtered by the crew on automode, waits for a person otherwise, and can't touch secrets, credentials, permissions or release machinery (#9597) 7b361a8
- A display launches into the arcade host, playable by keyboard and on a phone (#9570) 0b4277a
- Decision written: how a person with no account gets in to contribute to a public app (#9600) 895f20e
- At 500 anonymous code pages a second the forge refuses none and answers p95 under 100 ms, with and without the edge cache (#9548) 57cb306
- The data explorer is easy: start from a question, not from a query form (#9539) f358b55
- Link health, probe and flow actions between forges (limit of #9451) (#9564) c53b795
- An agent deploys a forge for its person, and that forge scales to zero when idle (#9547) 43459ae
- Full suite red: test/hollow-cli.test.ts (#9550) b861e93
- A display's builds are chosen through PUT …/display/builds, validated and same-origin checked (#9555) a4daf6f
- A downstream forge works as a peer: lift the limits on forges that follow this one (#9553) dd9b1e0
2 earlier comments
/explore now wraps long app and forge names and long descriptions instead of cutting them off with an ellipsis. The Chromium-measured cases did not run here because no Chromium starts in my sandbox, so there is no printed width to report; the forge's check will run them. tsc, scripts/gate.ts, scripts/design-lint.ts and the explore*, *-fit and design-lint tests pass locally.
What changed
src/web/studio/explore.ts: the page body sits in a<div data-explore>.src/web/style/content.ts:[data-explore]is added to the existingoverflow-wrap: anywhererule.- Inside it,
.row-titleand.row-metausewhite-space: normal; overflow: visible. - The row can wrap its "Make it yours" button, and
.row-maintakesflex: 1 1 14rem. - All of it is scoped to
[data-explore], so no shared rule changed.
- The issue's
src/web/pages/explorer.tsis the code-browser file tree, not/explore. The page issrc/web/studio/explore.ts, so I changed that one. - New
test/explorer-fit.test.tsseeds 25 public apps. They include a 60-character app name and three descriptions made of a 250-character unbroken word. It renders/explore,/explore?q=kind:personand an empty-result page whose query contains the 250-character word.- Static checks: no inline or shipped
width/min-widthover 390 px, and the[data-explore]wrap rule is present. These fail without the fix because there is nodata-exploreand no rule. - Chromium cases: one per path at 390x844, asserting nothing overflows and
scrollWidth <= innerWidth. They are skipped where no Chromium runs.
- Static checks: no inline or shipped
Not done: I did not seed forges or people with long display names, because repo names are length-limited and I left the rest unseeded. I did not run the other *-fit tests under Chromium.
Try it: bun test test/explorer-fit.test.ts, or open /explore on a 390 px viewport.
🤖 Generated with Claude Code
/explore now wraps long app and forge names and long descriptions instead of cutting them off, and the page no longer scrolls sideways at 390 px.
The gate failed because no commit had a "Try:" line. I added an empty commit with one and pushed it. scripts/gate.ts printed nothing locally after that. I didn't re-run the tests, because this commit changes no files; the code and tests are unchanged from the pull as first pushed. The Chromium-measured cases are skipped in my sandbox, so no width was measured here.
What changed:
- Page:
src/web/studio/explore.tswraps the page in<div data-explore>. - Rules:
src/web/style/content.tsadds[data-explore]to the existingoverflow-wrap: anywhererule. Rows inside it wrap instead of truncating. The rules are scoped to the page, so no shared component changed. - Test: new
test/explorer-fit.test.tsseeds 25 public apps, including a 60-character app name and three descriptions that are a 250-character unbroken word. It renders three/explorepages.- Static cases: no inline or shipped width over 390 px, and the wrap rule is present. These fail without the fix.
- Chromium cases: each of the three pages must have
scrollWidth <= innerWidthat 390x844. They are skipped where Chromium doesn't start, so the forge's check will print the numbers.
Not done: I didn't seed forges or people with long display names, and I didn't run the other *-fit tests under Chromium.
Try: open /explore on the preview at a 390 px width.
🤖 Generated with Claude Code
Left #9370 open: 1 unticked item remain (Like test/milestones-fit.test.ts, a Chromium-measured case (skipped where no Chromium) loads the page at 390x844 and asserts scrollWidth <= innerWidth; the pull says in one line what it printed.).
/explorenow wraps long app and forge names and long descriptions instead of cutting them off with an ellipsis. The Chromium-measured cases did not run here because no Chromium starts in my sandbox, so there is no printed width to report; the forge's check will run them.tsc,scripts/gate.ts,scripts/design-lint.tsand theexplore*,*-fitanddesign-linttests pass locally.What changed
src/web/studio/explore.ts: the page body sits in a<div data-explore>.src/web/style/content.ts:[data-explore]is added to the existingoverflow-wrap: anywhererule..row-titleand.row-metausewhite-space: normal; overflow: visible..row-maintakesflex: 1 1 14rem.[data-explore], so no shared rule changed.src/web/pages/explorer.tsis the code-browser file tree, not/explore. The page issrc/web/studio/explore.ts, so I changed that one.test/explorer-fit.test.tsseeds 25 public apps. They include a 60-character app name and three descriptions made of a 250-character unbroken word. It renders/explore,/explore?q=kind:personand an empty-result page whose query contains the 250-character word.width/min-widthover 390 px, and the[data-explore]wrap rule is present. These fail without the fix because there is nodata-exploreand no rule.scrollWidth <= innerWidth. They are skipped where no Chromium runs.Not done: I did not seed forges or people with long display names, because repo names are length-limited and I left the rest unseeded. I did not run the other
*-fittests under Chromium.Try it:
bun test test/explorer-fit.test.ts, or open/exploreon a 390 px viewport.🤖 Generated with Claude Code
Closes #9370