Skip to content

Feat/contest scope - #568

Draft
ZephyrNova47 wants to merge 49 commits into
VNOI-Admin:masterfrom
ZephyrNova47:feat/contest-scope
Draft

Feat/contest scope#568
ZephyrNova47 wants to merge 49 commits into
VNOI-Admin:masterfrom
ZephyrNova47:feat/contest-scope

Conversation

@ZephyrNova47

@ZephyrNova47 ZephyrNova47 commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Shifts problem access inside a contest from /problem/<code>/ to /contest/<key>/<order>/. Adds contest-scoped views for problem detail, submit, and submissions. Also adds a edirect view (SubmissionProblemRedirect) for submission pages to route back to the correct contest context.

Changed stuff:

  • The first 3 links are changed to contest scope, other links are keep as-it because normal user won't see it
image
  • The problem title in all the submission pages will direct to new link, not the old problem link
image
  • When contest ended, it will show original problem link, not contest link, unless user is doing virtual

  • Ticket is still linked to the old problem :(

  • Not yet to removed the current_participant because we haven't implement auto join yet, next pr maybe?

Comment thread judge/views/problem.py Outdated
Comment thread judge/views/problem.py Outdated
Comment thread templates/contest/contest.html Outdated
@leduythuccs

leduythuccs commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Shifts problem access inside a contest from /problem/<code>/ to /contest/<key>/<order>/. Adds contest-scoped views for problem detail, submit, and submissions. Also adds a edirect view (SubmissionProblemRedirect) for submission pages to route back to the correct contest context.

Changed stuff:

  • The first 3 links are changed to contest scope, other links are keep as-it because normal user won't see it
image
  • The problem title in all the submission pages will direct to new link, not the old problem link
image
  • When contest ended, it will show original problem link, not contest link, unless user is doing virtual

  • Ticket is still linked to the old problem :(

  • Not yet to removed the current_participant because we haven't implement auto join yet, next pr maybe?

@leduythuccs

Copy link
Copy Markdown
Contributor

Added support ticket for problem in contests, assignee will be the problem author and the contest author

image

@leduythuccs
leduythuccs force-pushed the feat/contest-scope branch from dfa679a to 1d3c8ba Compare May 31, 2026 16:42
@leduythuccs
leduythuccs marked this pull request as draft June 18, 2026 12:17
@leduythuccs

Copy link
Copy Markdown
Contributor

will pause the implementation of this til we have better way to do it

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.

2 participants