Skip to content

chore: remove dashboard build, source, and related config#92

Merged
INONONO66 merged 1 commit into
mainfrom
chore/remove-dashboard
May 28, 2026
Merged

chore: remove dashboard build, source, and related config#92
INONONO66 merged 1 commit into
mainfrom
chore/remove-dashboard

Conversation

@INONONO66
Copy link
Copy Markdown
Owner

@INONONO66 INONONO66 commented May 28, 2026

Remove all dashboard-related code and dependencies from the project.

Removed

  • src/dashboard/ (app.ts, server.ts, index.html, styles.css)
  • scripts/build-dashboard.ts
  • components.json (shadcn/ui config)
  • tests/unit/dashboard.test.ts
  • dashboard:dev, dashboard:build, dashboard:start scripts from package.json
  • Dashboard build step from build script
  • Dashboard copy steps from Makefile and scripts/package-release.ts
  • @/* path alias from tsconfig.json

Preserved

  • src/admin/session.ts — admin session auth (login/logout/check) serves the general admin API
  • src/config/validate.ts dashboard* config fields — used for admin session auth, naming rename is separate scope

Verification

  • bun run typecheck passes
  • bun test — 179 pass, 22 skip, 0 fail

Summary by cubic

Removed the dashboard entirely, including source, build steps, scripts, and tests, to simplify the repo and build. Admin session auth stays for the general admin API.

  • Refactors

    • Deleted src/dashboard/ (app, server, HTML, CSS) and tests/unit/dashboard.test.ts
    • Removed scripts/build-dashboard.ts and components.json
    • Dropped dashboard commands from package.json and removed dashboard steps from build, Makefile, and scripts/package-release.ts
    • Removed the @/* path alias from tsconfig.json
    • Kept src/admin/session.ts and dashboard-related config validation used by admin auth
  • Migration

    • The dashboard is no longer built or served; remove any usage of dashboard:dev, dashboard:build, and dashboard:start
    • Clean up env vars related to the old dashboard (DASHBOARD_HOST, DASHBOARD_PORT, DASHBOARD_PROXY_URL)
    • Ensure any CI or release scripts no longer expect dist/dashboard* artifacts

Written for commit 34c4971. Summary will update on new commits.

Review in cubic

The proxy no longer bundles a dashboard. Remove:
- src/dashboard/ (app, server, html, css)
- scripts/build-dashboard.ts
- components.json (shadcn/ui config)
- tests/unit/dashboard.test.ts
- dashboard scripts from package.json
- dashboard build steps from Makefile and package-release
- @/* path alias from tsconfig.json

Admin session authentication (src/admin/session.ts) is preserved
as it serves the general admin API, not only the dashboard.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Warning

Review limit reached

@INONONO66, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 15 minutes and 32 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: bcb2c7f3-e7c4-4166-8b11-5c3aee41ea38

📥 Commits

Reviewing files that changed from the base of the PR and between 76ebec6 and 34c4971.

📒 Files selected for processing (11)
  • Makefile
  • components.json
  • package.json
  • scripts/build-dashboard.ts
  • scripts/package-release.ts
  • src/dashboard/app.ts
  • src/dashboard/index.html
  • src/dashboard/server.ts
  • src/dashboard/styles.css
  • tests/unit/dashboard.test.ts
  • tsconfig.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/remove-dashboard

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 and usage tips.

@INONONO66 INONONO66 merged commit ffd8a44 into main May 28, 2026
3 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.

1 participant