Skip to content

Conversation

meisterT
Copy link
Member

@meisterT meisterT commented Sep 6, 2025

Fixes #3009


Example:

image

Clicking on one opens the regular clarification modal dialog:

image

meisterT added a commit to meisterT/domjudge that referenced this pull request Sep 6, 2025
Previously, the following could happen:
- team A requests a clarification, potentially including details the
  jury doesn't want to broadcast
- the jury replies to everyone, removing the part from the question that
  they don't want to have broadcasted
- team B views the reply from the jury, sees the whole clarification
  thread

Found while working on DOMjudge#3087
@vmcj
Copy link
Member

vmcj commented Sep 6, 2025

Im not 100% sure if I like this better than what I suggested in the issue. This feels out of place to me.

meisterT added a commit to meisterT/domjudge that referenced this pull request Sep 7, 2025
Previously, the following could happen:
- team A requests a clarification, potentially including details the
  jury doesn't want to broadcast
- the jury replies to everyone, removing the part from the question that
  they don't want to have broadcasted
- team B views the reply from the jury, sees the whole clarification
  thread

Found while working on DOMjudge#3087
@meisterT
Copy link
Member Author

meisterT commented Sep 7, 2025

How do like something like this then?

image
image

@vmcj
Copy link
Member

vmcj commented Sep 7, 2025

How do like something like this then?
image image

Yes but I was clearly wrong with the greyed out button. It doesn't add anything and just takes up space.

@meisterT
Copy link
Member Author

meisterT commented Sep 7, 2025

Alright, changed my commit to that effect. Please take a look.

@meisterT
Copy link
Member Author

meisterT commented Sep 7, 2025

(I need to fix the unit test, will do that after we agreed whether this is the right approach)

@vmcj
Copy link
Member

vmcj commented Sep 8, 2025

I assume red is unread & blue is read? I think this is good. I first considered bold for unread but that might look out of place.

So LGTM after fixing the unit tests.

github-merge-queue bot pushed a commit that referenced this pull request Sep 12, 2025
Previously, the following could happen:
- team A requests a clarification, potentially including details the
  jury doesn't want to broadcast
- the jury replies to everyone, removing the part from the question that
  they don't want to have broadcasted
- team B views the reply from the jury, sees the whole clarification
  thread

Found while working on #3087
@meisterT meisterT added this pull request to the merge queue Sep 14, 2025
Merged via the queue into DOMjudge:main with commit 35b2e6f Sep 14, 2025
36 checks passed
@meisterT meisterT deleted the clars_probset branch September 14, 2025 10:10
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.

Add clarification counter/preview to problemsoverview page

2 participants