InsaLan / backend-insalan.fr

Backend of the insalan website
MIT License
2 stars 0 forks source link

Tournament plannings #121

Closed KwikKill closed 8 months ago

KwikKill commented 8 months ago

Add planning to tournament.

KwikKill commented 8 months ago

I wouldn't do this if I were you, but yeah, it's not exactly my problem anymore.

Well, i agree with the comment part (definitely my bad), but I don't see other way to handle schedule and tournament schedules easily. With this, we don't have anything to change in the front if we want to change a schedule and it's only a click and a ctrl + C to import a schedule from a google sheet.

With more thought, we can replace the hardcoded if "planning" in self.name: with a "planning" boolean in the template for greater clarity.

If you see other way to improve this or to achieve the same goal, feel free to share but that seems in my opinion the best compromise between ease of use for teams / readability for users / page loading time.