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

Mark slots as old when users aren't deleted #249

Open
itsrachelfish opened this issue Oct 2, 2024 · 0 comments
Open

Mark slots as old when users aren't deleted #249

itsrachelfish opened this issue Oct 2, 2024 · 0 comments

Comments

@itsrachelfish
Copy link
Member

Currently if the schedule is changed after a user has already signed up for a shift, the slot they signed up for won't be deleted. This is useful to ensure that users who signed up aren't randomly deleted from their shifts, but it creates a situation where there can be multiple duplicated shifts that don't appear in the schedule on desktop but can still be viewed on mobile. This also impacts reports as the duplicated slots also appear when reports are generated. See issue #247 for example

A solution to this would be to mark all old slots with a database flag when the schedule is updated. This would make it trivial to differentiate between which slots are the most recent and which ones are old with users who previously signed up.

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

No branches or pull requests

1 participant