mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-19 04:32:31 -06:00
At MSP scale (100+ orgs) the org/workspace switcher dropdown was an un-scrollable wall. Add a type-to-filter search box. - Sticky search input at the top of the switcher menu, shown once the list reaches a threshold (>= 8 workspaces); below that the plain list is fine. - Live client-side filter: case-insensitive substring match on "organization name + workspace name" (data-search haystack per row). The full list is already loaded from /me, so no extra requests. - Keyboard nav: search is auto-focused on open; type filters, ArrowUp/Down move a highlight among visible rows, Enter selects (switches), Esc closes. - "No matches" state when nothing matches; opening resets the filter. - Refactored the switch action into a shared switchTo() used by both click and Enter. Frontend only. Verified headless: filter narrows live, no-match state, clear restores, arrow-key highlight. EN i18n added. Closes #16. |
||
|---|---|---|
| .. | ||
| components | ||
| i18n | ||
| views | ||
| api.js | ||
| app.js | ||
| branding.js | ||
| i18n.js | ||
| socket.js | ||
| utils.js | ||