Commit Graph
100 Commits
Author SHA1 Message Date
Danny Brown 2f4cba28a5 fix: update DICOMSR and Measurement Panel copy to use L/W (#2174)
* fix: update DICOMSR and Measurement Panel copy to use L/W

* functional viewport

* support the active viewport for snapshot

* Support empty viewport case

* bump cs-tools to pick up misc. fixes
2020-11-18 00:14:52 -05:00
Danny Brown 0d9da69580 fix: update DICOMSR and Measurement Panel copy to use L/W (#2104) 2020-10-12 21:43:28 -04:00
Danny Brown dc2a58da91 fix: support for delete SR aliased measurements (#2092) 2020-10-05 23:40:58 -04:00
Danny Brown 23764f9b82 fix: bump cornerstone-tools version to update rectangleROI behavior (#2090) 2020-10-05 22:05:12 -04:00
Danny Brown d248f71ea5 fix: swallow update-image error for "clicking annotation arrows"; as doing _nothing_ if the image isn't loaded yet is perfectly okay (#2089) 2020-10-05 21:48:09 -04:00
Danny Brown 1c33c3f04b fix: allow pointer events to pass through to arrow navigation buttons (#2088) 2020-10-05 21:47:20 -04:00
Danny Brown d25c0d311a fix: set a min-width so flexbox doesn't shrink our lil svg (#2087) 2020-10-05 21:46:35 -04:00
Danny Brown 0b80f19bfd fix: ellipse should use exponent (#2086)
* fix: prevent app from blowing up when snapshot modal is opened

* fix: use superscript tag to indicate ellipse is mm squared

* fix: update measurement item to allow us to specify html in MeasurementItem display text
2020-10-05 21:45:43 -04:00
Danny Brown 285a188064 fix: update csv column titles to be consistent (UIDs) (#2085) 2020-10-05 21:44:42 -04:00
Danny Brown 93fa71a2bf fix: temporarily hide/disable capture until it can be repaired (#2084) 2020-10-05 21:43:52 -04:00
Danny Brown 6c40f581a6 fix: autofocus reject SR dialog input focus to "Yes" button (#2083) 2020-10-05 21:43:12 -04:00
Danny Brown 380acc1331 fix: for incorrect toolbar state between routes (#2082) 2020-10-05 21:42:30 -04:00
Danny Brown 5689bf5369 fix: sort study cards by study date, descending (#2081) 2020-10-05 21:40:37 -04:00
Danny Brown 6a0563f1cf fix: update csv column titles to be consistent (UIDs) (#2080) 2020-10-05 21:27:36 -04:00
Danny Brown 746dd6cb53 Dannyrb/fix/button colors quick (#2074)
* add _redirects file for when output target is netlify

* temporarily swap dialog primary/secondary button types for dialogs
2020-10-01 22:09:15 -04:00
Danny Brown eb0130edfa fix: set a min-width so flexbox doesn't shrink our lil svg (#2075) 2020-10-01 22:09:03 -04:00
Danny Brown 4ae848761d fix: swallow update-image error for "clicking annotation arrows"; as doing _nothing_ if the image isn't loaded yet is perfectly okay (#2076) 2020-10-01 22:08:51 -04:00
Danny Brown 0da451c26a fix: allow pointer events to pass through to arrow navigation buttons (#2077) 2020-10-01 22:08:40 -04:00
Danny Brown 56824b9142 fix: button colors quick (#2056)
* add _redirects file for when output target is netlify

* temporarily swap dialog primary/secondary button types for dialogs
2020-09-22 21:41:42 -04:00
Danny Brown 2fc7169fa4 fix/chore: Various style improvements (#2015)
* 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

* fix: viewport grid area top padding should align with sidepanel gap

* fix: don't wrap split button list item text

* fix: cine player moz/chrome styles

* fix: split button arrows

* fix: tighten toolbar and splitbutton styles

* chore: clean up worklist sort logic
2020-09-21 10:42:53 +02:00
Danny Brown ba38cebcd7 fix: duplicate measurements on hydration (#2047)
* chore: remove lingering debugger statements

* fix: order of arguments on `MeasurementService.remove` calls

* fix: ensure report is dirty when intial measurements are added
2020-09-17 22:02:32 -04:00
Danny Brown 876cc58348 fix: use instance number instead of index number in stack (#2046) 2020-09-17 16:28:41 -04:00
Danny Brown 41316fead0 fix: display instance num sr viewport (#2045)
* fix: duplicate and use TrackingViewport's overlay w/ SR Viewport

* chore: correct component naming for OHIFTrackingViewport
2020-09-17 16:08:11 -04:00
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