Skip to content

feat(admin): track VS Code Marketplace installs in the dashboard#34

Merged
asafamos merged 1 commit into
mainfrom
feat/dashboard-marketplace
Jun 6, 2026
Merged

feat(admin): track VS Code Marketplace installs in the dashboard#34
asafamos merged 1 commit into
mainfrom
feat/dashboard-marketplace

Conversation

@asafamos

@asafamos asafamos commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Why

npm was the only distribution channel the dashboard could see. The VS Code extension asafamos.axle-a11y has 19 installs and a 5★ rating that were completely invisible — surfaced only by digging through old publish emails.

What

  • Server-side fetch of the public VS Marketplace gallery API (extensionquery, flags 914) for install / download / rating counts. Resilient — any failure yields zeros, never breaks the page (same pattern as the npm block).
  • New "VS Code Marketplace" section in /admin, rendered alongside npm downloads.
  • Drive-by: fixed a pre-existing react-hooks/set-state-in-effect lint error on the token-load effect (documented eslint-disable — the effect-based localStorage read is intentional to avoid an SSR hydration mismatch on the controlled input).

Verification

  • tsc --noEmit → exit 0
  • eslint (both files) → exit 0
  • Exercised the exact fetch/parse path standalone → live data: 19 installs / 59 downloads / 5.0★ (1).

🤖 Generated with Claude Code

npm was the only distribution channel the dashboard could see. The VS Code
extension (asafamos.axle-a11y) had 19 installs + a 5★ rating that were
invisible — discovered only by digging through old publish emails.

- Fetch the public VS Marketplace gallery API server-side (extensionquery,
  flags 914) for install/download/rating counts. Resilient: any failure
  yields zeros, never breaks the page.
- New "VS Code Marketplace" section in /admin, alongside npm.
- Drive-by: fix a pre-existing react-hooks/set-state-in-effect lint error on
  the token-load effect (documented disable — the effect read is intentional
  for SSR hydration-safety).

Verified: tsc + eslint clean; the fetch/parse path returns live data
(19 installs / 59 downloads / 5.0★).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
axle Ready Ready Preview, Comment Jun 6, 2026 8:26pm

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

✅ No accessibility violations detected

Scanned http://localhost:3000 at 2026-06-06T20:26:07.570Z

axe-core automated checks catch roughly 57% of WCAG issues. Manual review still recommended.

Powered by axle · Remediation assistance, not compliance certification.

@asafamos asafamos merged commit be2296d into main Jun 6, 2026
4 checks passed
@asafamos asafamos deleted the feat/dashboard-marketplace branch June 6, 2026 20:48
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