fix(multiframe): metadata handling of NM studies and loading order (#4554)
This commit is contained in:
1 parent
6729534a1a
commit
7624ccb5e4
57 files changed
+482
-662
No files matched your search
@@ -97,6 +97,35 @@ import { ReactComponent as arrowDown } from './../../assets/icons/arrow-down.svg
|
||||
We have removed the Polyfill.io script from the Viewer. If you require polyfills, you can add them to your project manually. This change primarily affects Internet Explorer, which Microsoft has already [ended support for](https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge#is-internet-explorer-11-the-last-version-of-internet-explorer-).
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Webpack changes
|
||||
|
||||
We previously were copying dicom-image-loader wasm files to the public folder via
|
||||
|
||||
```js
|
||||
// platform/app/.webpack/webpack.pwa.js
|
||||
{
|
||||
from: '../../../node_modules/@cornerstonejs/dicom-image-loader/dist/dynamic-import',
|
||||
to: DIST_DIR,
|
||||
},
|
||||
```
|
||||
|
||||
but now after our upgrade to Cornerstone 3D 2.0, we don't need to do this anymore.
|
||||
|
||||
|
||||
---
|
||||
## Scroll utility
|
||||
|
||||
|
||||
The `jumpToSlice` utility has been relocated from `@cornerstonejs/tools` utilities to `@cornerstonejs/core/utilities`.
|
||||
|
||||
migration
|
||||
|
||||
```js
|
||||
import { jumpToSlice } from '@cornerstonejs/core/utilities';
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
|
||||
@@ -178,9 +207,19 @@ Now:
|
||||
|
||||
---
|
||||
|
||||
## CustomizationService
|
||||
|
||||
The `CustomizationService` uses `contentF` instead of `content`.
|
||||
|
||||
So make sure your customizations are updated accordingly.
|
||||
|
||||
---
|
||||
|
||||
## SidePanel auto switch if open
|
||||
|
||||
In `basic viewer` mode, if the side panel is open and the segmentation panel is active, adding a measurement will automatically switch to the measurement panel. This switch won't occur if the side panel is closed. To enable or disable this feature, adjust your mode configuration accordingly.
|
||||
In `basic viewer` mode, when the side panel is open and the segmentation panel is active, adding a measurement will automatically switch to the measurement panel. This switch won't happen if the side panel is closed. To enable or disable this feature, adjust your mode configuration accordingly.
|
||||
|
||||
To prevent this behavior, remove the following code from your mode:
|
||||
|
||||
```js
|
||||
panelService.addActivatePanelTriggers('your.panel.id', [
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
title: UI
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
## New Components
|
||||
|
||||
You can explore our new playground at `docs.ohif.org/ui` to see the latest components and their properties. We haven't provided a migration guide yet because the old components are still available. Feel free to update your codebase, including custom extensions and UI, to use the new Button, Dropdown, Icons, and other new components from `@ohif/ui-next`. The old methods (importing from `@ohif/ui`) will continue to work for now. However, the new components have a slightly different API, and we plan to deprecate the old components in a future release, as we see the new ones as the future of OHIF.
|
||||
@@ -147,3 +144,13 @@ All the DropDown and Icons are now in the @ohif/ui-next package.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## ui, ui-next configs
|
||||
|
||||
We currently have two component libraries that we plan to merge in the future, so we need to maintain both configurations. If your styles aren't applying correctly, ensure you update both `platform/ui-next/tailwind.config.js` and `platform/ui/tailwind.config.js`.
|
||||
|
||||
|
||||
### addIcon from ui-next
|
||||
|
||||
if you add custom icons, you may need to add them using a new `addIcon` utility which adds the icon to both `ui` and `ui-next`.
|
||||
Reference in new issue
Block a user