l2lam / CBC-Board-System

Sports (badminton) club session management system to faciliate efficient, fair play for all club members
Apache License 2.0
1 stars 1 forks source link

Switch clubs #7

Open l2lam opened 1 month ago

l2lam commented 1 month ago

Switching clubs entails reseting all the players and games states. Simplistically, we could just clear all the queues and courts. Ideally, we remember the queues and courts states on a per-club level and restore them when switching clubs.

UserC2 commented 1 month ago

Will this be saved in the front end or in the database?

l2lam commented 1 month ago

For now we will save these states locally. In the future, if there is a need to sync the session states across machines then we'll have to consider persisting the data into the remote database.