ohif-viewer/extensions/cornerstone/src/utils
Joe Boccanfuso 66f6e3eade
feat(DICOM Upload): Added new DICOM upload dialogue launched from the worklist page (#3326)
* feat(DICOM Upload)
OHIF #3297
- DicomWebDataSource.store.dicom now accepts an ArrayBuffer of data sets to store
- DicomWebDataSource.store.dicom now also accepts optional callbacks to track upload and an AbortSignal object to cancel upload
- Added DicomFileUploader class that performs and tracks the upload of a DICOM file
- Added various UI pieces for the upload: DicomUpload, DicomUploadProgress, DicomUploadProgressItem
- ProgressLoadingBar was extracted from LoadingIndicatorProgress so it can be reused
- Modal dialogues can now optionally prevent an outside click from closing the Modal

* Passing an XMLHttpRequest to the dataSource.store.dicom method instead of callbacks and AbortSignal.
Cleanup of various UI pieces to minimize code and increase readability.

* Made the DicomUpload component a customization module exported by the cornerstone extension.

* Exposed a copy of the data source configuration via the IWebApiDataSource interface.
Added dicomUploadEnabled to a data source's configuration.

* Code clean up.

* Upgraded the dicomweb-client version to one that provides the ability to
pass a custom HTTP request. DICOM upload uses that custom HTTP request
to track progress and cancel requests.

* Distinguished between failed and cancelled uploads.

* Allow no selection in the upload dialogue.
Fixed the styling of various progress information so that everything aligns.

* Switched from cornerstone wado image loader to cornerstone dicom image loader for DICOM upload.

* Added special cancelled icon to differentiate from failed.

* Added a bit of spacing between the upload progress bar and percentage.

* Fixed minor issue with upload rejection.

* Performance improvement for cancel all uploads:
- use React memo for each upload item progress (row)
- do not await each request of a cancel all

* Fixed various padding/spacing for the DICOM upload drop zone component.
Changed the border dashing for the DICOM upload drop zone to be a background image gradient.
Added hover and active effects to the 'Cancel All Uploads' text.
2023-04-28 16:13:47 -04:00
..
colormap feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
measurementServiceMappings feat(measurements): add CircleROI Tool (#3211) 2023-04-17 08:23:03 -04:00
mpr feat: state sync service and hanging protocol updates to preserve state (#3131) 2023-03-15 12:41:41 -04:00
stackSync fix(typescript): rename services to fix typescript (#3165) 2023-02-10 16:46:09 -05:00
callInputDialog.tsx feat(Calibration Tool): add a calibration tool that can manually recalibrate an image and measurements on it (#3136) 2023-02-22 21:01:36 -05:00
CornerstoneViewportDownloadForm.tsx fix(typescript): rename services to fix typescript (#3165) 2023-02-10 16:46:09 -05:00
DicomFileUploader.ts feat(DICOM Upload): Added new DICOM upload dialogue launched from the worklist page (#3326) 2023-04-28 16:13:47 -04:00
dicomLoaderService.js feat(dicomImageLoader): replace wado image loader with the new library (#3339) 2023-04-26 20:55:56 -04:00
findNearbyToolData.ts feat(cst): Add new command to get nearby annotation tools (#3327) 2023-04-28 10:14:14 -04:00
getActiveViewportEnabledElement.ts feat(Calibration Tool): add a calibration tool that can manually recalibrate an image and measurements on it (#3136) 2023-02-22 21:01:36 -05:00
getCornerstoneBlendMode.ts feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
getCornerstoneOrientation.ts fix(SegmentationPanel): should be able to hide and only show one segment (#3270) 2023-03-22 12:44:52 -04:00
getCornerstoneViewportType.ts feat(VolumeViewport3D): add volumeViewport3Dd sample hp (#3241) 2023-03-21 16:09:50 -04:00
getInterleavedFrames.js feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
getNthFrames.js feat(imageLoader):Add an nth image loader strategy (#10) (#3044) 2022-12-29 11:00:13 -05:00
interleave.js feat(imageLoader):Add an nth image loader strategy (#10) (#3044) 2022-12-29 11:00:13 -05:00
interleaveCenterLoader.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
interleaveTopToBottom.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
JumpPresets.ts feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
nthLoader.ts fix(viewports): The display of linked viewports during drag and drop has a race (#3286) 2023-03-31 11:58:48 -04:00
removeToolGroupSegmentationRepresentations.ts feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
transitions.ts feat(RT): add dicom RT support via volume viewports (#3310) 2023-04-26 12:21:08 -04:00