I think that you could do like this :
-
notifications for all companies, even in workspace mode
-
click on the bell to open a page with all notifications for all companies, even in workspace mode
-
let the user trigger the action from this page
I have a Laravel+Livewire app. There's a company/organization switch mode, where a user can have multiple companies to work, and a company may have multiple users at the same time.
I could manage to overcome many challenges so far. But I am stuck at a point and need to find the best practice.
If there's a notification, I display it in the top nav bar, then user clicks and goes to the notifications route, where they can see all the notifications, read unread. But some notifications require actions, like Accept or Decline. And some notifications are related to the user only, such as friendship requests etc.
If user in the workspace mode (a company selected), then they only see this company related data. What will happen if they have a notification related to another company? I can not shut the notifications of the other companies, a notification might be important for the user, where they would want to take action immediately.
It does not sound efficient to switch company with each notification clicked. But seems like it is the most appropriate solution I could made up so far.
Anyone has a better solution?
Thanks in advance. Regards, AKA
Please or to participate in this conversation.