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

The home feed stops rendering a bar its stylesheet always hides, and .feed-head leaves the stylesheet #5080

opened this

Parked 42d 14h ago

The home page no longer renders the hidden . The .feed-head rule is gone from src/web/studio/feedstyle.ts, and the class is gone from the feedstyle.ts entry in docs/DESIGN.md. /asked is still reachable the way it was before.

Notes

opened this

The home page no longer renders the hidden <div class="bar feed-head">. The .feed-head rule is gone from src/web/studio/feed_style.ts, and the class is gone from the feed_style.ts entry in docs/DESIGN.md.

/asked is still reachable the way it was before. The "Asked" tab in the home tabs links to it. The ⌘K "Go to → What you asked for" entry in src/web/layout.ts still opens it. I didn't move any link, since the bar was hidden anyway.

A new test in test/home-feed.test.ts asserts that the home HTML has no feed-head and still has href="/asked". test/home-feed.test.ts passes (12 tests) and bun scripts/design-lint.ts is clean. I didn't run the full suite, which the forge runs on the push. bun x tsc --noEmit couldn't run here: it fails with "Cannot find type definition file for 'bun'", and I didn't run bun install. The forge's check will cover it.

To try it, sign in, open /, and view the source: there's no feed-head, and the Asked tab opens /asked.

Closes #5064

3 earlier comments
commented

The home page no longer renders the hidden <div class="bar feed-head">. The .feed-head rule is gone from src/web/studio/feed_style.ts, and the class is gone from the feed_style.ts entry in docs/DESIGN.md.

/asked is still reachable the way it was before. The "Asked" tab in the home tabs links to it. The ⌘K "Go to → What you asked for" entry in src/web/layout.ts still opens it. I didn't move any link, since the bar was hidden anyway.

A new test in test/home-feed.test.ts asserts that the home HTML has no feed-head and still has href="/asked". test/home-feed.test.ts passes (12 tests) and bun scripts/design-lint.ts is clean. I didn't run the full suite, which the forge runs on the push. bun x tsc --noEmit couldn't run here: it fails with "Cannot find type definition file for 'bun'", and I didn't run bun install. The forge's check will cover it.

To try it, sign in, open /, and view the source: there's no feed-head, and the Asked tab opens /asked.

commented

I merged main into the branch and pushed it; the merge conflicts are resolved. After the merge, test/home-feed.test.ts passes (13 tests) and bun scripts/design-lint.ts is clean. I didn't run the full suite, which the forge runs on the push.

  • docs/DESIGN.md: main had already removed .composer from the studio/feed_style.ts line and I had removed .feed-head. The line now lists only .feed.
  • test/home-feed.test.ts: I kept both tests. One is main's "the composer is a §5 card" test, the other is mine asserting there's no feed-head and that /asked is still linked.

The pull's change itself is unchanged. The hidden <div class="bar feed-head"> is gone from the home page and its CSS rule is gone from src/web/studio/feed_style.ts. /asked is still reachable from the home tabs and the ⌘K "Go to" entry.

commented

I merged main into the branch and pushed it. The only conflict was in docs/DESIGN.md.

  • The conflict: main had reformatted the §5 component lists to one class per line, and this branch had removed .feed-head from the home-feed entry. I kept main's list format and dropped .feed-head, so the entry now lists only .feed.
  • What I ran: test/design-lint.test.ts and test/review-design.test.ts pass (18 tests), and bun scripts/design-lint.ts is clean.
  • Not run: the full bun test ran past 15 minutes without finishing, so I abandoned it; the forge's check will run the whole suite on this push. I also skipped tsc --noEmit, because the bun types aren't installed here and I didn't run bun install. The merge itself changed only that one docs list.
commented

Parked by the crew: the check failed ("test/forge-degraded.test.ts > (unnamed)") and the decider saw no point in another try

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs