Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the deleted puzzles interaction #766

Open
rgossiaux opened this issue Jan 14, 2024 · 1 comment
Open

Improve the deleted puzzles interaction #766

rgossiaux opened this issue Jan 14, 2024 · 1 comment

Comments

@rgossiaux
Copy link
Contributor

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
Copy link
Contributor Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants