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

Snooze & NL to add time feature req #88

Closed
vutsalsinghal opened this issue Oct 15, 2024 · 3 comments
Closed

Snooze & NL to add time feature req #88

vutsalsinghal opened this issue Oct 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@vutsalsinghal
Copy link

Hi @Casvt!

Thank you creating MIND.

I had actually created a very basic flask app with form to add reminders and get notified with selfhosted NTFY. But it lacked few features already there in MIND and my app's UI was too plain 😄.

  1. One of the feature I relied on a lot in my app was the ability to snooze. NTFY supports actions and I could tap the button from the notification to snooze it for 1hr,3hrs, etc (based on my use case). I know not all notifications agents via apprise may support the action functionality but adding support for those that do would be amazing! 🙏🏼

I can think of 2 ways to achieve snooze

  • Maybe user can pass a custom ntfy json with action parameters
  • expose MIND api so users can programatically re-add same reminder with updated time
  1. There is a python library dateparser using which you can use natural language (NL) for date/time input. This will speed up process of adding a reminder on the go. (I use voice input instead of typing on the phone a lot 😆)
@vutsalsinghal vutsalsinghal added the enhancement New feature or request label Oct 15, 2024
@vutsalsinghal vutsalsinghal changed the title Snooze, time increments, NL to add time Snooze & NL to add time feature req Oct 15, 2024
@Casvt
Copy link
Owner

Casvt commented Oct 15, 2024

Apprise doesn't allow the user to set up these "actions". So it's not happening that way.

So it would need to be implemented by MIND itself. However, unless a reminder is reoccurring (e.g. weekly), it's deleted after it's triggered. That means there's no way to access it afterwards to set the snooze.

Issue #83 will allow you to supply a custom cron schedule for a reminder. This would allow you to kind of replicate a forced snooze, by creating the desired schedule and then altering it so that it also triggers X minutes/hours after the set times.

@Casvt Casvt closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
@vutsalsinghal
Copy link
Author

vutsalsinghal commented Oct 15, 2024

Setting snooze via cron doesn't make sense.

is there MIND api to create reminders?

@Casvt
Copy link
Owner

Casvt commented Oct 15, 2024

Yeah the documentation hub has the docs: https://casvt.github.io/MIND/other_docs/api/

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

No branches or pull requests

2 participants