novu
novu copied to clipboard
🚀 Feature: ✨ Enhancing User Experience: Workflow Group Preferences
🔖 Feature description
Currently, user preferences are implemented at the individual workflow level. It would enhance user experience if we could extend this functionality to operate at the workflow group level. This way, users wouldn't need to navigate through all the workflows individually on the frontend (React SDK). Instead, they could manage preferences at the group level, enabling them to toggle visibility for an entire group of workflows, either turning them all off or on with a single action. This streamlined approach provides users with more efficient control over their preferences
🎤 Why is this feature needed ?
We are introducing a user experience enhancement where managing actions on individual workflows is streamlined. Let's illustrate this with two sets of workflows:
- Leave Request Workflows:
1. leave-request:create
2. leave-request:approve
3. leave-request:update
4. leave-request:reject
These are grouped under leave-request
. In the frontend application, only the "leave-request" workflow group is displayed. Users can use a single switch to enable or disable notifications for all four workflows within this group. This simplifies preference management, allowing users to control notifications for all related leave request workflows collectively.
- Timesheet Workflows:
1. timesheet:create
2. timesheet:approve
3. timesheet:update
4. timesheet:reject
Similarly, these workflows are grouped under timesheet
. Instead of displaying all eight workflows individually, we present only the two workflow groups, "leave-request" and "timesheet." Users can toggle preferences for entire groups, providing an efficient way to control notifications without the need to interact with each workflow separately. This streamlined approach enhances usability and reduces complexity in the frontend application.
✌️ How do you aim to achieve this?
As you can see in the above image I don't want to show all these workflows individually which are grouped under leave-request
Certainly! If you prefer to display only the "leave-request" workflow group in the notification center of the frontend app using the React SDK, the updated visual representation would showcase only this specific group. Here's a description of the expected image:
In the notification center of the frontend app (React SDK), you will now see an image that highlights the "leave-request" workflow group exclusively. This focused view eliminates the clutter of individual workflows and allows users to toggle notifications for the entire "leave-request" group with simplicity. This design choice aims to enhance user clarity and streamline the interaction with workflow preferences in the notification center.
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Contributing Guidelines
Are you willing to submit PR?
Yes I am willing to submit a PR!
It would also make sense to have one view with a table that shows all workflows and their preferences instead of grouping them I think. It is indeed cumbersome to go into each workflow individually to change it.