Skip to content

feat(marketplace): add usage analytics for template authors#352

Merged
vincentgrobler merged 1 commit intomainfrom
refactor/admin-subnav
Apr 10, 2026
Merged

feat(marketplace): add usage analytics for template authors#352
vincentgrobler merged 1 commit intomainfrom
refactor/admin-subnav

Conversation

@vincentgrobler
Copy link
Copy Markdown
Collaborator

@vincentgrobler vincentgrobler commented Apr 10, 2026

Description

Enhanced the Creator Dashboard with comprehensive analytics:

  • 4 summary cards: Published, Total Installs, Avg Rating, Total Reviews
  • Install trend area chart (30-day daily + cumulative)
  • Rating distribution bar chart (1-5 stars)
  • Per-agent performance table (installs, rating, reviews, publish date)
  • Recent reviews feed with star display

DB layer: fetchCreatorAnalytics() collects per-agent stats, time-bucketed install trends, rating distribution, and recent reviews from existing agent_installs, agent_reviews, and agents tables. No migrations needed.

Hook: useCreatorAnalytics() React Query wrapper with 1-min stale time.

Related Issue

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📝 Documentation update
  • ♻️ Refactor (no functional changes)
  • 🧪 Test update

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Browser testing (specify browsers)

Screenshots (if applicable)

Checklist

  • My code follows the project's coding standards
  • I have run npm run lint and there are no errors
  • I have run npm run test and all tests pass
  • I have added tests for my changes (if applicable)
  • I have updated the documentation (if applicable)
  • My source files have AGPL licence headers
  • My changes generate no new TypeScript errors

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

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

Project Deployment Actions Updated (UTC)
crewform Ready Ready Preview, Comment Apr 10, 2026 10:51pm

Enhanced the Creator Dashboard with comprehensive analytics:

- 4 summary cards: Published, Total Installs, Avg Rating, Total Reviews
- Install trend area chart (30-day daily + cumulative)
- Rating distribution bar chart (1-5 stars)
- Per-agent performance table (installs, rating, reviews, publish date)
- Recent reviews feed with star display

DB layer: fetchCreatorAnalytics() collects per-agent stats, time-bucketed
install trends, rating distribution, and recent reviews from existing
agent_installs, agent_reviews, and agents tables. No migrations needed.

Hook: useCreatorAnalytics() React Query wrapper with 1-min stale time.
@vincentgrobler vincentgrobler force-pushed the refactor/admin-subnav branch from a2fab1e to 2824b60 Compare April 10, 2026 22:51
@vincentgrobler vincentgrobler merged commit ca816a0 into main Apr 10, 2026
8 checks passed
@vincentgrobler vincentgrobler deleted the refactor/admin-subnav branch April 15, 2026 09:12
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