@equinor/fusion-framework-dev-portal 1.2.6 → 1.4.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 CHANGED
@@ -1,5 +1,33 @@
1
1
  # @equinor/fusion-framework-dev-portal
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3922](https://github.com/equinor/fusion-framework/pull/3922) [`d34ebd8`](https://github.com/equinor/fusion-framework/commit/d34ebd82c93acabc88f88e44a725f084af3af5ec) Thanks [@odinr](https://github.com/odinr)! - Enable AG Grid Enterprise license injection for the dev-portal by setting a global window key produced from the SPA template environment. The portal reads `window.FUSION_AG_GRID_KEY` to configure the AG Grid module and silence license warnings when a valid key is present. CLI docs now mention the license key setup.
8
+
9
+ **Usage:**
10
+
11
+ - In your SPA environment file, set `FUSION_SPA_AG_GRID_KEY=your-license-key-here`.
12
+ - The SPA HTML template injects `window.FUSION_AG_GRID_KEY` before bootstrap runs, and the dev-portal picks it up automatically.
13
+
14
+ Closes: https://github.com/equinor/fusion-core-tasks/issues/93
15
+ Resolves: https://github.com/equinor/fusion-core-tasks/issues/92
16
+ Solves: https://github.com/equinor/fusion/issues/732
17
+
18
+ ## 1.3.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#3900](https://github.com/equinor/fusion-framework/pull/3900) [`d7a9d12`](https://github.com/equinor/fusion-framework/commit/d7a9d127db9daff7d645d55eb08f37d1c36fa825) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Add feature flag `fusionLogAnalytics` to dev-portal in CLI.
23
+
24
+ Add `ConsoleAnalyticsAdapter` Adapter to analytics module if the feature flag is
25
+ enabled.
26
+
27
+ By enabling this feature flag, analytics events will be logged out in the
28
+ console. This is useful when you want to test events created by app teams (e.g.
29
+ using `trackFeature` hook).
30
+
3
31
  ## 1.2.6
4
32
 
5
33
  ### Patch Changes
package/README.md CHANGED
@@ -21,6 +21,24 @@ The following environment variables must be set in `.env` or in the environment
21
21
  - FUSION_MSAL_TENANT_ID: The tenant ID for MSAL authentication.
22
22
  - FUSION_SERVICE_DISCOVERY_URL: The URL for service discovery.
23
23
  - FUSION_SERVICE_SCOPE: The scopes for the service.
24
+ - FUSION_SPA_AG_GRID_KEY: (Optional) AG Grid Enterprise license key for local development. When provided, this eliminates AG Grid license console warnings when running the portal locally with AG Grid-enabled features.
25
+
26
+ ### Local AG Grid Configuration
27
+
28
+ To use AG Grid Enterprise features without console warnings during local development:
29
+
30
+ 1. Obtain an AG Grid Enterprise license key from your organization
31
+ 2. Add the key to your `.env` file:
32
+ ```sh
33
+ FUSION_SPA_AG_GRID_KEY=your-license-key-here
34
+ ```
35
+ 3. Start the dev portal:
36
+ ```sh
37
+ pnpm start
38
+ ```
39
+ 4. Verify the configuration by opening the portal and checking the browser console - there should be no AG Grid license warnings
40
+
41
+ **Note**: The license key is only used for local development and is never committed to the repository or deployed to production.
24
42
 
25
43
  ## Development
26
44