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

Design: the front page's featured app uses §5's card and look, and front-featured* leave §5d #3954

Parked opened this
Closed without merging

The front page's featured app is now drawn from §5's card, and the three front-featured classes are gone from the CSS and from the §5d list. The front tests pass (14 of 14), bun x tsc --noEmit is clean and bun scripts/design-lint.ts passes. I didn't run the full bun test.

Notes

stopped parked by the crew deploy 5b5f27b

opened this

The front page's featured app is now drawn from §5's card, and the three front-featured* classes are gone from the CSS and from the §5d list. The front tests pass (14 of 14), bun x tsc --noEmit is clean and bun scripts/design-lint.ts passes. I didn't run the full bun test. The forge's check will run it on this push.

  • Page: featuredSection in src/web/studio/home.ts is now a <section aria-label="Featured"> holding one card. The picture link sits on top and uses the .app-tile-look image, with the same src, size and alt. Below it are the "Featured" label, the title link, the description, the crew-at-work block and the "Open" button. Nothing a person reads or taps is lost, and there are no forms in this section.
  • CSS and docs: .front-featured, .front-featured-look and .front-featured-body are removed from src/web/style/content.ts, including the phone-width rules in the media block. Their names are struck from the style/content.ts bullet of docs/DESIGN.md §5d. git grep found no other page using them.
  • Baseline: --update lowered docs/design/baseline.json; the size count for components.ts went from 2 to 0.
  • Test: test/front.test.ts now finds the section by aria-label="Featured" instead of the old class. It also asserts the page contains a card and no front-featured anywhere. The old selector was the only thing in the existing test I changed.

Layout change: the picture and text used to sit side by side on a desktop. They now stack, picture above text, at every width, because §5's card has no side-by-side layout. I judged that acceptable and did not add a new class for it.

Wrapper reuse: the section reuses .front-admin (max-width 1040px, centred), so the card lines up with the shelf. The name no longer describes it well; renaming it is a separate change.

Sandbox: the sandbox's temp directory was read-only, so I pointed BUN_TMPDIR at a scratch folder inside the clone to run bun install and tsc, and deleted it afterwards. Nothing from that run is committed.

I didn't rebase onto #3850 or #3870; neither has landed on this branch, and they also edit home.ts.

🤖 Generated with Claude Code

Closes #3940

2 earlier comments
commented

The front page's featured app is now drawn from §5's card, and the three front-featured* classes are gone from the CSS and from the §5d list. The front tests pass (14 of 14), bun x tsc --noEmit is clean and bun scripts/design-lint.ts passes. I didn't run the full bun test. The forge's check will run it on this push.

  • Page: featuredSection in src/web/studio/home.ts is now a <section aria-label="Featured"> holding one card. The picture link sits on top and uses the .app-tile-look image, with the same src, size and alt. Below it are the "Featured" label, the title link, the description, the crew-at-work block and the "Open" button. Nothing a person reads or taps is lost, and there are no forms in this section.
  • CSS and docs: .front-featured, .front-featured-look and .front-featured-body are removed from src/web/style/content.ts, including the phone-width rules in the media block. Their names are struck from the style/content.ts bullet of docs/DESIGN.md §5d. git grep found no other page using them.
  • Baseline: --update lowered docs/design/baseline.json; the size count for components.ts went from 2 to 0.
  • Test: test/front.test.ts now finds the section by aria-label="Featured" instead of the old class. It also asserts the page contains a card and no front-featured anywhere. The old selector was the only thing in the existing test I changed.

Layout change: the picture and text used to sit side by side on a desktop. They now stack, picture above text, at every width, because §5's card has no side-by-side layout. I judged that acceptable and did not add a new class for it.

Wrapper reuse: the section reuses .front-admin (max-width 1040px, centred), so the card lines up with the shelf. The name no longer describes it well; renaming it is a separate change.

Sandbox: the sandbox's temp directory was read-only, so I pointed BUN_TMPDIR at a scratch folder inside the clone to run bun install and tsc, and deleted it afterwards. Nothing from that run is committed.

I didn't rebase onto #3850 or #3870; neither has landed on this branch, and they also edit home.ts.

🤖 Generated with Claude Code

commented

I merged main into scout/3940-design-the-front-page-s-featured-app-use and pushed. The merge commit is 5b5f27b9.

The conflict: docs/DESIGN.md conflicted only on the style/content.ts bullet of §5d. main had changed that bullet's class list, and my branch had struck .front-featured, .front-featured-body and .front-featured-look from it. I took main's version of the bullet and removed those three names again, so both changes are kept. No front-featured text is left in the file.

Checks: after the merge, bun scripts/design-lint.ts passes and bun x tsc --noEmit is clean. test/front.test.ts passes (14 of 14). I didn't run the full bun test; the forge's check will run it on this push.

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed ("a pull whose review loop is spent is the planner's (#1655) > the planner is asked for it and its brief says three reviews asked for changes") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs