c-o-l-i-n / joshies

🚀 (Work in Progress) Supercharge dynamic, multi-day competitions with realtime brackets, betting, analytics, and more
1 stars 0 forks source link

Tournament Brackets, Manage Events Page, and Edit Teams Page #18

Closed theuphonist closed 1 week ago

theuphonist commented 1 week ago

Tournament Brackets

A new tournament bracket component for viewing brackets and selecting match winners. The component takes in an event ID and generates a bracket based on the teams assigned to that event.

Edit Events Page

A page for updating the configuration of existing events. This functions similarly to the Edit Gameboard Space Types page.

Edit Teams Page

A page for editing the teams of existing events and who's assigned to them. Event teams are edited locally on the client side, and then changes can be pushed to the backend via save button. There is a database function for handling all changes to event teams.

Future Work

The tournament bracket component and Manage Events page need to be incorporated into the overall flow of the session. Currently, there is a "Create Brackets" link on the GM Tools page for viewing brackets. Brackets should be viewable for the active event, and potentially for past/future events. Brackets also need to be locked down such that only the GM can select winners.

cloudflare-pages[bot] commented 1 week ago

Deploying joshies with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8adf51a
Status: ✅  Deploy successful!
Preview URL: https://0baf6bdc.joshies.pages.dev
Branch Preview URL: https://feature-tournament-bracket-g.joshies.pages.dev

View logs