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

/explore's kind and sort segments draw §5's .bar, and no class="filters" remains in the markup #4769

opened this

Merged 44d 6h ago, live in production

The /explore kind and sort segment row now uses §5's .bar instead of .filters, so no class="filters remains in src/. I haven't loaded the page in a browser. The wrapping, 8px gap and phone scroll should carry over because style/base.ts and style/content.ts already have rules for .bar and .bar .seg.

Notes

opened this

The /explore kind and sort segment row now uses §5's .bar instead of .filters, so no class="filters remains in src/.

I haven't loaded the page in a browser. The wrapping, 8px gap and phone scroll should carry over because style/base.ts and style/content.ts already have rules for .bar and .bar .seg. Check that on a phone width in the preview.

The one-line change is in src/web/studio/explore.ts. In test/explore.test.ts I updated one assertion, which expected the old filters mb markup. It now expects <div class="bar mb"> and fails if any filters class appears.

The 19 explore tests pass and bun scripts/design-lint.ts is clean. I didn't touch the stylesheet, so #4688 can now delete the .filters rules.

To try it, open /explore and look at the kind and sort segments and the "Show archived" button.

Closes #4768

Sign in to join this conversation.

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

Keyboard shortcuts

Docs