Closed kesdlvi closed 3 weeks ago
And ideally the website should work with the new format, do you think it would be pretty simple (eg changing how the dates and scores are displayed) or is it a lot more work? If it's just simple naming changes, can you add that to this PR?
No need to do anything else with the matches collection
Why is it called "uploadMatchSchemas.js" if it's not uploading any schemas?
The lack of a "name" field was why the site was breaking when a new match was uploaded. I implemented dynamic match name creation to solve this.
Addresses (1), (3), (6) in issue #182
For (4), I have a script that added a "version" field to the docs in the "UCLA (M)" and "UCLA (W)" collection. I can also add to the "matches" if needed.
For (5), I tested uploading various matches, but since it breaks the site I decided to not keep them in the firebase. I can add them back if needed.
I also commented out the
parseMatchScore
function, wasn't sure if it is still needed, but it doesn't work on the sets.