FIRSTTeam102 / scoutradioz

Scoutradioz, a multi-team FRC scouting app developed by The Gearheads. Designed for and running on Amazon Web Services.
https://scoutradioz.com
Other
24 stars 9 forks source link

DT Dashboard + Upcoming: Add "update all matches" tip/link when matches not found #245

Open JL102 opened 5 months ago

JL102 commented 5 months ago

If someone is logged in as a team admin and goes to a page reliant on up come matches in the schedule, and there are no upcoming matches found, we should show a thing like "hey, no upcoming matches were found for this tournament. If you believe this is in error, try re syncing the match schedule." There should be some specific logic for this, though, because if all matches are complete, then we don't wanna show that message. One possible solution could be to check and see if we have a match score for the finals. If we do, then don't show the message. If we don't, then maybe the lack of upcoming matches could be an error, e.g. qualifiers are over but playoff schedule did not sync, or the match schedule was not sent in at all.