-
Notifications
You must be signed in to change notification settings - Fork 186
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
Check schedule and events/rounds match before confirming a competition #3207
Conversation
Are there any logistical challenges with implementing this? How are tentative events handled? |
Tentative events are not supported currently, which seems to be the main issue as a few Delegates would like to have them. |
0446c25
to
843b529
Compare
It seems that the schedule has been in regular use for some time now, is this ready to be merged? |
I think we are waiting for WRT to confirm that they are ready for this. |
Uhm, no, I don't think so. Unless I am missing something this PR is unrelated to #3127 . |
I didn't have any review from the WST though :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment from me, LGTM! Exciting step forward 🚢
Sorry @SAuroux someone mentioned this PR in the email thread and I misinterpreted one of the responses to be related to this PR instead of the original. |
Actually, I've just realized that it would also make sense to require at least one round for each declared event. Does it sound right? |
843b529
to
e53f825
Compare
Just added the test for at least one round per event! |
e53f825
to
e9a2890
Compare
Great, I believe it's ready to go! 🚢 |
Fixes #3574.
⚠️ This will effectively prevent organizers/Delegates from confirming a competition before they have created a valid schedule in the "Manage Schedule" page.
It should not be merged before #3018 is merged, and we should wait for when the Board is ready to enforce this.
The validation is triggered only when
isConfirmed
changes, for two reasons: