-
Notifications
You must be signed in to change notification settings - Fork 416
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-5839 fix: resource blocking #3199
Conversation
The case:
2025-01-21.15.04.36.mov |
if (!nodeId.startsWith('database://')) { | ||
return; | ||
} | ||
|
||
const indexOfConnectionPart = nodeId.indexOf('/', 11); | ||
const connectionId = nodeId.slice(11, indexOfConnectionPart > -1 ? indexOfConnectionPart : nodeId.length); |
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.
lets remove magic numbers and move the key database://
to something like NodeManagerUtils.DatabaseNodeBase
cloudbeaver/webapp/packages/core-navigation-tree/src/NodesManager/NodeManagerUtils.ts
and replace this 11
with its length
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.
refactored
Also have found this case 2025-01-22.13.46.55.mov |
9340cd8
* CB-5839 fix: resource blocking * CB-5839 fix: unlock nav resources * fix: connections loading * feat: select new folder or connection * chore: localization * chore: revert improvements * fix: load connections list for connection selector * fix: error * fix: wrong action handler * CB-5839 fix: resources tree validation * fix: reaction concurrency * CB-5839 fixes build for new CellFormatter (ObjectMenuCell) after merge conflicts * СB-5839 changes delay for menu item loaders * CB-5839 fix: keys intersection detection in resources * CB-5839 fix: keys intersection detection in resources --------- Co-authored-by: mr-anton-t <[email protected]> Co-authored-by: Daria Marutkina <[email protected]> Co-authored-by: sergeyteleshev <[email protected]> Co-authored-by: Evgenia <[email protected]>
No description provided.