appml / neutrinote

neutriNote - the original extensible Markdown + Math note app. Non-commerical. No lock-ins. Only 3 MB footprint & highly optimized. Designed for plaintext purists.
GNU General Public License v3.0
360 stars 25 forks source link

Add ability to notify of a note at date/time #89

Closed jm355 closed 2 months ago

jm355 commented 2 months ago

Is your feature request related to a problem? Please describe. I'd like to be able to use neutrinote as a todo list app (among other things), and I like to be able to set reminders for tasks and lists of tasks.

Describe the solution you'd like Say I'll need to do laundry on thursday at 17:00, I'd like to be able to make a new note that says laundry and get a system notification that shows the note filename and maybe a snippet of the note on thursday at 17:00

Describe alternatives you've considered The wiki mentions visual reminders as part of the snooze feature, but I don't know how to activate the reminders, and I'm not sure if they generate system notifications

Additional context Thanks for the great app!

appml commented 2 months ago

Regarding the feature described in here, you would need to adjust the note's metadata with the syntax provided.

To save battery, unlikely a full blown notification will be provided. However, you can always add any number of system alarm events for a note using Paste to Calendar function under 3-dot menu.

HTH.

jm355 commented 2 months ago

I believe that there's a way to use android alarms to allow the system handle it, I'm not sure but I'm guessing the alarm wakes the app up to let it do what it needs to, like send a system notification of the note. I'll see if I can find some documentation on it

jm355 commented 2 months ago

https://developer.android.com/develop/background-work/services/alarms/schedule here we go, there could be an option to set an inexact alarm or exact alarm, and warn the user that an exact one may use more battery

jm355 commented 2 months ago

Not sure what mechanism is used for auto-backup, but it might be able to make use of the alarm mechanism too

appml commented 2 months ago

Worker is used to save battery due to heavy I/O. Users have complained about massive drain with mechanism such as alarm thus not used. HTH.