-
Notifications
You must be signed in to change notification settings - Fork 10
Add ability to toggle reminders #282
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
base: development
Are you sure you want to change the base?
Add ability to toggle reminders #282
Conversation
|
Hey @one-new-message, only saw this now. In general this seems fine, however a few things to keep in mind:
For example enabled would be true by default so we would check against the inverse, this ensures that people who don't have the property don't get their reminders turned off by default. Secondly, this would still send a reminder and not delete any scheduled reminders yet-to-be-sent. You would need to delete all queued events that are scheduled for the reminders you disable. |
|
Thanks for the feedback! To start, I've removed the requirement to set the Changing the check to There is no need for further changes for repeated reminders--when a PATCH request is received at the I don't believe this affects automated reminders either. These are not queued until they are triggered, and the check I implemented prevents them from being scheduled if disabled, which means they are never added to the queue. (Unless I'm missing something with the way the routes and events are configured/controlled.) Side note: I've managed to break my commit history in a way that may break merging again, so I'll likely need to move my changes into a new clean topic branch. If these changes are still potentially wanted, I'll draft a new PR and close this one. |
|
Hey @one-new-message thanks for the update (although by now the commits have merge conflicts 🙈 We did a lot of refactoring so I suspect that's what broke it. Once 1.11 is out we'll reach back out to get this PR merged and then we can update the app. |
|
Hey @one-new-message the API is now 'ready' in a sense that nothing major will change for a while so if you want to do a PR feel free. |
Obviously I can't work on implementing this in the official client, but I think this is all that is necessary to add the feature to the API. Currently drafting this PR to enable discussion, but maybe the issue tracker is a better place for this??
On Discord I shared this mockup:

Hopefully this type of design is versatile enough (I believe it is). Though discussion of the frontend should probably be held somewhere else entirely :)