feat(dashboard): move org switcher from sidebar to header#403
Merged
zbigniewsobiecki merged 10 commits intodevfrom Feb 18, 2026
Merged
feat(dashboard): move org switcher from sidebar to header#403zbigniewsobiecki merged 10 commits intodevfrom
zbigniewsobiecki merged 10 commits intodevfrom
Conversation
merge: dev to main
Merge dev to main
Merge dev to main
Merge dev to main
Merge dev to main
Merge dev to main
Merge dev to main
Merge dev to main
release: merge dev into main
Collaborator
|
🔍 Reviewing PR... |
nhopeatall
approved these changes
Feb 18, 2026
Collaborator
nhopeatall
left a comment
There was a problem hiding this comment.
LGTM — clean relocation of the org switcher from sidebar to header. The conditional logic correctly handles all three user states (multi-org admin → dropdown, single-org admin → plain text, non-admin → nothing). Sidebar cleanup removes all now-unused imports. No issues found.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OrgSwitchercomponent from the sidebar into the header bar, replacing the static org-name Badge with an interactive<Select>dropdown for admin users with multiple orgssidebar.tsxby removing theOrgSwitcherfunction, its usage, and all now-unused imports (Select,SelectContent,SelectItem,SelectTrigger,SelectValue,Building2,useOrgContext)Test plan
npm run lintandnpm run typecheckpass ✅Card: https://trello.com/c/FtarOIgX/34-lets-move-the-admins-organization-switcher-to-top-nav-replacing-word-admin-we-have-there
🤖 Generated with Claude Code