Title: feat(sidebar): search the workspace switcher when a user has many workspaces by waleedlatif1 · Pull Request #5894 · simstudioai/sim · GitHub
Open Graph Title: feat(sidebar): search the workspace switcher when a user has many workspaces by waleedlatif1 · Pull Request #5894 · simstudioai/sim
X Title: feat(sidebar): search the workspace switcher when a user has many workspaces by waleedlatif1 · Pull Request #5894 · simstudioai/sim
Description: Summary Adds a search input to the workspace switcher dropdown, shown once the user has more than 3 workspaces (WORKSPACE_SEARCH_THRESHOLD) ArrowUp/Down move through filtered results, Enter switches, query + highlight reset on close Filtering is memoized; the highlight/reset/scroll machinery is gated on showSearch so users with few workspaces get zero extra re-renders Uses the canonical ChipInput for the field chrome (leading Search icon, ref-forwarded focus) — no hand-rolled chip styling Restores the search UX we used to have (Slack thread — Brandon/Emir); ported the fully-refined version from improvement/ui incl. the effect-guard/perf fixes so it doesn't flash on open Type of Change New feature Testing Tested manually Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Adds a search input to the workspace switcher dropdown, shown once the user has more than 3 workspaces (WORKSPACE_SEARCH_THRESHOLD) ArrowUp/Down move through filtered results, Enter switch...
X Description: Summary Adds a search input to the workspace switcher dropdown, shown once the user has more than 3 workspaces (WORKSPACE_SEARCH_THRESHOLD) ArrowUp/Down move through filtered results, Enter switch...
Opengraph URL: https://github.com/simstudioai/sim/pull/5894
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:aa776b41-f2af-85ca-9cb9-03dfd41f6249 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DCAC:20C711:A2BAEF:E91F74:6A638051 |
| html-safe-nonce | 70335f3b8cf362034fb55d8d75f7a6da57e1296c9d215481d5129cb4f6812cad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0FDOjIwQzcxMTpBMkJBRUY6RTkxRjc0OjZBNjM4MDUxIiwidmlzaXRvcl9pZCI6IjY1ODIzMzM3OTE0ODI5MDQ2NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d76fcdcab3256c92917f5103a8c749adca76e9b84e73bfba85e25543cd3db5ee |
| hovercard-subject-tag | pull_request:4118946331 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5894/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Adds a search input to the workspace switcher dropdown, shown once the user has more than 3 workspaces (WORKSPACE_SEARCH_THRESHOLD) ArrowUp/Down move through filtered results, Enter switch... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width