Skip to content

Global general public clarifications on public pages - #3652

Open
vmcj wants to merge 2 commits into
DOMjudge:mainfrom
vmcj:public_clars
Open

Global general public clarifications on public pages#3652
vmcj wants to merge 2 commits into
DOMjudge:mainfrom
vmcj:public_clars

Conversation

@vmcj

@vmcj vmcj commented May 31, 2026

Copy link
Copy Markdown
Member

Builds on #3651 but has 1 commit which I suspect will require more discussion on:

  • if we want it
  • when we would need it
  • when should it not be there
  • for which pages would we need it.

So this does need input but should pass CI.

@vmcj vmcj changed the title Public clars Global general public clarifications on public pages May 31, 2026
@vmcj
vmcj force-pushed the public_clars branch 3 times, most recently from 1bee4d4 to 7abe68a Compare May 31, 2026 12:13
@vmcj
vmcj requested a review from meisterT July 3, 2026 18:15
vmcj added 2 commits July 11, 2026 11:30
Before we linked to the 'team' page for clarifications, this duplicates
that page with less information as we know less about those users such
as 'seen' status etc.

This required a lof of deduplication by moving the templates around. There
were 2 possible solutions, moving from 'public_' to 'team_' when a team is logged
on or respect the URL. The advantage of one is that teams do endup on the
'public' page we would redirect and they would get all relevant information but
for jury members with a team we would prefer the route that you can see what
the public would see.

The change would be simple, instead of checking if the current_route starts with
'team_' we would need to check if the `team` is authenticated and select on that.
To do this properly we need to think about how to get those cleanly, a lot
of data gathering is now handled by DOMJudgeService so the function should be
reachable from there. Cleaner would be a dedicated Service which would be better
in a dedicated PR as it's currently unclear if we want this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant