It would be nice to have a function that will be triggered when new notification/notifications arrive to add some custom logic to pre-process the notifications before showing them on UI. For example to change the order of notifications or filter out old notifications etc.
🎤 Why is this feature needed ?
This function will allow adding some custom logic to pre-process notifications. For example, re-order the notification to implement priority of messages or filter out old notifications etc,
✌️ How do you aim to achieve this?
So the function should be invoked when new notifications are made, but before rendering notifications on UI to pre-process all notifications.
Input parameter is all received notifications and the function returns notifications that should be shown on the UI
(notifications) => notifications
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
🔖 Feature description
It would be nice to have a function that will be triggered when new notification/notifications arrive to add some custom logic to pre-process the notifications before showing them on UI. For example to change the order of notifications or filter out old notifications etc.
🎤 Why is this feature needed ?
This function will allow adding some custom logic to pre-process notifications. For example, re-order the notification to implement priority of messages or filter out old notifications etc,
✌️ How do you aim to achieve this?
So the function should be invoked when new notifications are made, but before rendering notifications on UI to pre-process all notifications. Input parameter is all received notifications and the function returns notifications that should be shown on the UI (notifications) => notifications
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None