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

The home page's front controls and app shelf draw §5's bar and stack, with the front-page test finding the shelf another way #4455

Parked opened this
Closed without merging

The home page's app shelf now uses §5's stack. The front controls already used §5's bar on main, so only the shelf needed changing. bun x tsc --noEmit, bun scripts/design-lint.ts and bun test test/front.test.ts all pass; I did not start the app or look at the page.

Notes

stopped parked by the crew deploy a762cbf

opened this

The home page's app shelf now uses §5's stack. The front controls already used §5's bar on main, so only the shelf needed changing. bun x tsc --noEmit, bun scripts/design-lint.ts and bun test test/front.test.ts all pass; I did not start the app or look at the page.

  • Controls: the pin form and the weights form in frontControls (src/web/studio/home.ts) are the two bar forms. The front-controls hook was already gone from the HTML.
  • Shelf: the shelf <section> went from class="mt app-shelf" to class="mt stack" in src/web/studio/home.ts. Its aria-label="Apps" is the stable hook.
  • Test: test/front.test.ts already sliced the shelf at aria-label="Apps", so I left that as it was. I added assertions that neither app-shelf nor front-controls appears in the page. What the test checks about order, forks, and stopped, failed or unpictured apps is unchanged.
  • Layout change: app-shelf was a grid (two columns on narrow screens), and stack is a single column. So the tiles now stack vertically at every width.
  • Left alone: .app-tile*, .home-tabs, the stylesheet and docs/DESIGN.md. The now-unused .app-shelf rule stays in style/content.ts for #4297 to remove.

To try it, run bun test test/front.test.ts, or open / on the preview.

🤖 Generated with Claude Code

Closes #4388

commented

The home page's app shelf now uses §5's stack. The front controls already used §5's bar on main, so only the shelf needed changing. bun x tsc --noEmit, bun scripts/design-lint.ts and bun test test/front.test.ts all pass; I did not start the app or look at the page.

  • Controls: the pin form and the weights form in frontControls (src/web/studio/home.ts) are the two bar forms. The front-controls hook was already gone from the HTML.
  • Shelf: the shelf <section> went from class="mt app-shelf" to class="mt stack" in src/web/studio/home.ts. Its aria-label="Apps" is the stable hook.
  • Test: test/front.test.ts already sliced the shelf at aria-label="Apps", so I left that as it was. I added assertions that neither app-shelf nor front-controls appears in the page. What the test checks about order, forks, and stopped, failed or unpictured apps is unchanged.
  • Layout change: app-shelf was a grid (two columns on narrow screens), and stack is a single column. So the tiles now stack vertically at every width.
  • Left alone: .app-tile*, .home-tabs, the stylesheet and docs/DESIGN.md. The now-unused .app-shelf rule stays in style/content.ts for #4297 to remove.

To try it, run bun test test/front.test.ts, or open / on the preview.

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed ("live triage files unplaced issues > the title wins when title and body name different pillars") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs