@equinor/fusion-framework-dev-portal 8.0.0 → 8.0.1
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 +88 -0
- package/dev-server.ts +4 -0
- package/dist/main.js +17463 -17458
- package/package.json +39 -39
- package/src/AppLoader.tsx +6 -19
- package/src/ContextSelector/ContextSelector.tsx +7 -0
- package/src/ContextSelector/useContextResolver.ts +53 -33
- package/src/Header.tsx +2 -2
- package/src/PersonSideSheet/index.tsx +1 -0
- package/src/PersonSideSheet/sheets/FeatureTogglerApp.tsx +1 -1
- package/src/PersonSideSheet/sheets/FeatureTogglerPortal.tsx +1 -1
- package/src/Router.tsx +0 -2
- package/src/{config.ts → configure.ts} +3 -0
- package/src/get-app-tag-from-url.ts +17 -0
- package/src/main.tsx +2 -2
- package/src/useAppContextNavigation.ts +2 -0
- package/src/version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- /package/src/{BookMarkSideSheet.tsx → BookmarkSideSheet.tsx} +0 -0
- /package/src/{Header.Actions.tsx → HeaderActions.tsx} +0 -0
- /package/src/PersonSideSheet/sheets/{Styled.tsx → styled.tsx} +0 -0
- /package/src/resources/{fallback-photo.svg.ts → svg.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# @equinor/fusion-framework-dev-portal
|
|
2
2
|
|
|
3
|
+
## 8.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 80c3e4a: Internal: remove duplicate git-tracked files that differed only in filename casing (`BookMarkSideSheet.tsx`/`BookmarkSideSheet.tsx` and `PersonSideSheet/sheets/Styled.tsx`/`styled.tsx`). Both pairs had identical content; only the casing actually referenced by imports is kept. This was invisible on case-insensitive filesystems but broke builds on case-sensitive ones (`TS1149`). No behavior change.
|
|
8
|
+
- 80c3e4a: Internal: renamed several source files to align with filename conventions and added a missing intent comment for object-merge logic; no public API changes.
|
|
9
|
+
- 80c3e4a: Internal: added intent comments to satisfy `fusion-lint` rules (control-flow, iterator/rxjs chains, and type-assertion casts) and referenced tracking issues (#5064) for pre-existing TODO comments. No behavior changes.
|
|
10
|
+
- 80c3e4a: Internal: add a required fusion-lint intent comment explaining an `as unknown as ContextSelectEvent` cast in `ContextSelector`. No behavior change.
|
|
11
|
+
- 80c3e4a: Internal: resolve `fusion-lint` warnings (intent comments on control flow, component TSDoc, and single-export-per-file) with no behavioral changes.
|
|
12
|
+
- Updated dependencies [80c3e4a]
|
|
13
|
+
- Updated dependencies [80c3e4a]
|
|
14
|
+
- Updated dependencies [80c3e4a]
|
|
15
|
+
- Updated dependencies [80c3e4a]
|
|
16
|
+
- Updated dependencies [80c3e4a]
|
|
17
|
+
- Updated dependencies [80c3e4a]
|
|
18
|
+
- Updated dependencies [80c3e4a]
|
|
19
|
+
- Updated dependencies [80c3e4a]
|
|
20
|
+
- Updated dependencies [80c3e4a]
|
|
21
|
+
- Updated dependencies [80c3e4a]
|
|
22
|
+
- Updated dependencies [80c3e4a]
|
|
23
|
+
- Updated dependencies [80c3e4a]
|
|
24
|
+
- Updated dependencies [80c3e4a]
|
|
25
|
+
- Updated dependencies [80c3e4a]
|
|
26
|
+
- Updated dependencies [80c3e4a]
|
|
27
|
+
- Updated dependencies [80c3e4a]
|
|
28
|
+
- Updated dependencies [80c3e4a]
|
|
29
|
+
- Updated dependencies [80c3e4a]
|
|
30
|
+
- Updated dependencies [80c3e4a]
|
|
31
|
+
- Updated dependencies [80c3e4a]
|
|
32
|
+
- Updated dependencies [80c3e4a]
|
|
33
|
+
- Updated dependencies [80c3e4a]
|
|
34
|
+
- Updated dependencies [80c3e4a]
|
|
35
|
+
- Updated dependencies [80c3e4a]
|
|
36
|
+
- Updated dependencies [80c3e4a]
|
|
37
|
+
- Updated dependencies [80c3e4a]
|
|
38
|
+
- Updated dependencies [80c3e4a]
|
|
39
|
+
- Updated dependencies [80c3e4a]
|
|
40
|
+
- Updated dependencies [80c3e4a]
|
|
41
|
+
- Updated dependencies [80c3e4a]
|
|
42
|
+
- Updated dependencies [80c3e4a]
|
|
43
|
+
- Updated dependencies [80c3e4a]
|
|
44
|
+
- Updated dependencies [80c3e4a]
|
|
45
|
+
- Updated dependencies [80c3e4a]
|
|
46
|
+
- Updated dependencies [80c3e4a]
|
|
47
|
+
- Updated dependencies [80c3e4a]
|
|
48
|
+
- Updated dependencies [80c3e4a]
|
|
49
|
+
- Updated dependencies [80c3e4a]
|
|
50
|
+
- Updated dependencies [80c3e4a]
|
|
51
|
+
- Updated dependencies [80c3e4a]
|
|
52
|
+
- Updated dependencies [80c3e4a]
|
|
53
|
+
- Updated dependencies [80c3e4a]
|
|
54
|
+
- Updated dependencies [80c3e4a]
|
|
55
|
+
- Updated dependencies [80c3e4a]
|
|
56
|
+
- Updated dependencies [80c3e4a]
|
|
57
|
+
- Updated dependencies [80c3e4a]
|
|
58
|
+
- Updated dependencies [80c3e4a]
|
|
59
|
+
- Updated dependencies [80c3e4a]
|
|
60
|
+
- Updated dependencies [80c3e4a]
|
|
61
|
+
- Updated dependencies [80c3e4a]
|
|
62
|
+
- Updated dependencies [80c3e4a]
|
|
63
|
+
- Updated dependencies [80c3e4a]
|
|
64
|
+
- Updated dependencies [80c3e4a]
|
|
65
|
+
- Updated dependencies [80c3e4a]
|
|
66
|
+
- Updated dependencies [80c3e4a]
|
|
67
|
+
- Updated dependencies [80c3e4a]
|
|
68
|
+
- Updated dependencies [80c3e4a]
|
|
69
|
+
- Updated dependencies [80c3e4a]
|
|
70
|
+
- Updated dependencies [80c3e4a]
|
|
71
|
+
- Updated dependencies [80c3e4a]
|
|
72
|
+
- @equinor/fusion-framework-app@11.0.11
|
|
73
|
+
- @equinor/fusion-framework-dev-server@2.0.15
|
|
74
|
+
- @equinor/fusion-framework@8.0.11
|
|
75
|
+
- @equinor/fusion-framework-module-ag-grid@37.0.1
|
|
76
|
+
- @equinor/fusion-framework-module-analytics@3.0.2
|
|
77
|
+
- @equinor/fusion-framework-module-app@8.0.3
|
|
78
|
+
- @equinor/fusion-framework-module-bookmark@4.0.3
|
|
79
|
+
- @equinor/fusion-framework-module-context@8.0.1
|
|
80
|
+
- @equinor/fusion-framework-module-feature-flag@2.0.2
|
|
81
|
+
- @equinor/fusion-framework-module-services@8.0.2
|
|
82
|
+
- @equinor/fusion-framework-react-components-bookmark@2.0.2
|
|
83
|
+
- @equinor/fusion-framework-react-components-people-provider@2.0.4
|
|
84
|
+
- @equinor/fusion-framework-react@8.0.1
|
|
85
|
+
- @equinor/fusion-observable@9.1.1
|
|
86
|
+
- @equinor/fusion-query@7.0.2
|
|
87
|
+
- @equinor/fusion-framework-module-navigation@7.0.5
|
|
88
|
+
- @equinor/fusion-framework-module-telemetry@7.0.1
|
|
89
|
+
- @equinor/fusion-framework-react-module-bookmark@6.0.1
|
|
90
|
+
|
|
3
91
|
## 8.0.0
|
|
4
92
|
|
|
5
93
|
### Patch Changes
|
package/dev-server.ts
CHANGED
|
@@ -10,15 +10,19 @@ const tenantId = process.env.FUSION_MSAL_TENANT_ID;
|
|
|
10
10
|
const serviceDiscoveryUrl = process.env.FUSION_SERVICE_DISCOVERY_URL;
|
|
11
11
|
const serviceScopes = JSON.parse(process.env.FUSION_SERVICE_SCOPE || '[]') as string[];
|
|
12
12
|
|
|
13
|
+
// Fail fast when any required MSAL/service-discovery env var is missing
|
|
13
14
|
if (!clientId) {
|
|
14
15
|
throw new Error('FUSION_MSAL_CLIENT_ID is not set');
|
|
15
16
|
}
|
|
17
|
+
// tenantId is equally required for MSAL configuration
|
|
16
18
|
if (!tenantId) {
|
|
17
19
|
throw new Error('FUSION_MSAL_TENANT_ID is not set');
|
|
18
20
|
}
|
|
21
|
+
// Service discovery URL is required to resolve backend service URIs
|
|
19
22
|
if (!serviceDiscoveryUrl) {
|
|
20
23
|
throw new Error('SERVICE_DISCOVERY_URL is not set');
|
|
21
24
|
}
|
|
25
|
+
// At least one service scope must be configured for auth requests
|
|
22
26
|
if (serviceScopes.length === 0) {
|
|
23
27
|
throw new Error('SERVICE_SCOPES is not set');
|
|
24
28
|
}
|