Public: anyone can read this; the crew can change it.
Home tiles on a phone: thumbnails are 200×125 corner crops upscaled 1.8×, status badge stretches full width, hero CTA touches the grid #524
Closed 61d 20h ago
Home tiles now show the whole page instead of a corner crop, the status badge shrinks to its text, and the hero keeps a gap above the grid. The Playwright screenshot tests are not done. I ran test/home-tiles.test.ts, test/looks.test.ts, test/web-apps.test.ts and test/landing.test.ts, and they pass.
-
Reviews
No review yet.
-
Checks
stopped closed without shipping deploy 36680a2
-
History
- Merge main into the home tiles branch (#473) 36680a2
- Tokens as a unit people can feel: files, runs, issues and pulls carry a token count the way storage carries MB and GB (#554) 63af7f3
- Reviews are the bottleneck: reviewer runs fail on review anchors, count as failed for pushing nothing, and hold slots (#552) 70cca8f
- Fleet graph: the selection's spend and runs over time beside the table (#553) c5f0673
- The map under churn: closing a blocker as dropped frees what waited on it, and nothing says an issue was split, parked or dropped (#551) e2bcf8d
- /apps and the dashboard query once per row again: two N+1 guards are red (#503) 5a9851d
- Who told and who shipped: a change shows the agent that wrote it but not the person whose words it answers, and lands under neither together (#516) 1ae4db1
- An interrupted run is not a park: provider limits and outages must never strike an issue off the map (#463) ce31981
- A pushed style change is on the page at once: the stylesheet is content-addressed (#547) b48d9e5
- URGENT flaky gate: "the fork flow > a mirror whose git is not ready yet is fetched again, and lands" fails on most checks (#546) 122cba5
- A finished run must free its slot: close the session's stdin after the final result instead of idling to the 45-minute cap (#545) d13ceeb
- A "stop" decision must not outlive the red check that caused it: re-decide when the pull's head turns green (#544) c1a879f
- Every credential is a subscription — the platform token included — with a live spend breakdown by credential, app, agent and issue (#539) dbb6401
- The forge says why a rollout is blocked: /api/v1/health surfaces it and the board shows it (#540) a4b42b5
- Meter awake time and storage: per app and environment, the two quantities a forge charges for (#527) ffc20f7
- Every environment is dark for a minute after a restart: a boot deploy spends 59s before the app is even started (#535) 48e5496
- check.run reads its test files from scripts/check-files.txt (under the 1000-character limit); studio test follows the 640x400 thumb (#473) 6b69c3e
- Your apps, one line each: the studio home's rows and its empty state (#522) ec5e8b4
- A studio list with nothing in it blames a filter nobody set (#521) ca5220e
- The studio says an app is Autonomous when nobody is on its crew (#519) 19b4e25
3 earlier comments
Home tiles now use a half-size thumbnail of the whole desktop page, and the check config is short enough to run again.
What changed
- Thumbnail: it is the 1280×800 desktop window drawn at 0.5, so 640×400. The desktop picture is its 2× in
srcset. The badge shrinks and the hero clears the grid. These changes were already on the branch. - Check config:
forge.json'scheck.runwas over the 1000-character limit. The list of test files now lives inscripts/check-files.txt, andcheck.runreads it with$(cat scripts/check-files.txt). The same 43 files run, andforge.jsonis now 262 bytes. - Test fix:
test/studio.test.tsstill expected the old 200×125 thumb. The test was stale, not the code, so it now expects 640×400.
Checks
- Tests: I ran the full check-file set. 628 tests passed and one failed, the stale studio test above. I re-ran that test alone after the fix and it passes. I didn't re-run the whole set.
- Typecheck:
bun x tsc --noEmitdoesn't run in this sandbox because thebuntypes are missing. It is untested here, so the forge's check is the first real run.
Not done: I left the 117 test files outside the curated list alone.
Try it: open the home page on a phone-width window. Tiles show the whole page at half size.
🤖 Generated with Claude Code
I merged main into the branch and pushed. The local check is not fully green: one test fails, in code this pull doesn't touch.
What changed
- The only conflict was
forge.json'scheck.run. I took main's version, since main'sscripts/check.tsreads the command straight fromforge.json. - Because of that, I deleted
scripts/check-files.txt, which this pull had added for the same purpose. Nothing else referenced it. - The home-tile changes (thumbnails, badge, hero spacing) are unchanged.
Check result
bun scripts/check.ts passes tsc and 770 of 771 tests. The failure is test/board-windows.test.ts, "the board shows each window to an admin, and each app's efficiency". It expects "$0.40 spent, nothing shipped this week" on the board page and doesn't find it. This pull doesn't change the board, so I think it's a weekly-window or date issue on main. I didn't run it on a clean main checkout, so that isn't confirmed.
Home tiles now show the whole page instead of a corner crop, the status badge shrinks to its text, and the hero keeps a gap above the grid. The Playwright screenshot tests are not done. I ran
test/home-tiles.test.ts,test/looks.test.ts,test/web-apps.test.tsandtest/landing.test.ts, and they pass.tsc --noEmitcouldn't run here because thebuntype definitions weren't found, so the type check is untested. I also did not run the full check fromforge.jsonor look at the page in a browser.capture.tsgains an optionalscale, which sets Chromium's device scale factor.LOOK_VIEWPORTSinsrc/core/looks.tssays what window each look is taken in, andLOOK_SIZESis now the pixel size of the file.<img>getssrcset="thumb 1x, desktop 2x", using the existing desktop picture as the 2× variant. It is drawn withaspect-ratio: 8/5; object-fit: cover; object-position: top..app-tile-body .badgenow hasjustify-self: start..herohas a 32px bottom margin at every width.test/looks.test.tsis updated for the new capture sizes.test/home-tiles.test.tsis new and added to theforge.jsoncheck; it checks the thumb is the desktop window at half size and that the CSS has the cover, badge and hero-gap rules.Not done:
CLAUDE.md, and I didn't add Playwright as a dev dependency without a person's say. I asserted the CSS instead, which doesn't catch visual regressions. Someone should decide whether to allow Playwright as a dev-only dependency; I'd split the screenshot tests into their own issue.To try: deploy any app on this branch's preview, then open
/signed out on a 393px viewport.🤖 Generated with Claude Code
Closes #473