-
Notifications
You must be signed in to change notification settings - Fork 20
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
Improve event notifications in general. #28
Comments
Unfortunately the built in BNotification in Haiku is very limited, as you note. Notifications disappear after a certain amount of time elapses if the user does not click on it. There is no notification history to view, so if you are away and a notification appears and disappears you will not know. I did a little bit of work to improve that but you know, time. Notifications may be improved sometime in the future, but for now if you are able to program something custom in the calendar app that would be best until BNotifications are improved. Also there is no built-in scheduling service like cron yet. So you may need to have Calendar open all the time, or maybe you will need to create a separate calendar daemon to display event reminders if Calendar is closed? |
If you need to launch an app on start up like @Perelandra0x309 said with a background daemon, you may want to take a look at Haiku's launch daemon: https://dev.haiku-os.org/wiki/LaunchDaemon |
@Perelandra0x309 Ya I spend quite some time looking at your work on implementing a notification center which looks cool. https://dev.haiku-os.org/ticket/12809 I was thinking of a separate background process which runs as a deskbar replicant and does the task of generating the reminders and an option to open Calendar similar to network status applet. Thanks. I'll have a look at it. @CodeforEvolution |
@AkshayAgarwal007 Yeah you could do the Deskbar replicant two ways. Either the replicant itself contains the entire logic for keeping track of events, or you have a separate daemon which just uses a replicant as a basic user interface. The replicant can pass messages back and forth with a daemon, I did that with my new notification center code. |
@Perelandra0x309 did you by chance work on the relative time formatting(of when the notification arrived...3 hours ago etc.) enhancement that humdingerb suggested? There doesn't seem to be a relative datetime formatter in locale kit that's why asked... |
@AkshayAgarwal007 I never did get to that point yet. |
I implemented a basic one after I asked you that... :) |
Presently it simply uses BNotification and delivers an information notification to the user about the event's occurrence. But that may not be enough. The user may want to snooze the reminder for a certain period and want the reminder again after that period. This is standard is almost all calendar apps and in my view a necessary feature.
The text was updated successfully, but these errors were encountered: