Skip to content

feat(admin): export ready-video CSV from analytics - #176

Merged
ckj merged 2 commits into
masterfrom
feat/admin-analytics-video-csv-export
Aug 31, 2026
Merged

feat(admin): export ready-video CSV from analytics#176
ckj merged 2 commits into
masterfrom
feat/admin-analytics-video-csv-export

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Adds an admin-only Export ready videos CSV action on /admin/analytics?year=YYYY.

Why
Seed offline spreadsheets for:

  • awards ceremony prep
  • culture/recruiting supercut harvest
  • year retrospectives / archive indexing

without turning hackweek into a clip-logging product or giving non-admins write access.

What

  • GET /api/admin/analytics/export?year= returns CSV of active projects with a ready video
  • sorted by total votes (sum across award categories), with competition vote_rank
  • includes project/video URLs (app paths, not signed media), video_id, filename, duration, description, team members, awards, and per-category vote breakdown
  • zero-vote ready videos included at the bottom; failed/missing videos excluded

Not in scope
clip/timecode logging, non-admin access, public top-N UI

Requested by ckj.

--

View Junior Session [Sentry]

Add an admin-only CSV download of ready project videos ranked by total votes for awards ceremony prep, supercut harvesting, and year retrospectives.

Co-Authored-By: Chris Jennings <chris@sentry.io>
@ckj
ckj marked this pull request as ready for review August 31, 2026 20:02

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9464f47. Configure here.

Comment thread src/app/styles.css Outdated
Narrow the analytics hero muted paragraph selector so .formError is not overridden.
@ckj
ckj merged commit 0e21013 into master Aug 31, 2026
13 checks passed
@ckj
ckj deleted the feat/admin-analytics-video-csv-export branch August 31, 2026 20:17
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