-
Notifications
You must be signed in to change notification settings - Fork 2.8k
console: notifications bug fixes #6067
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
console: notifications bug fixes #6067
Conversation
karthikvt26
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before we save the notification state to the database, we should refetch and save. The problem here is lets say
- Admin has opened the console and the
console_notificationwould haveadminnotification usage info - Collaborator has opened the console and the
console_notificationwould haveadminrelated usage info andcollaboratornotification usage info.
Now if the admin doesn't refresh the page and does any operation such as read and this operation would remove the collaborator's activity and if collaborator refreshes the page they would see the badge and all the notification being unread
|
Deploy preview for hasura-docs ready! Built with commit 854d3b1 |
…notifications-fixes
…notifications-fixes
…notifications-fixes
karthikvt26
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified the functionality
beerose
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console
Description
This PR fixes some issues with #5070 for cloud and pro usage. There are also some additional types added related to the ReduxState which are kinda related to these fixes.
Affected components
Related issues
https://github.com/hasura/graphql-engine-pro/pull/600