-
Notifications
You must be signed in to change notification settings - Fork 398
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
CB-4841 fix: doesn't show database auth login popup when filters enabled #2510
Conversation
runInAction(() => { | ||
this.userData.filter = value; | ||
this.userData.filter = value; | ||
|
||
runInAction(() => { | ||
for (const nodeState of this.state.values()) { | ||
nodeState.showInFilter = false; | ||
} |
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.
seems like case fix but not fix of the problem
actual problem is here:
Line 203 in 1105f13
const expanded = elementsTree.isNodeExpanded(child, true); |
explanation:
loadTree
triggered concurrently with user change
userData
updated but it state isn't applied yet
…ers enabled" This reverts commit 325f364.
…can-hardly-be-closed-after-relogin-with-an-applied-navigator-filter
This reverts commit 6deccf2.
…can-hardly-be-closed-after-relogin-with-an-applied-navigator-filter
@@ -56,12 +56,10 @@ export class ConnectionAuthService extends Dependency { | |||
return null; | |||
} | |||
|
|||
let connection = this.connectionInfoResource.get(key); | |||
const connection = await this.connectionInfoResource.load(key, ['includeAuthNeeded', 'includeNetworkHandlersConfig', 'includeCredentialsSaved']); |
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.
We probably want to load the ['includeAuthNeeded', 'includeNetworkHandlersConfig', 'includeCredentialsSaved'] includes only if the function is near the network handlers initialization. This would avoid loading useless data, for example, if we are already connected and the function merely returns the connection.
…can-hardly-be-closed-after-relogin-with-an-applied-navigator-filter
…can-hardly-be-closed-after-relogin-with-an-applied-navigator-filter
…can-hardly-be-closed-after-relogin-with-an-applied-navigator-filter
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.
current fix seems too complicated
No description provided.