Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the sidebar implementation from a custom solution to ShadCN UI components. The migration removes organization-level navigation in favor of a simpler project-focused structure, consolidates sidebar types into a shared definition, and introduces path aliases for cleaner imports.
Key Changes:
- Replaced custom sidebar implementation with ShadCN UI sidebar components
- Removed organization-level navigation routes and components
- Added TypeScript path aliases (
@/*) for improved import organization
Reviewed changes
Copilot reviewed 21 out of 22 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| services/console/tsconfig.json | Added path alias configuration for @/* imports |
| services/console/src/views/router.tsx | Removed organization routes and sidebar filtering, updated default redirect |
| services/console/src/views/project/ProjectSidebar.tsx | Replaced custom sidebar with ShadCN components |
| services/console/src/views/organization/Settings.tsx | Deleted organization settings component |
| services/console/src/views/organization/Organization.tsx | Deleted organization wrapper component |
| services/console/src/views/organization/Admins.tsx | Deleted organization admins component |
| services/console/src/ui/index.ts | Removed legacy Sidebar export |
| services/console/src/ui/Sidebar.tsx | Deleted legacy sidebar implementation |
| services/console/src/ui/Sidebar.css | Deleted legacy sidebar styles |
| services/console/src/types/sidebar.ts | Created shared SidebarLink type definition |
| services/console/src/hooks/use-mobile.ts | Added mobile breakpoint detection hook |
| services/console/src/components/user-dropdown.tsx | Created user dropdown component for sidebar |
| services/console/src/components/ui/tooltip.tsx | Added ShadCN tooltip component |
| services/console/src/components/ui/skeleton.tsx | Added ShadCN skeleton component |
| services/console/src/components/ui/sidebar.tsx | Added comprehensive ShadCN sidebar component |
| services/console/src/components/ui/dropdown-menu.tsx | Added ShadCN dropdown menu component |
| services/console/src/components/project-switcher.tsx | Created project switcher dropdown component |
| services/console/src/components/app-sidebar.tsx | Created main application sidebar component |
| services/console/src/App.tsx | Removed empty line |
| services/console/package.json | Added Radix UI dropdown menu and tooltip dependencies |
| package.json | Added packageManager field |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
…r dropdown components
jeroenrinzema
approved these changes
Dec 16, 2025
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.
No description provided.