@gooddata/sdk-ui-pluggable-host 11.57.0-alpha.3 → 11.57.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/Root.js +2 -2
- package/esm/ui/DefaultHostUi.js +1 -1
- package/esm/ui/HostChat.js +1 -1
- package/package.json +19 -20
package/esm/components/Root.js
CHANGED
|
@@ -39,7 +39,7 @@ export function Root({ callbacks }) {
|
|
|
39
39
|
function ReadyRoot({ ctx, callbacks }) {
|
|
40
40
|
useEffect(() => {
|
|
41
41
|
callbacks?.onReady?.(ctx);
|
|
42
|
-
}, []); //
|
|
42
|
+
}, []); // oxlint-disable-line react-hooks/exhaustive-deps -- run once on mount
|
|
43
43
|
const { pathname, search } = useLocation();
|
|
44
44
|
const routerNavigate = useNavigate();
|
|
45
45
|
const apps = usePluggableApplications(ctx);
|
|
@@ -52,7 +52,7 @@ function ReadyRoot({ ctx, callbacks }) {
|
|
|
52
52
|
else if (redirect.state === "error") {
|
|
53
53
|
callbacks?.onError?.(redirect.error, "redirect");
|
|
54
54
|
}
|
|
55
|
-
}, [redirect]); //
|
|
55
|
+
}, [redirect]); // oxlint-disable-line react-hooks/exhaustive-deps -- pathname is intentionally omitted; redirect already encapsulates path evaluation
|
|
56
56
|
if (redirect.state === "loading" || redirect.state === "redirect") {
|
|
57
57
|
return _jsx(FullScreenLoader, {});
|
|
58
58
|
}
|
package/esm/ui/DefaultHostUi.js
CHANGED
|
@@ -26,7 +26,7 @@ function HostUiBridge({ initialCtx, initialApps, initialPathname, navigate, repl
|
|
|
26
26
|
onAppContainerReady(appContainerRef.current);
|
|
27
27
|
}
|
|
28
28
|
// Only call once on mount
|
|
29
|
-
//
|
|
29
|
+
// oxlint-disable-next-line react-hooks/exhaustive-deps
|
|
30
30
|
}, []);
|
|
31
31
|
return (_jsx(HostErrorBoundary, { onError: onError, locale: resolveLocale(ctx.preferredLocale), children: _jsx(HostChrome, { ctx: ctx, resolvedApplications: apps, pathname: pathname, onNavigate: navigate, onReplace: replace, headerOptions: headerOptions, notification: notification, showChatItem: chatState.showChatItem, chatIsOpen: chatState.isOpen, onChatToggle: onChatToggleRequested, onAskAiAssistant: onAskAiAssistant, appPageTitle: pageTitle, children: _jsx("div", { ref: appContainerRef, className: e("app-container") }) }) }));
|
|
32
32
|
}
|
package/esm/ui/HostChat.js
CHANGED
|
@@ -82,7 +82,7 @@ export function HostChat({ ctx, resolvedApplications, pathname, activeAppId, vis
|
|
|
82
82
|
chatOpen();
|
|
83
83
|
}
|
|
84
84
|
// `seq` changes on every request, so a repeated identical open/ask/toggle still re-runs this.
|
|
85
|
-
//
|
|
85
|
+
// oxlint-disable-next-line react-hooks/exhaustive-deps
|
|
86
86
|
}, [visibilitySeq, chatAskAiAssistant, chatOpenAiAssistant, chatOpen, chatClose, chatToggle]);
|
|
87
87
|
const enablePanel = useGenAiRightPanel(features.settings["enableGenAiRightPanel"], context?.embedded);
|
|
88
88
|
const Wrapper = useCallback(({ chatIsOpen, children, enablePanel, }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-pluggable-host",
|
|
3
|
-
"version": "11.57.0-alpha.
|
|
3
|
+
"version": "11.57.0-alpha.5",
|
|
4
4
|
"description": "GoodData SDK runtime for hosting pluggable applications — registry, loader, routing, platform context, default UI chrome",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@module-federation/runtime": "2.6.0",
|
|
31
31
|
"lodash-es": "^4.17.23",
|
|
32
|
-
"@gooddata/sdk-backend-base": "11.57.0-alpha.
|
|
33
|
-
"@gooddata/sdk-
|
|
34
|
-
"@gooddata/sdk-
|
|
35
|
-
"@gooddata/sdk-
|
|
36
|
-
"@gooddata/sdk-
|
|
37
|
-
"@gooddata/sdk-
|
|
38
|
-
"@gooddata/sdk-
|
|
39
|
-
"@gooddata/sdk-ui-
|
|
40
|
-
"@gooddata/sdk-ui-
|
|
41
|
-
"@gooddata/sdk-ui-gen-ai": "11.57.0-alpha.
|
|
42
|
-
"@gooddata/sdk-ui-
|
|
43
|
-
"@gooddata/
|
|
44
|
-
"@gooddata/
|
|
45
|
-
"@gooddata/sdk-ui-
|
|
32
|
+
"@gooddata/sdk-backend-base": "11.57.0-alpha.5",
|
|
33
|
+
"@gooddata/sdk-backend-spi": "11.57.0-alpha.5",
|
|
34
|
+
"@gooddata/sdk-backend-tiger": "11.57.0-alpha.5",
|
|
35
|
+
"@gooddata/sdk-embedding": "11.57.0-alpha.5",
|
|
36
|
+
"@gooddata/sdk-model": "11.57.0-alpha.5",
|
|
37
|
+
"@gooddata/sdk-pluggable-application-model": "11.57.0-alpha.5",
|
|
38
|
+
"@gooddata/sdk-ui": "11.57.0-alpha.5",
|
|
39
|
+
"@gooddata/sdk-ui-application-header": "11.57.0-alpha.5",
|
|
40
|
+
"@gooddata/sdk-ui-ext": "11.57.0-alpha.5",
|
|
41
|
+
"@gooddata/sdk-ui-gen-ai": "11.57.0-alpha.5",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "11.57.0-alpha.5",
|
|
43
|
+
"@gooddata/sdk-ui-semantic-search": "11.57.0-alpha.5",
|
|
44
|
+
"@gooddata/util": "11.57.0-alpha.5",
|
|
45
|
+
"@gooddata/sdk-ui-theme-provider": "11.57.0-alpha.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-documenter": "7.30.10",
|
|
@@ -62,15 +62,14 @@
|
|
|
62
62
|
"eslint-plugin-no-barrel-files": "1.2.2",
|
|
63
63
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
64
64
|
"eslint-plugin-react": "7.37.5",
|
|
65
|
-
"eslint-plugin-react-hooks": "5.2.0",
|
|
66
65
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
67
66
|
"happy-dom": "20.12.0",
|
|
68
67
|
"jiti": "2.6.1",
|
|
69
68
|
"npm-run-all": "4.1.5",
|
|
70
69
|
"oxfmt": "0.66.0",
|
|
71
|
-
"oxlint": "1.
|
|
70
|
+
"oxlint": "1.82.0",
|
|
72
71
|
"oxlint-plugin-eslint": "1.82.0",
|
|
73
|
-
"oxlint-tsgolint": "0.
|
|
72
|
+
"oxlint-tsgolint": "7.0.2001",
|
|
74
73
|
"react": "19.1.1",
|
|
75
74
|
"react-dom": "19.1.1",
|
|
76
75
|
"react-intl": "10.1.25",
|
|
@@ -82,8 +81,8 @@
|
|
|
82
81
|
"vite": "8.0.16",
|
|
83
82
|
"vitest": "4.1.8",
|
|
84
83
|
"vitest-dom": "0.1.1",
|
|
85
|
-
"@gooddata/eslint-config": "11.57.0-alpha.
|
|
86
|
-
"@gooddata/oxlint-config": "11.57.0-alpha.
|
|
84
|
+
"@gooddata/eslint-config": "11.57.0-alpha.5",
|
|
85
|
+
"@gooddata/oxlint-config": "11.57.0-alpha.5"
|
|
87
86
|
},
|
|
88
87
|
"peerDependencies": {
|
|
89
88
|
"react": ">=18.3.1",
|