docs: document both ways to add a CP Arena problem (admin console + JSON/seed) - #130
Merged
Conversation
…SON/seed) challenges/README.md predated the admin console, and CONTRIBUTING.md still described the old pre-D1 model. Rectified: - challenges/README.md now leads with the two publish paths — the admin console (/admin -> New problem, including Import from JSON) and the JSON-file + seed-script path — keeps the full field schema, and adds a complete worked example. - CONTRIBUTING.md section 9 lists both paths (was "admin dashboard is planned"). - CONTRIBUTING.md: fixed the stale note that problems are "bundled at build time" and "publishing is a redeploy" — problems live in D1 and publish via a seed or the admin console, not a redeploy (only the team/initiatives content is a build-time manifest). Docs only.
barunaniket
requested review from
hagemaruwu,
shivanshpap and
vaibhavtulsian
as code owners
August 17, 2026 05:24
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What
Documents how to add a CP Arena problem — both ways — and rectifies text that predated the D1 migration and the admin console.
challenges/README.md(rewritten)Leads with the two publish paths:
/admin → New problem, fill the form, or Import from JSON (paste/upload a problem JSON to pre-fill it).Keeps the full field schema table + checker reference, and adds a complete worked example (
.json) a contributor can copy and adapt.CONTRIBUTING.mdDocs only — no code changes.