Skip to content

feat: migrate sidebar to ShadCN#58

Merged
DanericNetwork merged 14 commits intomainfrom
feature/migrate-sidebar-to-shadcn
Dec 16, 2025
Merged

feat: migrate sidebar to ShadCN#58
DanericNetwork merged 14 commits intomainfrom
feature/migrate-sidebar-to-shadcn

Conversation

@DanericNetwork
Copy link
Copy Markdown
Contributor

No description provided.

@DanericNetwork DanericNetwork marked this pull request as ready for review December 8, 2025 12:50
@jeroenrinzema jeroenrinzema requested review from Copilot and removed request for jeroenrinzema December 11, 2025 11:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread services/console/src/views/router.tsx Outdated
Comment thread services/console/src/components/ui/sidebar.tsx Outdated
Comment thread services/console/src/components/user-dropdown.tsx Outdated
@DanericNetwork DanericNetwork merged commit e23d05a into main Dec 16, 2025
4 checks passed
@DanericNetwork DanericNetwork deleted the feature/migrate-sidebar-to-shadcn branch December 16, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants