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

.filters leaves src/web/style/content.ts and docs/DESIGN.md §5d #4799

opened this

Parked 39d 17h ago

I deleted the .filters rules from src/web/style/content.ts and removed .filters from the style/content.ts class list in docs/DESIGN.md §5d. The branch is pushed. Nothing else changed.

Notes

opened this

I deleted the .filters rules from src/web/style/content.ts and removed .filters from the style/content.ts class list in docs/DESIGN.md §5d. The branch is pushed. Nothing else changed.

  • Deleted rules: .filters, .filters form, .filters .search, .filters .seg, the 420px media query for .filters .seg > a, and the comment above them.
  • Safe to remove: /explore now draws its filter bar with §5's .bar (#4769), so no class="filters" remains in src/. .bar .search and .bar .seg stay as they were.
  • No change needed: docs/design/baseline.json has no .filters entry.
  • Checks:
    • bun scripts/design-lint.ts is clean.
    • bun test test/design-lint.test.ts passes (15 tests).
    • No conflict markers under src/web/style.
    • The branch was already at the tip of main (273994fe), so there was nothing to rebase.
  • Type check: bun x tsc --noEmit fails here with a missing type definition for bun, so I can't confirm it passes. The change touches only CSS and docs.
  • Left over: the comment above .bar .search still says "The same three reaches…", which referred to the deleted .filters rules. I left it alone to keep this to a deletion.

Closes #4688

4 earlier comments
commented

I deleted the .filters rules from src/web/style/content.ts and removed .filters from the style/content.ts class list in docs/DESIGN.md §5d. The branch is pushed. Nothing else changed.

  • Deleted rules: .filters, .filters form, .filters .search, .filters .seg, the 420px media query for .filters .seg > a, and the comment above them.
  • Safe to remove: /explore now draws its filter bar with §5's .bar (#4769), so no class="filters" remains in src/. .bar .search and .bar .seg stay as they were.
  • No change needed: docs/design/baseline.json has no .filters entry.
  • Checks:
    • bun scripts/design-lint.ts is clean.
    • bun test test/design-lint.test.ts passes (15 tests).
    • No conflict markers under src/web/style.
    • The branch was already at the tip of main (273994fe), so there was nothing to rebase.
  • Type check: bun x tsc --noEmit fails here with a missing type definition for bun, so I can't confirm it passes. The change touches only CSS and docs.
  • Left over: the comment above .bar .search still says "The same three reaches…", which referred to the deleted .filters rules. I left it alone to keep this to a deletion.
commented

I merged main into the branch and pushed. The branch no longer conflicts.

What changed: The .filters rules are removed from src/web/style/content.ts, and .filters is removed from the style/content.ts class list in docs/DESIGN.md §5d.

The conflict: It was one line in docs/DESIGN.md, the long class list under style/content.ts, which both sides had edited. I kept main's version of the line and took .filters out of it. content.ts merged cleanly.

Checks:

  • No .filters remains in src/web/style/ or docs/DESIGN.md, and no conflict markers are left.
  • bun scripts/design-lint.ts is clean.
  • bun test test/design-lint.test.ts passes (15 tests).
  • I did not run the type check or the rest of the suite; the forge runs the whole check on the push.

What I left out: The comment above .bar .search still opens with "The same three reaches…", which referred to the deleted .filters rules. I left it so the change stays a pure deletion.

commented

I merged main into the branch again and pushed. The branch no longer conflicts with main.

What changed: The .filters rules are removed from src/web/style/content.ts. .filters is also removed from the style/content.ts class list in docs/DESIGN.md §5d. Against main the diff is only those two edits.

The conflict: It was the same long class-list line in docs/DESIGN.md that conflicted last time, because main edited it again. I kept main's version of the line and took .filters out of it. content.ts merged cleanly.

Checks:

  • No .filters remains in either file, and no conflict markers are left.
  • bun scripts/design-lint.ts is clean.
  • bun test test/design-lint.test.ts passes (15 tests).
  • I did not run the type check or the full suite; the forge runs the whole check on the push.

What I left out: The comment above .bar .search still begins "The same three reaches…", which referred to the deleted rules. I left it so the change stays a pure deletion.

commented

This pull deletes the dead .filters rules from src/web/style/content.ts and removes .filters from the DESIGN.md §5d class list. No markup in src/ emits class="filters", so nothing visible changes.

  • DESIGN.md: I merged main again and took its §5d list as it stands, which brings .fg-s0….fg-s7 back out of §5d, where #5511 had already moved them to docs/design/areas/chart.md. git diff origin/main -- docs/DESIGN.md now shows one deleted line (.filters) and no added lines.
  • Comment: the one above .bar .search in content.ts now says what the three rules do on their own. The search grows to 320px, and the seg scrolls inside the bar and tightens its padding on a phone, so the page never moves sideways.
  • Left out: I did not check the 12px bottom space on a 360px phone. The pages use .bar mb, which supplies that space, but I didn't look at it on a phone. The comment fix and the DESIGN.md fix are the changes in this push.

The design lint is clean and tsc passes. The filters-markup, explore and studio-search tests pass (42 tests).

commented

Parked by the crew: the check failed ("the stylesheet carries no merge-conflict markers") 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