[Feature Request] Add checkbox to enable overwritting existing problems on upload
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- full-stack
Research direction
No files or tests are named. Start by tracing the upload interface and the PID-assignment path for an uploaded .zip, then determine how an existing problem is identified. Done means a user can opt into overwriting an existing PID while preserving historical submission records, with the default behavior unchanged.
Written by the indexing model from the issue text.
Description
When I edit a problem locally and upload the updated .zip to Hydro, the system assigns a new PID if that PID already exists. I can't delete the old problem to reuse the PID because it would result in the loss of historical submission records.
It would be highly appreciated if we could add a checkbox (e.g., "Overwrite when PID exists") to the upload interface. This would allow users to update existing problems without breaking the link to past submissions.
- Dominant language
- TypeScript
- Stars
- 7.3k
- Forks
- 504
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hydro-dev/Hydro
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
希望给编辑器加个选择,可回到旧版Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
希望比赛赛制增加CCPC新赛制Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Similar issues
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Possibly taken @goranai claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Inbox permission: an allow sent with `updatedInput` is ignored by Claude Code on its own safety checksPossibly taken @Raj1v claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
backnotprop/plannotator#4046 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
traPtitech/knoQ_R-UI#290 ·
Maintainers usually reply within 24 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
farion1231/cc-switch#9981 · 2 comments ·
Maintainers usually reply within 1 day
-
account bug course exam iris lecture
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day