ohif-viewer/platform/ui
md-prog b93067b6a2
feat: Annotation and Measurements support on multi-frame DICOM (#2973)
* added utilities to get frameNumber from imageId and add frameNumber to per-frame instance copy

* Fix measurements' display texts on the Measurements Panel to have the correct instance number and frame number

* fixed minor React bugs (errors on console)

* fixed React's console bugs that are logged for some series that doesn't have "description"

* bug fix - multi-frame files was not loading frames correctly. It was loading Frame 1 twice, and not loading the last frame. Due to wrong frame number indexing (frame number begins with 1, not 0)

* metadata parser fix - providing default values of imagePlaneModule

* measurement SR support on multi-frame DICOM

* bug fix - jumping to the selected measurment on multi-frame DICOM

* upgrade dcmjs dependency to 2.8.1

* StudySummary component - allow "description" to be null

* make getUIDsFromImageID() method public from MetadataProvider

* imageId usage fixes to be more stable

* change the variable name to be more meaningful

* fix metaProvider importing

* for(...of) instead of for(i=0;i<length;..)
as that doesn't assume anything about the layout/design and just gets next until done.

* use Array.findIndex instead of plain for loop

* use ReferencedSOPSequence[0] - because the ReferencedSOPSequence is an array that happens to have attributes of child zero when of length 1, but you shouldn't count on that.

* DisplaySetService.getDisplaySetForSOPInstanceUID() - added optional frameNumber parameter for future usage : now they are just ignored as we are not supporting multiframe splits

* simple code refactoring

* refactoring for checking undefined values - mappedAnnotations

* remove unreachable code

* code refactoring  - prefer conditional chaining

* fix how we access imageIds of viewport (StackViewport)
2022-10-13 11:07:56 -04:00
..
.storybook fix: storybook with typescript (#2926) 2022-09-13 08:57:22 -04:00
.webpack feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
src feat: Annotation and Measurements support on multi-frame DICOM (#2973) 2022-10-13 11:07:56 -04:00
static feat: OHIF-v3 UI Component Library (#2653) 2022-02-10 14:08:34 -05:00
.gitignore feat: Update to WADO Image Loader 4.0.3 to add dynamically imported WebAssembly codec support 🚀 (#2538) 2021-09-24 09:06:52 +02:00
babel.config.js feat: OHIF-v3 UI Component Library (#2653) 2022-02-10 14:08:34 -05:00
CHANGELOG.md chore(release): publish [skip ci] 2020-05-04 14:15:22 +00:00
package.json feat: upgrade tailwind to version 3 (#2933) 2022-09-19 20:02:53 -04:00
README.md feat: OHIF-v3 UI Component Library (#2653) 2022-02-10 14:08:34 -05:00
tailwind.config.js feat: upgrade tailwind to version 3 (#2933) 2022-09-19 20:02:53 -04:00

@ohif/ui

For Running Storybook

cd platform/ui

yarn install

yarn storybook

Stories are available default at http://localhost:6006/