Skip to content

Commit 0048ad8

Browse files
devnaumovkseniaguzeevadariamarutkina
authored
CB-6131 get loaders from all tabs, not only visible (#3210)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com> Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
1 parent c85974c commit 0048ad8

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
/*
2+
* CloudBeaver - Cloud Database Manager
3+
* Copyright (C) 2020-2024 DBeaver Corp and others
4+
*
5+
* Licensed under the Apache License, Version 2.0.
6+
* you may not use this file except in compliance with the License.
7+
*/
18
export const IGNORED_DEPENDENCIES = ['tslib'];

webapp/packages/core-cli/src/dependency-validator/INodePackage.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* CloudBeaver - Cloud Database Manager
3+
* Copyright (C) 2020-2024 DBeaver Corp and others
4+
*
5+
* Licensed under the Apache License, Version 2.0.
6+
* you may not use this file except in compliance with the License.
7+
*/
18
export interface INodePackage {
29
name: string;
310
version?: string;

webapp/packages/core-cli/src/dependency-validator/KNOWN_PEER_DEPS_MAP.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* CloudBeaver - Cloud Database Manager
3+
* Copyright (C) 2020-2024 DBeaver Corp and others
4+
*
5+
* Licensed under the Apache License, Version 2.0.
6+
* you may not use this file except in compliance with the License.
7+
*/
18
export const KNOWN_PEER_DEPS_MAP: Record<string, string[]> = {
29
'mobx-react-lite': ['mobx', 'react-dom'],
310
'@testing-library/react': ['@testing-library/dom', 'react-dom'],

webapp/packages/core-ui/src/Tabs/TabsState.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,7 @@ export const TabsState = observer(function TabsState<T = Record<string, any>>({
260260

261261
useAutoLoad(
262262
TabsState,
263-
container
264-
?.getDisplayed(props)
263+
container?.tabInfoList
265264
.map(tab => tab.getLoader?.(context, props))
266265
.filter(isDefined)
267266
.flat() || [],

webapp/packages/plugin-object-viewer-nav-tree-link/src/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
* CloudBeaver - Cloud Database Manager
3+
* Copyright (C) 2020-2024 DBeaver Corp and others
4+
*
5+
* Licensed under the Apache License, Version 2.0.
6+
* you may not use this file except in compliance with the License.
7+
*/
18
export * from './ACTION_LINK_OBJECT.js';
29
export * from './KEY_BINDING_LINK_OBJECT.js';
310
import { objectViewerNavTreeLinkPlugin } from './manifest.js';

0 commit comments

Comments
 (0)