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

Improve event notifications in general. #28

Open
AkshayAgarwal007 opened this issue Aug 11, 2017 · 7 comments
Open

Improve event notifications in general. #28

AkshayAgarwal007 opened this issue Aug 11, 2017 · 7 comments

Comments

@AkshayAgarwal007
Copy link
Contributor

AkshayAgarwal007 commented Aug 11, 2017

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.

@Perelandra0x309
Copy link

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?

@CodeforEvolution
Copy link

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
Hope this helps!

@AkshayAgarwal007
Copy link
Contributor Author

AkshayAgarwal007 commented Aug 12, 2017

@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

@Perelandra0x309
Copy link

@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.

@AkshayAgarwal007
Copy link
Contributor Author

AkshayAgarwal007 commented Aug 21, 2017

@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...

@Perelandra0x309
Copy link

@AkshayAgarwal007 I never did get to that point yet.

@AkshayAgarwal007
Copy link
Contributor Author

I implemented a basic one after I asked you that... :)
https://dev.haiku-os.org/ticket/13679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants