Skip to content

Comments

Add comprehensive metrics dashboard for submissions and participants#348

Merged
rasca merged 3 commits intodevfrom
fix-submissions-calls
Jan 30, 2026
Merged

Add comprehensive metrics dashboard for submissions and participants#348
rasca merged 3 commits intodevfrom
fix-submissions-calls

Conversation

@rasca
Copy link
Contributor

@rasca rasca commented Jan 30, 2026

Summary

  • Add daily-metrics endpoint for tracking submission flow over time (ingress, accepted, rejected, more_info_requested, points_awarded)
  • Add participants-growth endpoint for validators, waitlist, and builders time-series data
  • Replace old metrics charts with new participants growth chart and submissions analytics
  • Add page-wide date filters and day/week/month grouping options
  • Fix duplicate API calls and optimize steward submissions page

Test plan

  • Verify metrics page loads with participants growth chart
  • Test date filter and grouping controls work correctly
  • Verify submissions flow bar chart displays correctly
  • Check cumulative totals chart shows proper queue depth
  • Confirm colors match sidebar theme (sky for validators, orange for builders)

🤖 Generated with Claude Code

rasca added 3 commits January 29, 2026 15:43
- Add missionsStore.js to cache and deduplicate /missions/ API requests
- Update ContributionSelection to use cached getMissions() instead of direct API
- Prefetch missions in StewardSubmissions to warm cache before cards mount
- Use bulk_create() for evidence items when accepting submissions
- Fix URL mismatch in updateURL() (/steward/ -> /stewards/) that caused 404 on refresh

Reduces 10+ duplicate missions calls to 2-3 cached calls, and N evidence
INSERT queries to 1 bulk INSERT.
When selecting a tag like "type:" from autocomplete, don't add a space
after the colon since the user needs to type the value immediately.
Only add space after complete suggestions like "type:builder".
- Add daily_metrics endpoint to track submission flow over time
  (ingress, accepted, rejected, more_info_requested, points_awarded)
- Add participants-growth endpoint for validators, waitlist, and builders
- Support day/week/month grouping with configurable date range
- Replace old metrics charts with new participants growth chart
- Add submissions flow bar chart and cumulative totals line chart
- Add page-wide filters at top applying to all charts
- Use category-consistent colors (sky for validators, orange for builders)
@rasca rasca merged commit cbe2817 into dev Jan 30, 2026
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