groupoffice icon indicating copy to clipboard operation
groupoffice copied to clipboard

Feature Proposal: Push notifications / Serviceworker addition

Open thomaseinasto opened this issue 2 years ago • 1 comments

Hi Merijn,

Just wanted to know if Group-Office has plans to integrate serviceworker in the core? As the application is PWA anyways it seems a logical to implement serviceworker also.

This would actually allow us migrate from Notification API (used in Notifier.js) to ServiceWorker Notification API which in return will allow push notifications for the PWA. (Using MinishLink Webpush probably)

Right now the limitation for Notifications is that user has to have Group-Office opened which is not ideal in every scenario.

As Apple released their 16.4, push notifications for PWA are not experimental anymore and are supported by iOS as default. True in limited functionality compared to Android but still nice to have notifications coming in the app on the background and by clicking them will navigate us to related Entity.

I have played around in GO 6.4 with creating a new custom Property and it seems that its working great. Have added some lines in modules which I want to have notifications and a small cron job which periodically checks if notification sending is required.

Employees are notified when needed without having Group-Office opened anywhere and UX seems more modern. Still thinking if I should add email notifications also.

Played also around with notification actions when lets say a task is linked with a billing record then user has option to either open the task or billing record with actionable buttons. But as actions are not supported in iOS and are not correctly working also in Android the only option is basically Windows / Mac where actions seemed to work correctly.

This is just an idea as I do understand that GO is going through major changes in backend and this is quite a priority than changing the Notifier itself.

Regards, Thomas

thomaseinasto avatar Jun 08 '23 11:06 thomaseinasto

Great idea, we will discuss about how to implement this.

mschering avatar Jul 06 '23 15:07 mschering