Collapse mobile category filters on dev tools page#18794
Conversation
The full top-level category list rendered expanded above the results on mobile, pushing content far down the page. Wrap it in a Collapsible (closed by default) whose trigger shows the active category and count.
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🔎 First-pass review — ✅ Looks mergeableWraps the mobile-only category filter box on No blocking items. A couple of non-blocking notes are in the details. AnalysisLane: code (single file, Checked:
Non-blocking:
Checks: CI still running at review time; author reports
|

Description
On mobile, the
/developers/toolscategory filter rendered the full top-level category list expanded above the results, pushing content far down the page.This wraps the mobile filter box in the existing
Collapsibleprimitive, closed by default:showAllLinkprop onCategorySidebar).Verified at 390px viewport: collapsed by default, expands to the category tree, category navigation and subcategory filtering work, back-to-all reset works; desktop layout untouched.
pnpm type-checkand ESLint pass.Preview: https://deploy-preview-18794.ethereum.it/developers/tools