evroon / bracket

Selfhosted tournament system with web interface
https://docs.bracketapp.nl
GNU Affero General Public License v3.0
194 stars 39 forks source link

Add state management to tournaments #690

Open evroon opened 4 months ago

evroon commented 4 months ago

spinoff from: https://github.com/evroon/bracket/issues/650

  1. Tournament States: Define states such as [Draft], [Running], and [Archived] to manage the tournament lifecycle more effectively. In the [Draft] state, all data can be modified without entering match results. Once in the [Running] state, only match results should be updatable. Finally, the [Archived] state would freeze all data, allowing only queries.

We should implement archiving tournaments and making them read-only.

In running state, more should be able to be updated than just match results IMO. Bracket should be flexible enough (and already is) to handle changes to team setups or changing team names etc. during tournaments, which is an important feature that other tools don't have.

The draft state is IMO just the same as the regular state, except that it isn't visible publicly (for which option there is already support), so I don't think we need that.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 60 days with no activity. What is the action to take here?