cardinalitypuzzles / cardboard

Dashboard for managing puzzles and tracking status during a puzzle hunt
MIT License
31 stars 21 forks source link

Improve the deleted puzzles interaction #766

Open rgossiaux opened 5 months ago

rgossiaux commented 5 months ago

We might want to just mark them with a flag rather than actually deleting them from the db, to make it easier to restore them in case of an accident. Right now you have to create a new puzzle and then edit its sheet field, and this flow is pretty awkward/bad (eg timestamps messed up, chat channel associations lost)

rgossiaux commented 5 months ago

This also causes cache problems with get_puzzle_pk_from_drive_item if we ever change sheet IDs manually since we never clear the cache (maybe should track separately tbh)