Skip to content

feat(dashboard): UI redesign & dead code cleanup - #341

Merged
yash-pouranik merged 3 commits into
mainfrom
feat/vercel-dashboard-redesign
Jun 29, 2026
Merged

feat(dashboard): UI redesign & dead code cleanup#341
yash-pouranik merged 3 commits into
mainfrom
feat/vercel-dashboard-redesign

Conversation

@yash-pouranik

@yash-pouranik yash-pouranik commented Jun 29, 2026

Copy link
Copy Markdown
Member

This PR overhauls the developer dashboard UI to match a modern, minimalist, Vercel-like aesthetic and removes dead metrics code.

UI Changes (Vercel styling):

Replaced 3D glassmorphism, heavy shadows, and gradients with clean, 2D flat borders.
Updated dark mode borders to crisp semi-transparent white (rgba(255, 255, 255, 0.14)).
Reduced typography sizing to a more compact, professional scale (e.g., base headings down to 0.9375rem).
Redesigned EmptyState, ProjectCard, and DashboardHeader to use standard, minimalist layouts without floating elements.
Fixed ThemeToggle inverted label/icon bug.
Added a new UsageWarningBanner at the top of the dashboard to alert users when API/Database limits cross 80%.
Backend Cleanup:

Removed DeveloperMetrics (My Performance) from the frontend dashboard, saving 2 heavy API calls on initial load.
Deleted corresponding unused backend routes from apps/dashboard-api/src/routes/analytics.js (/funnel, /retention, /engagement, /north-star).
Removed unused aggregation logic from the analytics controller.
Cleaned up obsolete tests in analytics.controller.test.js.

Summary by CodeRabbit

  • New Features

    • Added usage warning banners on the dashboard when key usage limits approach or exceed thresholds, with stronger alerts for critical usage.
    • Redesigned the empty-state and invitation flows with a more compact, actionable layout.
    • Updated dashboard stats to show a cleaner usage overview and simplified recent activity presentation.
  • Bug Fixes

    • Refined dashboard and card styling for a more consistent look and feel across the app.
    • Updated the theme toggle icon behavior for clearer light/dark mode cues.
  • Changes

    • Simplified some analytics and dashboard sections for a cleaner, more focused experience.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/vercel-dashboard-redesign

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/web-dashboard/src/index.css`:
- Around line 323-336: The button primitives in the `.btn` and `.btn-icon`
styles remove the native focus outline without adding an accessible keyboard
focus replacement. Update the shared button rules in `index.css` to include a
visible `:focus-visible` state for both `.btn` and `.btn-icon` using the
existing theme tokens, and ensure it works across variants like `.btn-primary`,
`.btn-secondary`, and `.btn-danger` without relying on the default outline.

In `@apps/web-dashboard/src/pages/Dashboard.jsx`:
- Around line 255-258: The warning suffix in the Dashboard quota message is
using the same request-specific text for every critical quota, so non-request
limits show the wrong failure mode. Update the conditional rendering around the
`w.label` / `isCritical` message in the Dashboard view so the suffix is only
shown for request quotas, or vary the text by quota type when rendering critical
warnings. Keep the existing warning structure, but make the message depend on
the quota category instead of always appending “requests may be blocked.”
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 434ac70a-33ff-471e-83c9-a341aebaef08

📥 Commits

Reviewing files that changed from the base of the PR and between b789858 and eb842bb.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (15)
  • apps/dashboard-api/src/__tests__/analytics.controller.test.js
  • apps/dashboard-api/src/controllers/analytics.controller.js
  • apps/dashboard-api/src/routes/analytics.js
  • apps/web-dashboard/src/components/Dashboard/DashboardHeader.jsx
  • apps/web-dashboard/src/components/Dashboard/DashboardShell.jsx
  • apps/web-dashboard/src/components/Dashboard/DeveloperMetrics.jsx
  • apps/web-dashboard/src/components/Dashboard/EmptyState.jsx
  • apps/web-dashboard/src/components/Dashboard/ProjectCard.jsx
  • apps/web-dashboard/src/components/Dashboard/RecentActivityItem.jsx
  • apps/web-dashboard/src/components/Dashboard/SectionHeader.jsx
  • apps/web-dashboard/src/components/Dashboard/UsageQuota.jsx
  • apps/web-dashboard/src/components/Layout/Header.jsx
  • apps/web-dashboard/src/components/ThemeToggle.jsx
  • apps/web-dashboard/src/index.css
  • apps/web-dashboard/src/pages/Dashboard.jsx
💤 Files with no reviewable changes (3)
  • apps/web-dashboard/src/components/Dashboard/DashboardShell.jsx
  • apps/dashboard-api/src/routes/analytics.js
  • apps/dashboard-api/src/controllers/analytics.controller.js

Comment thread apps/web-dashboard/src/index.css
Comment thread apps/web-dashboard/src/pages/Dashboard.jsx Outdated
Comment thread apps/web-dashboard/src/pages/Dashboard.jsx
@yash-pouranik
yash-pouranik temporarily deployed to feat/vercel-dashboard-redesign - urBackend-frankfrut PR #341 June 29, 2026 09:32 — with Render Destroyed
@yash-pouranik
yash-pouranik merged commit da79159 into main Jun 29, 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.

2 participants