Add comprehensive metrics dashboard for submissions and participants#348
Merged
Add comprehensive metrics dashboard for submissions and participants#348
Conversation
- 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
daily-metricsendpoint for tracking submission flow over time (ingress, accepted, rejected, more_info_requested, points_awarded)participants-growthendpoint for validators, waitlist, and builders time-series dataTest plan
🤖 Generated with Claude Code