Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I 221 add clarification announcement #920

Merged
merged 18 commits into from
Dec 10, 2024

Conversation

kkarakas
Copy link
Collaborator

@kkarakas kkarakas commented Feb 1, 2024

Description of what the PR does

Judge can now send announcement clarification to all teams,groups,certain teams with a single button. Their announcement will be displayed as announcement in "All clarifications" tab with correct destinations. In future, how it appears to WTI should be considered.

Issue which the PR addresses

fixes #221

Environment in which the PR was developed (OS,IDE, Java version, etc.)

Windows 11, Eclipse 2021-12 R, JDK 8u381 (1.8)

Precise steps for testing the PR (i.e., how to demonstrate that it works correctly)

From judge, go to generate clarification, toggle generate announcement. Observe that the text on button changes, title changes (hidden under checkbox right now), various buttons come. When announcement is sent all users receive a clarification without question.
Judge can also sent clarification without question to groups and some users from the same tab.
Observe that Judges and teams display all clarifications tab correctly. Judges now have the status of ANNOUNCED and shows all the teams,groups it sent.

@kkarakas kkarakas force-pushed the i_221_add_clarification_announcement branch from 059b62c to 6e84743 Compare February 1, 2024 20:19
@johnbrvc johnbrvc added this to the 9.10.0 milestone Feb 2, 2024
Various Bugs

Users can also do announcement since they share a pane with the judge. (Major)
Groups are not implemented (Major)
NullController etc has errors in it but I dont know what they are(Major-Minor)

Users receive a response, rather than announcement. (Minor)
Buttons are not alligned well (Minor)
Hover info can be added (Minor)
Copyright are not dated right (Minor)
@kkarakas kkarakas force-pushed the i_221_add_clarification_announcement branch from fd82443 to 72d3827 Compare February 13, 2024 00:35
@troy2914 troy2914 modified the milestones: 9.10.0, 9.11.0 Feb 27, 2024
@kkarakas kkarakas changed the title I 221 add clarification announcement INCOMPLETE I 221 add clarification announcement Mar 7, 2024
@johnbrvc johnbrvc self-requested a review March 14, 2024 23:15
@kkarakas
Copy link
Collaborator Author

kkarakas commented Oct 9, 2024

Merge conflicts does not appear to have caused any problems.

@johnbrvc johnbrvc self-requested a review November 23, 2024 15:17
Copy link
Collaborator

@johnbrvc johnbrvc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested at GNY and PacNW Regionals. Seems to work. There will be a couple of Issue reports following after this PR is merged to address some GUI issues.

Copy link
Collaborator

@SamanwaySadhu SamanwaySadhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed only code and not execution. Did not find anything major. Just change the first copyright lines to reflect 2024 to a few files. Approved otherwise.

@@ -472,6 +473,7 @@ public Response clarifications(@ApiParam(value="token used by logged in users to

//return to the team only those clars that came from the team, or from the judges
if(clar.getTeam().getLoginName().equalsIgnoreCase(userInformation.getMyClient().getLoginName()) || isJudge || clar.isSendToAll()) {
//TODO must also include clars directed to here from group
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this going to be a part of separate issue?

Copy link
Collaborator

@SamanwaySadhu SamanwaySadhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@johnbrvc johnbrvc merged commit 440d573 into pc2ccs:develop Dec 10, 2024
3 checks passed
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 a way for a Judge to send a clarification to a team (as well as to All Teams clar)
4 participants