Skip to content

Fix admin dashboard status vocabulary and GitHub enrichment mismatches - #32

Merged
crewcricle merged 1 commit into
mainfrom
fix/admin-registry-status-and-github-enrichment
Jul 28, 2026
Merged

Fix admin dashboard status vocabulary and GitHub enrichment mismatches#32
crewcricle merged 1 commit into
mainfrom
fix/admin-registry-status-and-github-enrichment

Conversation

@rprabhat

Copy link
Copy Markdown
Collaborator

Summary

The admin dashboard showed all 6 projects as "Killed" (0 active, $0 MRR) despite 3 apps being genuinely live, and every GitHub column showed "—" with no star/fork data.

Status vocabulary mismatch: registry.json uses "live"/"coming_soon", but RegistryProject's type and StatusBadge only understood "active"/"killed" — anything else silently rendered "Killed" and was excluded from the active count. Extended to a real 3-state model (active/coming_soon/killed, matching what the Python provisioning script actually writes for new projects) with a new amber "Coming Soon" badge, and fixed the stat-card subtitle that hardcoded everyone-not-active as "killed".

GitHub enrichment: root cause was CC_GITHUB_USERNAME=crewcricle (typo, org no longer exists) in local env — not part of this diff since it's a local-only fix. While tracing it, also found taxflowai (registry ID) doesn't match the real GitHub repo taxflow-ai (hyphen). Added a small REPO_NAME_OVERRIDES map in github.ts rather than renaming the registry ID, which is used as a key across routes/costs/provisioning.

Test plan

  • npx tsc --noEmit — clean
  • npx eslint src --quiet — clean
  • Verified live in local dev: 3 Active / 3 Coming Soon, correct MRR (A$153.00), real GitHub star counts pulling through (e.g. CardSnap ★2)

🤖 Generated with Claude Code

The dashboard showed all 6 projects as "Killed" with 0 active and
$0 MRR despite 3 apps being genuinely live. Root cause: registry.json
uses a "live"/"coming_soon" status vocabulary, but RegistryProject's
type and StatusBadge only understood "active"/"killed" — anything else
silently rendered as "Killed" and was excluded from the active count.

Extended the vocabulary to a real 3-state model (active/coming_soon/
killed, matching what the Python provisioning script actually writes
for newly created projects) instead of forcing coming-soon apps into
a binary active/killed choice. Added a "Coming Soon" badge variant.
Also fixed the Active Projects stat card, which hardcoded everyone
not active as "killed" regardless of their real status.

Separately, GitHub star/fork enrichment showed "—" for every project.
Root cause was a typo'd org name that no longer exists on GitHub
(crewcricle vs crewcircle — this is a local env var fix, not reflected
in this diff). While tracing it, also found one registry ID that
doesn't match its real GitHub repo name (taxflowai vs taxflow-ai,
a hyphen difference GitHub's case-insensitive matching can't paper
over). Added a small override map in github.ts rather than renaming
the registry ID, which is used as a key across routes/costs/provisioning.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
crewcircle-website Ready Ready Preview, Comment Jul 28, 2026 5:22am

@crewcricle
crewcricle merged commit 6bd95f5 into main Jul 28, 2026
6 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