这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kolharsam
Copy link
Contributor

@kolharsam kolharsam commented Oct 23, 2020

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

  • Console

Related issues

https://github.com/hasura/graphql-engine-pro/pull/600

Copy link
Contributor

@karthikvt26 karthikvt26 left a 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

  1. Admin has opened the console and the console_notification would have admin notification usage info
  2. Collaborator has opened the console and the console_notification would have admin related usage info and collaborator notification 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

@netlify
Copy link

netlify bot commented Nov 2, 2020

Deploy preview for hasura-docs ready!

Built with commit 854d3b1

https://deploy-preview-6067--hasura-docs.netlify.app

@kolharsam kolharsam requested a review from karthikvt26 November 2, 2020 09:21
Copy link
Contributor

@karthikvt26 karthikvt26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the functionality

Copy link
Contributor

@beerose beerose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Console

@rikinsk rikinsk changed the title console: console notification bug fixes console: notifications bug fixes Nov 6, 2020
@kodiakhq kodiakhq bot merged commit 31d07cb into hasura:master Nov 6, 2020
scriptonist pushed a commit to scriptonist/graphql-engine that referenced this pull request Nov 8, 2020
beerose pushed a commit to beerose/graphql-engine that referenced this pull request Nov 10, 2020
beerose pushed a commit to beerose/graphql-engine that referenced this pull request Nov 10, 2020
beerose pushed a commit to beerose/graphql-engine that referenced this pull request Nov 10, 2020
@beerose beerose mentioned this pull request Nov 10, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants