Skip to content

docs: consolidate mobile navigation and search in Drawer - #2287

Draft
maxffarrell wants to merge 24 commits into
huntabyte:mainfrom
maxffarrell:codex/mobile-search-drawer
Draft

maxffarrell wants to merge 24 commits into
huntabyte:mainfrom
maxffarrell:codex/mobile-search-drawer

Conversation

@maxffarrell

@maxffarrell maxffarrell commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Consolidate the mobile documentation menu and search into one Drawer below the md breakpoint. Remove the separate hamburger menu. A single search trigger opens the drawer and focuses the search field; the keyboard shortcut also opens search. With an empty query, show the same grouped navigation as the sidebar, including Home, current-page indicators and navigation labels. Typing replaces navigation with documentation search results.

Keep the sheet 8px below the site header and stationary when the keyboard opens or closes. Retain native results scrolling, swipe dismissal, an accessible close button, safe-area spacing, reduced motion, and compositor hints for open/close transitions. Desktop search continues to use a dialog.

Depends on #2285 and is based on its head at d5567f42. This draft includes the Drawer commits until that PR lands. The documentation changes are isolated in the commits after that head.

Validation:

  • pnpm lint
  • Docs svelte-check: 0 errors and 0 warnings.
  • Docs production build.
  • Package build passed during the initial integration; package source is unchanged by the documentation refinements.
  • The initial docs generators ran with Node because the pnpx tsx wrapper failed on an esbuild build-script policy.
  • Browser/device checks and actual frame-rate measurements remain pending: the Mac is locked and local browser use is disabled in Work settings.

@changeset-bot

changeset-bot Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0b2ec74

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bits-ui Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview c9f9428

@maxffarrell maxffarrell changed the title docs: use Drawer for mobile search docs: consolidate mobile navigation and search in Drawer Nov 7, 2026

This branch was successfully deployed

1 active (outdated) deployment
Preview — c9f9428a Deployed Nov 7, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants