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

Update feet rank and UI #5099

Merged
merged 1 commit into from Jan 26, 2020
Merged

Update feet rank and UI #5099

merged 1 commit into from Jan 26, 2020

Conversation

viroulep
Copy link
Member

Fixes #5028, supersedes #5097.

In order to let the WCAT be able to edit events and rounds for past competitions which have deprecated events, I adjusted the normalizeWcifEvents to first build a list of wcifEvents from the official list of events, and then add back all the remaining events in wcifEvents (which are therefore all deprecated).

This is not quite ideal since we still don't have a clue about which events were official at what time, but at least it should remove feet without hindering WCAT/WRT/Delegates work.

In order for this to properly work, we need to synchronize with the WRT to run CAD which will effectively update the rankings and profile pages.
I'm not too sure about the sum of rank computation but I believe it also uses only official events.
If it doesn't, well it will just wait until we get rid of the php code.

@viroulep
Copy link
Member Author

For the record I did run CAD locally to check how it looked (good).

@viroulep viroulep added this to In progress in Regulations 2020 via automation Jan 26, 2020
Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

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

I like this idea and the code LGTM!

@viroulep
Copy link
Member Author

Thanks for the review Jonatan!
I'll synchronize with WRT to merge this.

@viroulep viroulep merged commit 93118d7 into thewca:master Jan 26, 2020
Regulations 2020 automation moved this from In progress to Done Jan 26, 2020
@viroulep viroulep deleted the update-feet-rank branch January 26, 2020 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Remove Feet Icon
2 participants