Skip to content

Add CSV, JSON, and Markdown submission downloads - #17

Open
cuevaio wants to merge 2 commits into
waynesutton:mainfrom
cuevaio:feat/submission-download-formats
Open

Add CSV, JSON, and Markdown submission downloads#17
cuevaio wants to merge 2 commits into
waynesutton:mainfrom
cuevaio:feat/submission-download-formats

Conversation

@cuevaio

@cuevaio cuevaio commented Sep 3, 2026

Copy link
Copy Markdown

Summary

  • Move the existing CSV export into the View submissions toolbar.
  • Add JSON downloads using the existing export dataset.
  • Add escaped Markdown files packaged as a ZIP with numbered, sanitized filenames.
  • Harden CSV output against spreadsheet formulas and multiline values.
  • Load JSZip only when a Markdown archive is requested.

Implementation

All formats use the existing judging.results-protected export query. This PR does not change the Convex API, database schema, authorization, or exported dataset.

Verification

  • npm run build
  • Focused ESLint on all changed source files
  • CSV escaping checked for empty, whitespace, formula, and multiline cells
  • JSZip confirmed as a separate lazy-loaded chunk
  • Diff checked for local paths, deployment identifiers, test scaffolding, and unrelated skill changes
Screenshot 2026-09-03 at 1 13 27 AM

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