feat: analytics dashboards & two-tier feedback system #78
Reference in New Issue
Block a user
Delete Branch "feat/analytics-feedback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/sessions/{id}/rate)/steps/{id}/feedback)/analytics): Stat cards, stacked area chart, top flows & engineers leaderboards — team admin/owner only/analytics/me): Individual stats, charts, outcome distribution — any user/ratingsalias routes for existing step rating endpointsImprovements built in
percentile_cont— resistant to outlier sessionsBackend
session_ratingstable + analytics indexesSessionRatingmodel + analytics schemas/sessions/{id}/rate,/steps/{id}/feedback,/analytics/team|me|flows/{id}Frontend
StepFeedbackcomponent with first-time hint + localStorage dismissalCSATModalwith star rating UI + skip optionFlowAnalyticsPanelwith dropoff table highlighting (>20% = red)Test plan
/analyticsas team admin — verify charts render with data/analyticsas engineer — verify access denied with link to/analytics/me/analytics/me— verify personal stats loadpytest— all 528 tests passnpm run build— clean build🤖 Generated with Claude Code
🚅 Deployed to the patherly-pr-78 environment in selfless-grace