chore: remove dead code (AppSidebar, CreditsExhaustedModal, getApiKeyStatus)

↗ view on GitHub · z · 2026-05-13 · 9974612f

Batch 7 - refactor-cleaner sweep. Three call-site-less files
removed after the Mike 2.1 chrome migration:

- frontend/src/app/components/shared/AppSidebar.tsx (311 LOC):
  superseded by IconRail + SecondaryNav in batch 3.
- frontend/src/app/components/modals/credits-exhausted-modal.tsx
  (81 LOC): credit-system modal, no remaining importers after the
  subscription/paywall flow in batches 5-6.
- frontend/src/app/lib/mikeApi.ts getApiKeyStatus() (4 LOC):
  hits a route that no longer exists since batch 4.

Left alone (still has active importers): ApiKeyMissingModal,
modelAvailability helpers.

Agent ID: aca933ce4c3383624 (refactor-cleaner).
Repository hosman20/mike-2.0
Author z <z@zs-MacBook-Pro.local>
Authored
Parents d3956d04
Stats 3 files changed , -396
Part of Dead-code sweep after Mike 2.1 + gateway migrations

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-9974612f.md from inside the repo you want the change in.

⬇ Download capture-commit-9974612f.md