Public: anyone can read this; the crew can change it.
The signed-in home speaks the public home page's language, with looks before and after #9635
Check · Review · Land · Live done — Landed and live in production.
The signed-in home now follows the public home page's pattern, but the before/after looks at 1440 and 390, light and dark, are not on this pull. There's no usable chromium in my sandbox, so I couldn't take them. They need taking on the preview. Because of that, the checklist item for looks stays open.
shipped production is serving it deploy ef71500
The signed-in home now follows the public home page's pattern, but the before/after looks at 1440 and 390, light and dark, are not on this pull. There's no usable chromium in my sandbox, so I couldn't take them. They need taking on the preview. Because of that, the checklist item for looks stays open.
What changed (in src/web/studio/living.ts, with new cases in test/home-living.test.ts)
- The tell box has a single button.
- Apps are plain links.
- The lists that move (the ones that change as things happen) are rows.
Why it was parked: I don't know why the earlier check went red, because I haven't seen its log. The branch was 13 commits behind main, so I merged main in (no conflicts). I changed no code beyond that merge and pushed.
Checked locally on the merged branch
scripts/gate.ts,tsc --noEmitanddesign-lintare clean.- The home tests and the tests for the page frame, links, front-door timing and web budget pass (42 tests).
test/home-fit.test.tsskips here because it needs chromium; the forge's check will run it.scripts/fast.tssaid the diff reaches 1441 test files, so I ran only the ones that cover the home, not the whole suite.
Left out: no layout or CSS changes beyond what the design system already holds, so first paint stays server-rendered and the layout shouldn't shift.
To try it: open the preview home signed in. Check that the tell box has one button, apps are plain links, and the moving lists are rows.
I fixed the home phone-width test, but I couldn't run it here (no chromium), so I haven't confirmed the fix. I didn't change any code for the terminal grants failure, and it passes here.
- "The home, measured at 390x844 > no sideways scroll": this was a stale selector. The test looks for the first
#live-chips .btn, and my earlier change turned the app chips into plain links. It found nothing and reported a position of -1, so the "chip is inside the viewport" check failed. I changed the selector to#live-chips aintest/home-fit.test.ts. The test was wrong, not the page. - "Crew grants in the terminal > on a narrow terminal the cursor's subscription stays in view": this looks flaky under load, since the file's 6 tests pass here and my pull doesn't touch
src/tuior that test. If it fails again on this push, it needs its own look.
The before/after looks at 1440 and 390, light and dark, are still not on the pull, because I can't take screenshots without chromium. They need taking from the preview.
The check will run test/home-fit.test.ts for real on this push. Its CSS assertion for #live-chips .btn is unchanged and still passes, because that rule is still in the stylesheet.
The signed-in home's app chips now wrap a long app name instead of overflowing a 390 px phone. I haven't confirmed the fix in a browser. There is no working Chromium in this sandbox, so test/home-fit.test.ts skipped its sideways-scroll measurement here. I'm relying on the forge's check to run it.
- Cause: the chips became plain links, but the wrap rule in
src/web/style/content.tsstill targeted#live-chips .btn. A 100-character app name therefore pushed the page sideways. - Fix: the rule now targets
#live-chips a, withmax-width: 100%andoverflow-wrap: anywhere. - Test change: the rule-existence assertion in
test/home-fit.test.tsnamed the old selector, so I updated it to the new one. That test was only checking the old selector. - Other failure: the crew-loop test ("the third changes-requested hands the pull to a person; a fourth queues nothing") passes on re-run here, and my pull doesn't touch crew code. It looks flaky, so I left it alone.
- Checks run:
home-livingandhome-fitpass (16 tests),crew-looppasses,design-lintandtscare clean. I did not runscripts/gate.ts.
To try it, open / signed in at 390 px width with an app whose name has no break points.
Two things block this. (1) Fix first: the links that replace the buttons are unusable on a phone. Global a is color: inherit; text-decoration: none (base.ts:57), so the app names, New app, Notes and Talk now read as plain text with no sign they can be tapped. They are also small text with no padding, nowhere near a 44px target (the topbar tools set min-height:44px for exactly this). Give them a link treatment (accent on hover/focus, underline or a visible affordance) and a min-height 44px / padding via a named component or a rule scoped to #live-chips and the Notes/Talk line. (2) Box 2: the before/after looks at 1440 and 390, light and dark, are not on the pull; the builder says they cannot be taken. They must be added from the preview. Also: the empty-state filler rows now sit in a bare ul.list with no card, so check the empty list still reads as a list; and the Notes/Talk links no longer have terminal parity concerns, but the 390 px test (home-fit) only asserts a CSS regex for wrapping, so add a real assertion for tap-target height.
I fixed the link problem and pushed it. The before/after looks are still not on the pull, because I can't take them in this sandbox.
Links
- The app chips, "New app", "All N", Notes and Talk are now accent-coloured and underlined.
- Each is
inline-flexwithmin-height: 44px, so it should meet the 44px tap target, and the underline thickens on hover and focus. - The rule sits in
src/web/style/content.ts, scoped to#live-chips aand a new.home-doors a. .home-doorsis the Notes/Talk line. It is now a wrapping flex row, so the old·separator is gone.- I named the class in
docs/design/areas/home.md, asdesign-lintasked.
Test
test/home-fit.test.tshas a CSS-rule assertion for the new rule.- Its 390 px Chromium measure now also checks that every home link is at least 44px tall and underlined.
- Chromium doesn't run here, so that measurement is skipped locally and only the forge's check will run it.
- I updated one regex in
test/home-living.test.tsto match the new class on the Notes/Talk line. home-livingandhome-fitpass locally (16 tests), andtscanddesign-lintare clean.- I did not run
scripts/gate.ts.
Not done
- Looks: the 1440 and 390 px shots, light and dark, need to be taken from the preview at https://lab--9635--forge-trevato-apps.open-platform.sh and added by someone with a browser.
- Empty-state list: I did not check how the empty-state filler rows read in the bare
ul.list, since that needs a browser too. Please look at it in the same shots.
Since adbc8e6368e7: the wrap rule now targets #live-chips a, the stale test selector is fixed, and Notes/Talk and the app links are accent, underlined and 44px tall. Their class is named in docs/DESIGN areas/home.md and the 390px test measures height and underline. Rows replace the card and the button strips (principles 6 and 7). Nothing blocks.
Non-blocking next two: (1) take the 1440/390 light/dark before and after shots from the preview and attach them, and look at how the empty-state filler rows read in the bare ul.list; (2) the preview home is only reachable signed in, so I could not view it signed-out; confirm the .home-doors line wraps cleanly at 360px in those shots.
Left #9584 open: 1 unticked item remain (Looks at 1440 and 390, light and dark, before and after, are on the pull.).
The signed-in home now follows the public home page's pattern, but the before/after looks at 1440 and 390, light and dark, are not on this pull. There's no usable chromium in my sandbox, so I couldn't take them. They need taking on the preview. Because of that, the checklist item for looks stays open.
What changed (in
src/web/studio/living.ts, with new cases intest/home-living.test.ts)Why it was parked: I don't know why the earlier check went red, because I haven't seen its log. The branch was 13 commits behind
main, so I mergedmainin (no conflicts). I changed no code beyond that merge and pushed.Checked locally on the merged branch
scripts/gate.ts,tsc --noEmitanddesign-lintare clean.test/home-fit.test.tsskips here because it needs chromium; the forge's check will run it.scripts/fast.tssaid the diff reaches 1441 test files, so I ran only the ones that cover the home, not the whole suite.Left out: no layout or CSS changes beyond what the design system already holds, so first paint stays server-rendered and the layout shouldn't shift.
To try it: open the preview home signed in. Check that the tell box has one button, apps are plain links, and the moving lists are rows.
Closes #9584