shuashuai commented on issue #1266: URL: https://github.com/apache/answer/issues/1266#issuecomment-3388036098
> Hey, had some doubts about the scope of this feature. Currently In the notification polling requests we receive just the number of notifications, in an `inbox` key. How would we implement labels for the push notification in this case? we get the `notification_action` label in the `notification/page?type=inbox` api but that is only when we visit the notifications page. Would this require editing the plugin such that the latest notification's details (if any) are also sent to the user with the status polling request? Currently, the situation is that only the quantity is displayed in the notification polling. Detailed notification messages need to be re-implemented. I previously tested using PWA's push capability, which can basically achieve an app-like push effect. However, it requires a dedicated push service and has certain compatibility requirements for different browsers and devices. There is also a simpler solution using the [Notification API](https://developer.mozilla.org/en-US/docs/Web/API/Notification). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
