@equinor/fusion-framework-dev-portal 8.0.2 → 9.0.0
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/CHANGELOG.md +41 -0
- package/README.md +4 -3
- package/dist/main.js +15741 -16017
- package/package.json +33 -29
- package/src/Router.tsx +6 -6
- package/src/configure.ts +60 -19
- package/src/version.ts +1 -1
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/src/useAppContextNavigation.ts +0 -153
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @equinor/fusion-framework-dev-portal
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1b9d026: Integrate `@equinor/fusion-framework-plugin-context-navigation` into the dev portal.
|
|
8
|
+
|
|
9
|
+
Portal context-to-URL reconciliation is now handled by `@equinor/fusion-framework-plugin-context-navigation`, replacing the ad-hoc hook-based approach.
|
|
10
|
+
|
|
11
|
+
- 0d9d876: Internal: bump transitive dependencies bundled into these packages' build output via `pnpm.overrides` — `undici` (`<7.29.0`), `brace-expansion` (`<2.1.4`), `fast-uri` (`<3.1.5`), and `postcss` (`<=8.5.22`) — to resolve Dependabot security alerts. These packages bundle their dependency tree (rollup/vite build) and are therefore always changesetted for dependency changes, even when only the root lockfile resolution moves.
|
|
12
|
+
- Updated dependencies [b92698d]
|
|
13
|
+
- Updated dependencies [593a44b]
|
|
14
|
+
- Updated dependencies [1b9d026]
|
|
15
|
+
- Updated dependencies [1b9d026]
|
|
16
|
+
- Updated dependencies [1b9d026]
|
|
17
|
+
- Updated dependencies [1b9d026]
|
|
18
|
+
- Updated dependencies [0d9d876]
|
|
19
|
+
- @equinor/fusion-framework-app@12.0.0
|
|
20
|
+
- @equinor/fusion-framework-plugin-context-navigation@0.1.0
|
|
21
|
+
- @equinor/fusion-framework-module-context@8.0.2
|
|
22
|
+
- @equinor/fusion-framework-module-navigation@7.0.7
|
|
23
|
+
- @equinor/fusion-framework-dev-server@2.0.18
|
|
24
|
+
- @equinor/fusion-framework@8.0.13
|
|
25
|
+
- @equinor/fusion-framework-module-analytics@3.0.5
|
|
26
|
+
- @equinor/fusion-framework-module-telemetry@7.0.2
|
|
27
|
+
|
|
28
|
+
## 8.0.3
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- f7d2666: Match `app-portal` stacking behaviour.
|
|
33
|
+
- Updated dependencies [de2b4fb]
|
|
34
|
+
- @equinor/fusion-framework-module-app@8.0.4
|
|
35
|
+
- @equinor/fusion-framework-module-analytics@3.0.4
|
|
36
|
+
- @equinor/fusion-framework-module-bookmark@4.0.4
|
|
37
|
+
- @equinor/fusion-framework-module-feature-flag@2.0.3
|
|
38
|
+
- @equinor/fusion-framework-module-services@8.0.3
|
|
39
|
+
- @equinor/fusion-query@7.0.3
|
|
40
|
+
- @equinor/fusion-framework-app@11.0.12
|
|
41
|
+
- @equinor/fusion-framework@8.0.12
|
|
42
|
+
- @equinor/fusion-framework-dev-server@2.0.17
|
|
43
|
+
|
|
3
44
|
## 8.0.2
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Use this package when you need a portal host for local app development. For the
|
|
|
13
13
|
- **Portal shell**: A React application that renders the top bar, context selector, and an app mounting area.
|
|
14
14
|
- **Application loader**: Dynamically initializes and mounts a Fusion app by its `appKey`, handling manifest resolution, script loading, and teardown.
|
|
15
15
|
- **Framework modules**: The portal pre-configures telemetry, navigation, bookmarks, feature flags, analytics, AG Grid, and service integrations so loaded apps inherit a realistic environment.
|
|
16
|
-
- **Context navigation**:
|
|
16
|
+
- **Context navigation plugin**: The portal enables `enableContextNavigation` from `@equinor/fusion-framework-plugin-context-navigation` so context changes and app switches keep the URL in sync automatically.
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
19
19
|
|
|
@@ -94,12 +94,13 @@ const devServer = await createDevServer({
|
|
|
94
94
|
The portal is composed of these internal parts:
|
|
95
95
|
|
|
96
96
|
- **`render`** — Entry point; creates a React root with theme, framework, and people-resolver providers.
|
|
97
|
-
- **`configure`** — Configures all framework modules (telemetry, navigation, bookmarks, feature flags, analytics, AG Grid, services).
|
|
97
|
+
- **`configure`** — Configures all framework modules (telemetry, navigation, context navigation, bookmarks, feature flags, analytics, AG Grid, services).
|
|
98
|
+
- **Context configuration** — `enableContext` wires the context module's path generator and path extractor to the shared context-navigation URL utilities.
|
|
98
99
|
- **`Router`** — Sets up routes with `react-router` via the navigation module; routes `/apps/:appKey/*` to the app loader.
|
|
99
100
|
- **`AppLoader`** — Resolves, initializes, and mounts a Fusion app by key; handles loading states and errors.
|
|
100
101
|
- **`Header`** — Top bar with the Fusion logo, context selector, bookmark toggle, and person settings.
|
|
101
102
|
- **`ContextSelector`** — Wired to the current app's context module for searching and selecting context items.
|
|
102
|
-
- **`
|
|
103
|
+
- **`enableContextNavigation`** — Registers the portal-level context navigation plugin that reconciles the active context with the browser URL.
|
|
103
104
|
|
|
104
105
|
## Constraints
|
|
105
106
|
|