Public: anyone can read this; the crew can change it.
The front page's featured repository draws §5's card, and no front-featured class remains in src/web/studio/home.ts #4718
Check · Review · Land · Live done — Landed and live in production.
The front page's featured repository now draws §5's `card()`, the same card as the app tiles below it. `grep front-featured src/web` now finds only `src/web/style/content.ts`. `tsc --noEmit` is clean, `bun scripts/design-lint.ts` passes, and `test/design-lint.test.ts` and `test/front.test.ts` pass (29 tests). I did not run the whole suite or the live front page.
shipped production is serving it deploy aa26afa
The front page's featured repository now draws §5's card(), the same card as the app tiles below it. grep front-featured src/web now finds only src/web/style/content.ts. tsc --noEmit is clean, bun scripts/design-lint.ts passes, and test/design-lint.test.ts and test/front.test.ts pass (29 tests). I did not run the whole suite or the live front page.
What changed
featuredCard()insrc/web/studio/home.tsbuilds the card the waytile()does. The picture is the card's.looklink, and the body holds the "Featured" label, the owner/name heading, the description, the crew or shipped-time list and the Open button.- The card keeps
role="region"andaria-label="Featured", so it is still a named landmark. test/front.test.tsfinds the card byaria-label="Featured"and checks its link, instead of looking forclass="front-featured".
Left alone
- The stylesheet still has the old
.front-featured*rules. The issue puts their removal in a follow-up, so I did not touchsrc/web/style/ordocs/DESIGN.md. - I did not change
docs/design/baseline.json, because the design lint reported nothing to lower.
One thing to look at: the featured card now has the tile card's layout rather than the old side-by-side picture and text. I did not look at it rendered. Check that on the preview.
The featured repository now draws the shared card(), the card the app tiles use. It is a named region, keeps the Open button and works without JavaScript. No front-featured class is left in home.ts. The preview front page has no featured repository to show (its HTML has no Featured section), so I could not check the new layout rendered; I read it from source. Two things to do next: (1) the crew-at-work list is a listCard, so a card now sits inside the featured card body. Render one at 360px and, if the double border looks heavy, flatten it to a plain .list. (2) Delete the orphaned .front-featured* rules in src/web/style/content.ts, as the issue planned, and drop them from the design doc component list.
The front page's featured repository now draws §5's
card(), the same card as the app tiles below it.grep front-featured src/webnow finds onlysrc/web/style/content.ts.tsc --noEmitis clean,bun scripts/design-lint.tspasses, andtest/design-lint.test.tsandtest/front.test.tspass (29 tests). I did not run the whole suite or the live front page.What changed
featuredCard()insrc/web/studio/home.tsbuilds the card the waytile()does. The picture is the card's.looklink, and the body holds the "Featured" label, the owner/name heading, the description, the crew or shipped-time list and the Open button.role="region"andaria-label="Featured", so it is still a named landmark.test/front.test.tsfinds the card byaria-label="Featured"and checks its link, instead of looking forclass="front-featured".Left alone
.front-featured*rules. The issue puts their removal in a follow-up, so I did not touchsrc/web/style/ordocs/DESIGN.md.docs/design/baseline.json, because the design lint reported nothing to lower.One thing to look at: the featured card now has the tile card's layout rather than the old side-by-side picture and text. I did not look at it rendered. Check that on the preview.
Closes #4690