Repository navigation
feat(web): move global search into the sidebar and restyle its header - #832
Conversation
Follow shadcn's sidebar-10 for the top of the sidebar. - Global search leaves the app header and becomes a sidebar item. The dialog stays in the authenticated layout, because the mobile sidebar is unmounted while closed and Mod+K has to keep working. - The brand row and the project switcher become one selector: it shows the brand logo and name outside a project, and the project's avatar and name inside one. It stays available on the collapsed rail. - The project menu follows sidebar-10's team list. Its keyboard hints are left out because Mod+1-9 switches browser tabs. - Drop the unused search.placeholder string from every locale.
There was a problem hiding this comment.
Important
The new sidebar-search Playwright scenario will fail on the mobile-chrome and mobile-safari projects: the sidebar is a closed sheet there, so the locator never resolves. Worth fixing before this lands, since mobile behaviour is part of the change.
Approach: sound — keeping the dialog in the authenticated layout so Mod+K survives the mobile sidebar being unmounted is the right seam, and the combined brand/project switcher matches the sidebar-10 pattern.
Reviewed changes
- Global search: split into
GlobalSearchButton(sidebar item; closes the mobile sheet before opening) andGlobalSearchDialog(layout-level, opened by button or Mod+K); removed the header trigger and the unusedsearch.placeholderfrom all nine locales. - Project switcher: folded the brand row into the switcher — brand logo/name outside a project, project avatar/name inside — kept it on the collapsed rail, and restyled the menu to match
sidebar-10. - Tests: added a unit test for the mobile-close behaviour and a Playwright scenario for the sidebar button; updated the feature text and the store comment.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the delta since the prior pullfrog review (a4fd728..10aac56): the mobile Playwright fix for the new sidebar-search scenario. The earlier failure is resolved — the test now opens the mobile sheet with Toggle Sidebar before locating the search button, and asserts [data-slot="sidebar"] disappears once the dialog opens, so it exercises the mobile close-then-open behaviour rather than just skipping it.
- Mobile e2e coverage —
global-search.spec.tsnow uses the built-inisMobilefixture, opens the sheet first on mobile, and asserts it unmounts after search opens; the desktop path is unchanged. - Feature text — the scenario now records the mobile precondition and the closed-sidebar outcome.
Both files are consistent with existing repo conventions (isMobile fixture, single Toggle Sidebar button on mobile, scoped Search locator). CI at 10aac56 is green for Lint e2e tests and Check, test, and build web app.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

Summary
Reworks the top of the app sidebar after shadcn's
sidebar-10: a project selector, with global search directly below it.Global search
Project selector
sidebar-10's team list. This also stops the global link colour from turning project names green.Behaviour changes to note
The unused
search.placeholderstring is removed from all nine locales.Verification
tsc -breports only two devtools packages missing from my install.Type of Change
Checklist