Commit Graph
100 Commits
Author SHA1 Message Date
Danny Brown 3911d74cf4 fix: update reject/delete dialog title, body copy, and button text (#2043) 2020-09-16 22:45:13 -04:00
Danny Brown 5a66920d1d fix: Misc. workflow fixes [OHIF-363] (#2040)
* fix: "Adding measurements to existing report" portion of issue

* fix: notes from investigation to fix "Creating a new report while tracking measurements"

* fix: "Measurements spanning multiple studies"

* chore: comments explaining isDirty behavior
2020-09-16 21:56:51 -04:00
Danny Brown cae54b0779 Fix/update branch cherry pick (#2039)
* Update all the icons

* Turn off global tool sync; watch as the world burns

* Shift a bunch of things around so we can start tracking/setting per element

* ToolBarService to initiate one of three different calls; callback passed to all button types

* SplitButton and Toolbar Button to use new `onInteraction` prop and new toolbar state

* Changes to toolbar button interface and config

* Fix broken layout selector

* Update SR viewport to activate tools in viewport component

* Duplicate activation logic in measurement tracking extension

* Add alternative/dashed variants for SR Viewport

* pass through "setToolActive" commands for other viewport types

* fix small overlay bugs (no wwwc or scale info)

* Show SpacingBetweenSlices instead of PixelSpacing in patient information dialog

* Fix prop-types

* Update tracked viewport to have alternative tracked styling

* alt styling for SR viewports

* Update to support isLocked + isRehydratable

* fix broken logic

* fix broken logic

* switch icon style

* fix icon styles

* hover and click to start flow

* expedited workflow when data is not dirty (just after SR hydration)

* fix: setting elliptical roi tool

* fix arrow annotate dialog

* fix: do not show learn more button for now

* remove dead code

* simpler cache invalidation

* simpler cache invalidation part 2

* Fix for unable to spand study cards on separate pages
2020-09-14 21:18:46 -04:00
dannyrb 365ba2fa72 bump react-cornerstone-viewport version 2020-08-20 12:30:38 -04:00
dannyrb ec9b2e1dd0 Merge branch 'feat/v2-main' of github.com:OHIF/Viewers into feat/v2-main 2020-08-20 12:29:58 -04:00
dannyrb 9587d27b02 fix: typo 2020-08-19 23:14:04 -04:00
Danny Brown 8babc8f980 perf(stackPrefetch): Added stackPrefetch config with 20 max concurrent requests 2020-08-19 22:26:33 -04:00
Danny BrownandJames A. Petts 2a51d75f77 [OHIF-339] - workflow changes (#1931)
* workflow changes

* Cherry pick OHIF-310 into this PR.

* fix label bug and dead code

* remove comment

* Wire up CreateReportButton

* fix additionalFindingTypes + save interaction

* Remove unused createReportAsync call

* stub for report hydration prompt

* Update PR

* Remove debuggers

* push updated code

* Push updates

* push

* fix sidebar save

* enable tracking of new study or series

* fix for duplicate created report series in sidebard

* fix for unexpected viewport dialog after visiting study list then a new study

* Fix for hydration not marking multiple series as active

* Reviewer changes.

* Respond to final review comment, add series description setting for export.

Co-authored-by: James A. Petts <jamesapetts@gmail.com>
2020-08-04 11:11:23 +02:00
dannyrb 066ba97bc9 Temporarily disable SegmentationMode 2020-07-06 08:42:06 -04:00
dannyrb 9099e197fb Add missing and non-retired modalites to modality dropdown 2020-07-06 08:27:48 -04:00
dannyrb 1612c05bbe Make mrn slightly larger 2020-07-06 08:06:18 -04:00
dannyrb 31581744eb fix studydate/time tooltip 2020-07-06 07:36:30 -04:00
dannyrb e0b1bece37 Fix paging cutting off one-page too soon 2020-07-06 07:31:25 -04:00
Danny Brown 86327cd808 bump RCV version and use new prop to control resize/refresh behavior (#1869) 2020-07-04 13:25:23 -04:00
Danny Brown e2c72d48fe Add support for "additional findings" section (#1867) 2020-07-03 15:57:35 -04:00
Danny Brown cc55d46b37 Merge pull request #1846 from OHIF/OHIF-200
[OHIF-200] - Add callouts to all DICOM SR read only measurements.
2020-07-01 10:24:01 -04:00
Danny Brown 25de9046b3 Merge pull request #1843 from dannyrb/dannyrb/polish-viewport-notification-save-round-trip
Dannyrb/polish viewport notification save round trip
2020-06-30 23:22:29 -04:00
dannyrb 7b31e62e31 Fix undefined data source for local download/export 2020-06-30 22:54:36 -04:00
dannyrb c8f48cf1fe pass servicesManager and extensionManager all the way to our UI prompts; use in exposed createReportAsync call 2020-06-30 22:54:09 -04:00
dannyrb 9fb3fe6dc2 Shift create report to a separate file 2020-06-30 22:32:54 -04:00
Danny Brown d739b52e3e Merge pull request #1841 from dannyrb/dannyrb/ohif-157/default-to-primary-study-expanded
Dannyrb/ohif 157/default to primary study expanded
2020-06-30 22:10:11 -04:00
dannyrb 4b58d925d9 Use ImageViewer's StudyInstanceUIDs to set the initial/default list of expanded study ids 2020-06-30 22:08:41 -04:00
Danny Brown 06bf4d2960 Merge pull request #1840 from OHIF/feat/ohif-178
OHIF-178: Bump cs tools to fix issue
2020-06-30 21:03:41 -04:00
Danny Brown 7dbd4cb448 Merge pull request #1839 from OHIF/fix/OHIF-37-thumbnailDoubleClick
fix: OHIF-37 / OHIF-160 - Thumbnail double click + Active thumbnail
2020-06-30 20:59:35 -04:00
dannyrb b967d064f0 Tidying up naming 2020-06-30 20:49:37 -04:00
Danny Brown 77bdd6c807 Merge pull request #1838 from dannyrb/dannyrb/fix/correct-available-modes
Dannyrb/fix/correct available modes
2020-06-30 16:18:57 -04:00
dannyrb 236b89a551 Make sure measurements table updates 2020-06-30 16:04:07 -04:00
dannyrb 064df8a509 Fixing lint errors in PanelMeasurementTableTracking 2020-06-30 15:49:05 -04:00
dannyrb e3ced7e294 Add segmentation mode at appInit 2020-06-30 15:48:42 -04:00
dannyrb eb0f38ebf2 Prevent default measurementpanel crash 2020-06-30 15:48:24 -04:00
dannyrb e82b6b3c5e Rename longitudinal mode to "Basic Viewer"; matching design 2020-06-30 15:30:47 -04:00
dannyrb 92314513f6 Delete "basic" example mode, replace with segmentation mode 2020-06-30 15:20:14 -04:00
Danny Brown 4d2774c87b Merge pull request #1836 from OHIF/feat/ohif-179
OHIF-179: UI for successful posting of SR data to PACS.
2020-06-30 14:07:04 -04:00
Danny Brown d5d219c271 Merge pull request #1831 from OHIF/feat/ohif-203
OHIF-203: Add new viewport overlay
2020-06-30 08:41:20 -04:00
Danny Brown 050b260a58 Merge pull request #1832 from dannyrb/dannyrb/fix/viewport-notification-workflow
Update measurement tracking workflow to match requirements
2020-06-29 23:31:38 -04:00
dannyrb a0b0f365dd Handle for interaction outside of the ViewportDialog (default to cancel) 2020-06-29 23:29:40 -04:00
dannyrb 9403a091d9 Update measurement tracking workflow to match requirements 2020-06-29 22:30:39 -04:00
Danny Brown 4c7e3f95fe Merge pull request #1829 from OHIF/feat/ohif-165-fix
OHIF-165: Fix broken solution after recent merge
2020-06-29 15:17:44 -04:00
Danny Brown 6db780842e Merge pull request #1827 from OHIF/feat/ohif-127-196
OHIF-127-196-191: Hotkeys config and defaults
2020-06-29 15:09:06 -04:00
Danny Brown 0594525301 Merge pull request #1823 from OHIF/fix/minor-defects
fix: sort number of instances | format date in study panel
2020-06-29 12:45:56 -04:00
Danny Brown aa402183f4 Merge pull request #1824 from OHIF/feat/ohif-125
OHIF-125: Error boundaries
2020-06-26 16:47:52 -04:00
Danny Brown baf6093fca Merge pull request #1825 from OHIF/feat/ohif-195
OHIF-195: Update "More Menu" toolbar icons to use previous versions
2020-06-26 16:43:45 -04:00
Danny Brown a59722a182 Merge pull request #1814 from dannyrb/dannyrb/ohif-154/restore-command-functionality-for-toolbar
[OHIF-154] Dannyrb/ohif 154/restore command functionality for toolbar
2020-06-26 14:27:25 -04:00
Danny Brown 1931d45450 Merge branch 'feat/v2-main' into dannyrb/ohif-154/restore-command-functionality-for-toolbar 2020-06-26 14:26:35 -04:00
dannyrb 33a2df6ad9 Update all cornerstone commands 2020-06-26 14:22:45 -04:00
dannyrb 8339154820 Clean up old comments 2020-06-26 14:17:45 -04:00
dannyrb c6ec439331 Make sure primary cornerstone extension has references to enabled elements 2020-06-26 14:14:25 -04:00
dannyrb 8607659501 Test that we can access activeViewportIndex from extension 2020-06-26 13:51:27 -04:00
dannyrb aa4e88c2fa Set initial state for provider; fix useReducer usage 2020-06-26 13:29:10 -04:00
dannyrb 077143bd4a Update ViewportGridService interface 2020-06-26 13:28:50 -04:00
dannyrb 3993c12701 Update dependents to use new exposed service 2020-06-26 13:28:30 -04:00
dannyrb dfbf32fe43 Add "todo" notes for next work day 2020-06-25 17:02:10 -04:00
dannyrb 6e873cc92a Expose ViewportGridService API methods to extensions 2020-06-25 17:00:42 -04:00
Danny Brown 1a065855f2 Merge pull request #1811 from OHIF/feat/OHIF-177
[OHIF-177] - First pass at SR STOW with Arrow Annotate, Ellipse, Length and Bidirectional.
2020-06-25 16:24:46 -04:00
Danny Brown 0264e5998d Merge branch 'feat/v2-main' into feat/OHIF-177 2020-06-25 16:17:50 -04:00
Danny Brown f615971477 Merge pull request #1806 from OHIF/feat/ohif-151
OHIF-151: Replace the "..." icon in more menu with active tool in menu.
2020-06-25 16:12:50 -04:00
Danny Brown 399fa89b1f Merge pull request #1812 from OHIF/feat/ohif-152
OHIF-152: Create window level dropdown menu
2020-06-25 15:06:31 -04:00
Danny Brown 9c3159cc15 more descriptive comment for isDisabled prop 2020-06-25 15:06:14 -04:00
Danny Brown 11932f460e Merge pull request #1813 from OHIF/feat/v2-main
catch-up
2020-06-25 14:39:45 -04:00
Danny Brown 0ae95adf34 Remove console log 2020-06-25 12:49:05 -04:00
Danny Brown bb26b86969 remove console log 2020-06-25 12:48:42 -04:00
Danny Brown f0739b65e8 Merge pull request #1810 from dannyrb/fix/netlify-deploy-preview
fix: add missing `supportsFuzzyMatching` and `defaultDataSourceName` keys to appConfig [OHIF-180]
2020-06-25 12:22:29 -04:00
dannyrb 58f10e9b09 fix: add missing supportsFuzzyMatching and defaultDataSourceName keys to appConfig 2020-06-25 12:18:23 -04:00
dannyrb 4ec357bec4 Commands running on at least first viewport 2020-06-17 08:50:11 -04:00
dannyrb 16aa777bda Merge branch 'feat/ui-v2-rebase-services' of github.com:OHIF/Viewers into feat/ui-v2-rebase-services 2020-06-17 08:48:38 -04:00
dannyrb 10484fceec Duplicate toolbar buttons for "example" mode and add nested menu buttons 2020-06-16 23:57:38 -04:00
dannyrb 0f2bae008d Expose probe tool 2020-06-16 23:56:56 -04:00
dannyrb 0717893e56 Force descriptions to wrap if they would overflow container (thumbnails) 2020-06-16 23:15:40 -04:00
dannyrb a8954befee Fix unsubscribe bug in layout template 2020-06-16 23:02:46 -04:00
dannyrb be6a04684b Don't try and "getImageSrc" for datasets without imageIds (DICOM SR) 2020-06-16 23:02:16 -04:00
dannyrb 86c758e2f9 Remove console log 2020-06-16 22:49:13 -04:00
dannyrb 5eb06d0916 Wire up mode buttons to mode routes; Expose displayName; 2020-06-16 22:06:54 -04:00
dannyrb c3ecbadbc2 Make sure WorkList has access to AppConfig 2020-06-16 10:20:03 -04:00
dannyrb 6e65e7eaf5 Conditionally show left/right and userinfo for active viewport 2020-06-16 00:56:54 -04:00
dannyrb 27e62949ce Allow null content for ToolTip content 2020-06-16 00:44:33 -04:00
dannyrb c264b32e7d Swap rows/cols 2020-06-16 00:44:19 -04:00
dannyrb 4adea1b49a Map tracking info 2020-06-16 00:43:51 -04:00
dannyrb 33cee9e898 fix null dropdowncontent 2020-06-16 00:43:16 -04:00
dannyrb f2b77d2a4a fix missing import 2020-06-16 00:43:04 -04:00
dannyrb 0842eb9a8c Delete SR Viewport example mode 2020-06-16 00:26:12 -04:00
dannyrb 7e856c7605 Remove debugger statements 2020-06-16 00:01:36 -04:00
dannyrb 140c562519 fix secondary toolbar styling 2020-06-16 00:00:47 -04:00
dannyrb 570424e3e9 Add support for LayoutSelector 2020-06-15 23:38:48 -04:00
dannyrb 3a15702907 Have content assume it's jsx/node 2020-06-15 23:37:04 -04:00
dannyrb 9146a9ee32 Create new ToolbarButton type for Layout Selector; wire up custom UI; prep for viewportGridService usage 2020-06-15 00:51:36 -04:00
dannyrb 83eb24337c Syntax error 2020-06-14 23:45:55 -04:00
dannyrb acc2537140 New @ohif/ui does not have ViewportDownloadForm; stub Hello World for time being 2020-06-14 23:44:03 -04:00
dannyrb 2d278be3fd Remove storeContexts for capture modal form 2020-06-14 23:43:31 -04:00
dannyrb e104fb9fbd Clear showDownloadViewport command errors 2020-06-14 23:43:09 -04:00
dannyrb 8c1a844558 Nested toolbar w/ "sticky" when clicked 2020-06-14 23:42:44 -04:00
dannyrb 217d848f9f Do not expose cornerstone's toolbarModule 2020-06-14 21:58:37 -04:00
dannyrb 3cec88b552 remove "Toolbar" and ViewportToolbar from @ohif/ui
Unecessary wrappers for displaying ToolbarButtons
2020-06-14 21:57:45 -04:00
dannyrb 38203c9b31 Update example extension 2020-06-14 21:48:56 -04:00
dannyrb 83e191b850 Update toolbar service to use button types, update longitudinal flow to use new service api 2020-06-14 21:20:32 -04:00
dannyrb f70392a52a Change toolbarModule scheme and extensionManager 2020-06-14 21:18:29 -04:00
dannyrb ae107f4d3b Remove connected components roped in from a rebase 2020-06-14 21:14:31 -04:00
dannyrb fab7334696 Remove dead code; clean-up comments 2020-06-09 13:39:17 -04:00
dannyrb 3b81ebcc96 Clear studySummary state when no study is set 2020-06-09 13:38:27 -04:00
dannyrb 47f9e1391a update measurements panel when measurements change (debounced) 2020-06-09 13:38:09 -04:00
dannyrb f3e783b63e wire up measurement service "removed" event w/ cornerstone ext 2020-06-09 13:37:26 -04:00