perrycate / tournamap

Website to visualize Smash Ultimate tournaments near you
https://tournamap.gg
GNU General Public License v3.0
9 stars 6 forks source link

Add in metadata for tournament list, starting with updated at information #55

Closed ajistrying closed 1 year ago

ajistrying commented 1 year ago

Second PR for #36 after gaining more context on what needed to be done Lmk how this approach work, definitely open to any changes big or small!

I also included some slight tweaks to avoid callback hell when we pull the tournament json on the react side inside that useEffect call, and made some object querying syntax more consistent in the TournamentMarker component. I think the metadata we're starting to add might work at the top of the list in the left-hand panel, or maybe in the top right hand corner of the map view, not too sure tbh.

Also, wanted to get your thoughts on adding in some proper routing so we can navigate between the current two pages and whatever other eventual pages that would get added in the future more easily.

perrycate commented 1 year ago

Gonna wait to merge this until later tonight. CI is in a weird state where changes to the frontend will be automatically deployed, but the fetch script hasn't yet been converted to a github action and needs to be manually deployed by me.

Later tonight I can do both at once to keep them from getting out of sync with each other.

Update: Done!