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

🚀 Feature: Add function to manage the notifications to react component #5749

Open
2 tasks done
RuslanHryn opened this issue Jun 17, 2024 · 1 comment
Open
2 tasks done
Labels

Comments

@RuslanHryn
Copy link

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

Copy link

linear bot commented Jun 17, 2024

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

No branches or pull requests

1 participant