nproth / pin

A minimalistic note-taking app for android utilizing your phone's notification area.
GNU General Public License v3.0
116 stars 7 forks source link

Added 10 second snooze duration for when slider is set to zero #4

Closed ewired closed 5 years ago

ewired commented 5 years ago

This would be useful to me as a user of Gadgetbridge and a smart wristband, allowing me to pin a note and then snooze it for 10 seconds so it may post a notification while the screen is off. At that point, I am able to view the pinned note on my wristband, as it should only send notifications when the phone's screen is off.

Features for your consideration, but I don't have the knowledge to complete myself:

nproth commented 5 years ago

Thank you very much for your contribution.

Different zero snooze durations are definitively possible, I will look into that. Gadgetbridge integration could be possible by binding this Service, unfortunately I have found no further documentation on this issue and it would probably require a rework of Pinboard.java, the part of p!n handling notifications, or the associated Service.

Could you please explain how your suggested auto-snooze feature would work?

ewired commented 5 years ago

Could you please explain how your suggested auto-snooze feature would work?

By auto-snooze I mean immediately snoozing before showing the notification, which would make it more convenient for <5min notifications; a user may more likely prefer a pin with a shorter duration to be snoozed and show up after the given time and make sound or, in my case, notify a wristband.

nproth commented 5 years ago

A small extra button next to the pin-button could handle this and add notes in background or – probably cleaner – it could be added as a setting and, if turned on, as a secondary function on one of the existing buttons. I will think on it, but currently I do not have much time to work on the project, so it could take a while until it this feature might become available.