Skip to content

chore: Dashboard and Web Cleanup components in support of @openstatus/ui package#1972

Merged
mxkaske merged 4 commits intoopenstatusHQ:mainfrom
aggmoulik:feature/dashboard-ui-package
Mar 16, 2026
Merged

chore: Dashboard and Web Cleanup components in support of @openstatus/ui package#1972
mxkaske merged 4 commits intoopenstatusHQ:mainfrom
aggmoulik:feature/dashboard-ui-package

Conversation

@aggmoulik
Copy link
Contributor

chore: Dashboard and Web Cleanup components in support of @openstatus/ui package

@vercel
Copy link

vercel bot commented Mar 12, 2026

@aggmoulik is attempting to deploy a commit to the OpenStatus Team on Vercel.

A member of the Team first needs to authorize it.

…/ui package

Signed-off-by: Moulik Aggarwal <qwertymoulik@gmail.com>
Signed-off-by: Moulik Aggarwal <qwertymoulik@gmail.com>
@aggmoulik aggmoulik force-pushed the feature/dashboard-ui-package branch from 32ea0fd to f7df509 Compare March 12, 2026 15:28
@vercel vercel bot temporarily deployed to Preview – openstatus-status-page March 12, 2026 15:28 Inactive
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openstatus-dashboard Ready Ready Preview, Comment Mar 14, 2026 4:25pm
openstatus-web Ready Ready Preview, Comment Mar 14, 2026 4:25pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openstatus-status-page Skipped Skipped Mar 14, 2026 4:25pm

Request Review

@mxkaske mxkaske requested a review from Copilot March 12, 2026 16:55
@mxkaske
Copy link
Member

mxkaske commented Mar 12, 2026

@claude review

@claude
Copy link

claude bot commented Mar 12, 2026

Claude Code is working…

I'll analyze this and get back to you.

View job run

Copy link
Contributor

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 cleans up the Dashboard and Web apps by removing locally-copied UI components/dependencies and standardizing on the shared @openstatus/ui package.

Changes:

  • Remove the Dashboard’s local sidebar component and switch all consumers to @openstatus/ui/components/ui/sidebar.
  • Drop @radix-ui/react-slot from apps/web direct dependencies (now provided via @openstatus/ui).
  • Update next-env.d.ts route-types import paths for apps/web and apps/dashboard.

Reviewed changes

Copilot reviewed 20 out of 23 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pnpm-lock.yaml Removes @radix-ui/react-slot from the apps/web importer in the lockfile.
apps/web/package.json Drops direct dependency on @radix-ui/react-slot (relies on @openstatus/ui).
apps/web/next-env.d.ts Updates the route-types import path under .next.
apps/dashboard/src/components/ui/sidebar.tsx Deletes the local sidebar implementation in favor of the shared UI package.
apps/dashboard/src/components/nav/workspace-switcher.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/components/nav/sidebar-right.tsx Repoints sidebar imports to @openstatus/ui and adjusts import ordering.
apps/dashboard/src/components/nav/sidebar-metadata.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/components/nav/nav-user.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/components/nav/nav-status-pages.tsx Repoints sidebar imports to @openstatus/ui (and reorders imports).
apps/dashboard/src/components/nav/nav-overview.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/components/nav/nav-monitors.tsx Repoints sidebar imports to @openstatus/ui (and reorders imports).
apps/dashboard/src/components/nav/nav-main.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/components/nav/nav-help.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/components/nav/nav-banner-upgrade.tsx Repoints sidebar imports to @openstatus/ui (and reorders imports).
apps/dashboard/src/components/nav/nav-banner-checklist.tsx Repoints sidebar imports to @openstatus/ui (and reorders imports).
apps/dashboard/src/components/nav/app-sidebar.tsx Repoints sidebar imports to @openstatus/ui.
apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/layout.tsx Switches SidebarProvider import to @openstatus/ui.
apps/dashboard/src/app/(dashboard)/status-pages/[id]/maintenances/layout.tsx Switches SidebarProvider import to @openstatus/ui.
apps/dashboard/src/app/(dashboard)/status-pages/[id]/components/layout.tsx Switches SidebarProvider import to @openstatus/ui.
apps/dashboard/src/app/(dashboard)/monitors/[id]/overview/layout.tsx Switches SidebarProvider import to @openstatus/ui.
apps/dashboard/src/app/(dashboard)/monitors/[id]/incidents/layout.tsx Switches SidebarProvider import to @openstatus/ui.
apps/dashboard/src/app/(dashboard)/layout.tsx Switches SidebarProvider/SidebarInset imports to @openstatus/ui.
apps/dashboard/next-env.d.ts Updates the route-types import path under .next.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@vercel vercel bot temporarily deployed to Preview – openstatus-status-page March 13, 2026 07:06 Inactive
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@mxkaske mxkaske left a comment

Choose a reason for hiding this comment

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

@aggmoulik, did you check if we had any overrides on the sidebar.tsx file or was it identical to the /packages/ui version?

@aggmoulik
Copy link
Contributor Author

@aggmoulik, did you check if we had any overrides on the sidebar.tsx file or was it identical to the /packages/ui version?

Yes, it was identical I have already checked that as well. Even the no of lines.

@mxkaske mxkaske merged commit 7718657 into openstatusHQ:main Mar 16, 2026
9 checks passed
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