feat: Add customization URL parameter (#5992)
* Add customization URL parameter * fix: Preserve should be customizeable * Update customizations docs * fix: Overlay items on patient name * Add customization test * Fix resolve to absolute path * fix: Warn on no data in load * Remove unused customization stuff * fix: PR comments * Update stored parameters to only use an array for mulitples * Remove requires ohif.* special call out * Remove strict mode * PR comments * Document segmentation examples * Add three examples as requested * PR comments * lock * Remove old customizatoin export * fix: Ordering issues on customization loads * fix: Use correct default for dev builds app config * Fixes for conflicts * chore: restore pnpm-lock.yaml to match master The lockfile diff was incidental peer-descriptor churn and carried no functional dependency change. It tripped the CircleCI security-audit gate (which only runs when pnpm-lock.yaml is in the PR diff), surfacing a pre-existing critical `decompress` transitive vuln that also exists on master. Restoring master's lockfile removes the audit trigger. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(ci): restore json5 lockfile entry; ignore unfixable decompress GHSA The previous commit restored pnpm-lock.yaml from master, which dropped the json5@2.2.3 entry that platform/core legitimately depends on (JSONC parsing for the customization feature). That broke `--frozen-lockfile` install (ERR_PNPM_OUTDATED_LOCKFILE). This restores the correct lockfile. Because the lockfile must change (json5), the CircleCI security-audit gate runs and previously failed on a critical `decompress` <=4.2.1 zip-slip advisory. This is a pre-existing transitive vuln (present on master too) with no published patch — decompress's latest release is 4.2.1, so no version bump/override can resolve it. It reaches the tree only via @itk-wasm/dam, a build/data-asset extraction tool under @cornerstonejs/labelmap-interpolation. Add GHSA-mp2f-45pm-3cg9 to the existing pnpm-workspace.yaml auditConfig ignoreGhsas accepted-risk list, matching how the repo already exempts other build-tooling advisories. `pnpm audit --audit-level high` now passes locally (1 critical ignored, 0 high). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * test(e2e): fix visitStudy URL encoding that broke mpr2 study load The visitStudy rewrite (added for the ?customization= option) built the URL with new URLSearchParams({ StudyInstanceUIDs: studyInstanceUID }), which percent-encodes the value. mpr2.spec.ts embeds an extra param in the UID string ('<uid>&hangingprotocolid=mpr'), so the & and = were encoded and the whole thing collapsed into one invalid StudyInstanceUIDs value -> the study could not be found ('studies are not available'), the viewer never rendered, and the side-panel-header-right click timed out. Restore master's raw concatenation for StudyInstanceUIDs (so embedded params survive as separate query params) while still appending the customization option separately. Only mpr2 embeds & in the UID, matching the single failure. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * PR comments --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
3d9a17bc0c
commit
3dd5c70cb2
58 files changed
+3411
-586
No files matched your search
Generated
+20
-17
@@ -91,7 +91,7 @@ importers:
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
version: 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/preset-react':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
@@ -901,7 +901,7 @@ importers:
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
version: 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/preset-react':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
@@ -1187,7 +1187,7 @@ importers:
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
version: 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/preset-react':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
@@ -1297,7 +1297,7 @@ importers:
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
version: 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/preset-react':
|
||||
specifier: 7.29.7
|
||||
version: 7.29.7(@babel/core@7.29.7)
|
||||
@@ -1581,6 +1581,9 @@ importers:
|
||||
isomorphic-base64:
|
||||
specifier: 1.0.2
|
||||
version: 1.0.2
|
||||
json5:
|
||||
specifier: 2.2.3
|
||||
version: 2.2.3
|
||||
lodash.clonedeep:
|
||||
specifier: 4.5.0
|
||||
version: 4.5.0
|
||||
@@ -14038,7 +14041,7 @@ snapshots:
|
||||
'@babel/helpers': 7.29.2
|
||||
'@babel/parser': 7.29.3
|
||||
'@babel/template': 7.28.6
|
||||
'@babel/traverse': 7.29.0
|
||||
'@babel/traverse': 7.29.0(supports-color@8.1.1)
|
||||
'@babel/types': 7.29.0
|
||||
convert-source-map: 2.0.0
|
||||
debug: 4.4.3(supports-color@8.1.1)
|
||||
@@ -14058,7 +14061,7 @@ snapshots:
|
||||
'@babel/helpers': 7.29.2
|
||||
'@babel/parser': 7.29.3
|
||||
'@babel/template': 7.28.6
|
||||
'@babel/traverse': 7.29.0
|
||||
'@babel/traverse': 7.29.0(supports-color@8.1.1)
|
||||
'@babel/types': 7.29.0
|
||||
convert-source-map: 2.0.0
|
||||
debug: 4.4.3(supports-color@8.1.1)
|
||||
@@ -15241,7 +15244,7 @@ snapshots:
|
||||
'@babel/helper-module-transforms': 7.28.6(@babel/core@7.28.0(supports-color@8.1.1))
|
||||
'@babel/helper-plugin-utils': 7.28.6
|
||||
'@babel/helper-validator-identifier': 7.28.5
|
||||
'@babel/traverse': 7.29.0
|
||||
'@babel/traverse': 7.29.0(supports-color@8.1.1)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -15251,17 +15254,17 @@ snapshots:
|
||||
'@babel/helper-module-transforms': 7.28.6(@babel/core@7.28.0)
|
||||
'@babel/helper-plugin-utils': 7.28.6
|
||||
'@babel/helper-validator-identifier': 7.28.5
|
||||
'@babel/traverse': 7.29.0
|
||||
'@babel/traverse': 7.29.0(supports-color@8.1.1)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@babel/plugin-transform-modules-systemjs@7.29.4(@babel/core@7.29.7(supports-color@8.1.1))':
|
||||
'@babel/plugin-transform-modules-systemjs@7.29.4(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)':
|
||||
dependencies:
|
||||
'@babel/core': 7.29.7(supports-color@8.1.1)
|
||||
'@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.7(supports-color@8.1.1))
|
||||
'@babel/helper-plugin-utils': 7.28.6
|
||||
'@babel/helper-validator-identifier': 7.28.5
|
||||
'@babel/traverse': 7.29.0
|
||||
'@babel/traverse': 7.29.0(supports-color@8.1.1)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -16026,7 +16029,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@babel/preset-env@7.29.7(@babel/core@7.29.7)':
|
||||
'@babel/preset-env@7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)':
|
||||
dependencies:
|
||||
'@babel/compat-data': 7.29.7
|
||||
'@babel/core': 7.29.7(supports-color@8.1.1)
|
||||
@@ -16068,7 +16071,7 @@ snapshots:
|
||||
'@babel/plugin-transform-member-expression-literals': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/plugin-transform-modules-amd': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/plugin-transform-modules-commonjs': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/plugin-transform-modules-systemjs': 7.29.4(@babel/core@7.29.7(supports-color@8.1.1))
|
||||
'@babel/plugin-transform-modules-systemjs': 7.29.4(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/plugin-transform-modules-umd': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/plugin-transform-named-capturing-groups-regex': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/plugin-transform-new-target': 7.29.7(@babel/core@7.29.7)
|
||||
@@ -16218,7 +16221,7 @@ snapshots:
|
||||
'@babel/parser': 7.29.7
|
||||
'@babel/types': 7.29.7
|
||||
|
||||
'@babel/traverse@7.29.0':
|
||||
'@babel/traverse@7.29.0(supports-color@8.1.1)':
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.29.0
|
||||
'@babel/generator': 7.29.7
|
||||
@@ -16880,7 +16883,7 @@ snapshots:
|
||||
'@babel/generator': 7.29.7
|
||||
'@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.29.7)
|
||||
'@babel/plugin-transform-runtime': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/preset-react': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-typescript': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/runtime': 7.29.7
|
||||
@@ -17411,7 +17414,7 @@ snapshots:
|
||||
'@docusaurus/plugin-pwa@3.10.1(@docusaurus/faster@3.10.1(@docusaurus/types@3.10.1(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@swc/helpers@0.5.21))(@docusaurus/plugin-content-docs@3.10.1(@docusaurus/faster@3.10.1(@docusaurus/types@3.10.1(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@swc/helpers@0.5.21))(@mdx-js/react@3.0.1(@types/react@18.3.23)(react@18.3.1))(@rspack/core@1.7.11(@swc/helpers@0.5.21))(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@mdx-js/react@3.0.1(@types/react@18.3.23)(react@18.3.1))(@rspack/core@1.7.11(@swc/helpers@0.5.21))(@swc/core@1.15.13(@swc/helpers@0.5.21))(@types/babel__core@7.20.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4)':
|
||||
dependencies:
|
||||
'@babel/core': 7.29.7(supports-color@8.1.1)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@docusaurus/bundler': 3.10.1(@docusaurus/faster@3.10.1(@docusaurus/types@3.10.1(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@swc/helpers@0.5.21))(@rspack/core@1.7.11(@swc/helpers@0.5.21))(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4)
|
||||
'@docusaurus/core': 3.10.1(@docusaurus/faster@3.10.1(@docusaurus/types@3.10.1(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@swc/helpers@0.5.21))(@mdx-js/react@3.0.1(@types/react@18.3.23)(react@18.3.1))(@rspack/core@1.7.11(@swc/helpers@0.5.21))(@swc/core@1.15.13(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4)
|
||||
'@docusaurus/logger': 3.10.1
|
||||
@@ -18430,7 +18433,7 @@ snapshots:
|
||||
|
||||
'@kitware/vtk.js@35.5.3(@babel/preset-env@7.29.7(@babel/core@7.29.7))(autoprefixer@10.4.27(postcss@8.5.14))(wslink@2.5.0)':
|
||||
dependencies:
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@types/webxr': 0.5.24
|
||||
autoprefixer: 10.4.27(postcss@8.5.14)
|
||||
commander: 8.3.0
|
||||
@@ -29546,7 +29549,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@apideck/better-ajv-errors': 0.3.6(ajv@8.20.0)
|
||||
'@babel/core': 7.29.7(supports-color@8.1.1)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7)
|
||||
'@babel/preset-env': 7.29.7(@babel/core@7.29.7(supports-color@8.1.1))(supports-color@8.1.1)
|
||||
'@babel/runtime': 7.29.7
|
||||
'@rollup/plugin-babel': 5.3.1(@babel/core@7.29.7)(@types/babel__core@7.20.5)(rollup@2.80.0)
|
||||
'@rollup/plugin-node-resolve': 15.3.1(rollup@2.80.0)
|
||||
|
||||
Reference in new issue
Block a user