Commit Graph
4481 Commits
Author SHA1 Message Date
James Petts 61fc093fc5 [OHIF-248] - Update cornerstoneTools version to get handle rendering improvements. (#1854)
* Only process SR on consumption of viewport.

* Hide handles whilst moving + correct hide handles on hover.

* Up CST version

* Update cst

* Remove added cornerstone viewport checks
2020-07-03 11:51:38 +02:00
Rodrigo AntinarelliandDanny Brown 0e6c9258b7 OHIF-202: Add tooltip for locked/unlocked SR viewport icon (#1858)
* OHIF-202: Add tooltip for locked/unlocked SR viewport icon

* fix edit margin

* Update platform/ui/src/components/ViewportActionBar/ViewportActionBar.jsx

* Apply suggestions from code review

* Fix tooltip (func comp)

* Don't render the `0` of data.length used to check a render condition

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-07-02 23:58:50 -04:00
Rodrigo Antinarelli cf91b0f942 OHIF-252: "Recent" and "All" tabs should be disabled if there are no studies on their category (#1859)
* OHIF-252: "Recent" and "All" tabs should be disabled if there are no studies on their category

* fix button props and avoid onClick on disabled state
2020-07-02 23:26:06 -04:00
Igor Octaviano 454474ddb4 Fix typo (#1857) 2020-07-02 22:34:53 -04:00
Igor Octaviano 849c8a6ae1 Add new loading component (#1855) 2020-07-02 22:34:15 -04:00
Igor Octavianoanddannyrb 920c3e9455 OHIF-149: Apply default sort of Study Date descending (most recent -> oldest) when < 101 studies (#1850)
* Add dynamic default sorting

* Use different approach to sort

* Switch strategy to one that works even when filters are applied, but sort is not (there is no dicomweb sort/orderby)

Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
2020-07-02 22:23:42 -04:00
Rodrigo Antinarellianddannyrb 491afaa43d fix: UI tweaks to satisfy OHIF-161, OHIF-254, OHIF-167, OHIF-249, OHIF-170, OHIF-162
* add group hover for borderColor

* measurements action buttons hover state

* fixes and button/buttongroup/iconButton refactor

* OHIF-161: Fix Tracked/Untracked Text in Thumbnail's Tooltip

* OHIF-254: Format SR series date

* OHIF-167 - Fix Study Date Time format

* OHIF-249: Fix viewport border thickness and action bar min height

* pass viewportIdentificator to SR Thumbnail

* show tooltip when hover over the SR thumbnail

* OHIF-170: Display tooltip when hovering over an untracked series in the Viewport Action Bar

* Undo accidental date change

* Sneak in "Create Report" messaging for createReport notifications

* Fix text clipping

* Add no-select text styles for action bar, thumbnail, and thumbnail no image (sr)

* fix for OHIF-162

Modified to remove Viewport Identifier. Text now only reads: “Structured Report”This was partly to address a bug where the Viewport Identifier was incorrect for all but the first displayed SR. Component API changed for ThumbnailNoImage to accomodate any generic “modalityTooltip”

* Some ViewportPane resize magic

Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
2020-07-02 21:41:55 -04:00
Igor OctavianoandDanny Brown a156eadcb7 OHIF-208 (#1842)
* Set measurement as active

* Add basic dialog component

* Update styles and prop types

* Jump to image

* Update dialog

* Format date

* Update summary to use primary modalities

* delete empty studySummary page

* add missing PropTypes import

* fix for accidental sync'd viewports

* CR Updates

* CR Update avoid cache of measurements

* Use get measurement

* Add comment to edit function

* Remove request and merge modalities from series

* Update dependency: react-cornerstone-viewport@2.3.9

react-cornerstone-viewport
  * @ohif/extension-cornerstone: 2.3.8 → 2.3.9
  * @ohif/extension-dicom-sr: 2.3.8 → 2.3.9

* Update extensions/measurement-tracking/src/panels/PanelMeasurementTableTracking/index.js

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* Add debugs

* remove console.debug

* Update frameindex to imageindex

* Use new rcv debounced function

* Fix hovering

* Update dialog text

* Dismiss dialogs on esc

* Update dependency: react-cornerstone-viewport@3.0.0

react-cornerstone-viewport
  * @ohif/extension-cornerstone: 2.3.9 → 3.0.0
  * @ohif/extension-dicom-sr: 2.3.9 → 3.0.0

* OHIF-237

* remove console.debug

* Remove dead code brought in from rebase

* EmptyViewport should not display a message

* Remove more dead code from rebase

* fix variable naming

* remove unused hook

* bump yarn lock

* formatting

* Add arrow dialog

* Filter based on trackedSeries

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-07-02 16:53:38 -04:00
Igor Octaviano ae05de18af Add truncate 2 lines class (#1853) 2020-07-02 10:41:53 -04:00
James PettsandDanny Brown c36f853a38 [OHIF-235] Lazy processing of DICOM SR for viewport. (#1849)
* Only process SR on consumption of viewport.

* remove debugger

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-07-02 10:17:04 -04:00
Igor Octaviano f24f0bb11d Fix preset values for window level (#1851) 2020-07-02 10:13:14 -04:00
Igor Octaviano 279d1db997 Update measurement table display text to use cornerstone rendered value fixed points (#1852) 2020-07-02 10:12:10 -04:00
James Petts 801bf73a34 Update dcmjs to fix bidirectional issue. (#1848) 2020-07-02 11:56:36 +02: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
James A. Petts 44c2927963 Fix export 2020-07-01 16:12:49 +02:00
James A. Petts 7c3c717d33 Update dcmjs 2020-07-01 15:56:25 +02:00
James A. Petts 413f5c9003 Remove debugger statements. 2020-07-01 15:35:29 +02:00
James A. Petts 7092fc858e Don't reposition textboxes for now. 2020-07-01 15:32:54 +02:00
James A. Petts e3f2e26e3b Render text properly, render arrow + freetext. Need to move textboxes appropriately. 2020-07-01 12:59:29 +02:00
James A. Petts d956c3008c Pull in main 2020-07-01 11:12:41 +02:00
James Petts bc2bde890b OHIF-190 - Rehydrate PR (#1835)
* WIP rehydration.

* WIP OHIF-190 rehydrate.

* Remove debugger statements.

* Merge in and fix after OHIF-197 and OHIF-198

* Remove console.log

* Fix typo

* fix length tracking bug

* Respond to reviewer comments.
2020-07-01 11:08:56 +02: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
igoroctaviano 7f6aa0e260 Update dependency: cornerstone-tools@4.16.1
cornerstone-tools
  * @ohif/core: 4.16.0 → 4.16.1
  * @ohif/extension-cornerstone: 4.16.0 → 4.16.1
  * @ohif/extension-dicom-rt: 4.16.0 → 4.16.1
  * @ohif/extension-dicom-segmentation: 4.15.1 → 4.16.1
  * @ohif/extension-dicom-sr: 4.16.0 → 4.16.1
  * @ohif/extension-measurement-tracking: 4.15.1 → 4.16.1
  * @ohif/extension-vtk: 4.16.0 → 4.16.1
  * @ohif/viewer: 4.16.0 → 4.16.1
2020-06-30 21:55:59 -03:00
dannyrb b967d064f0 Tidying up naming 2020-06-30 20:49:37 -04:00
Rodrigo Antinarelli 4b8dcef956 Merge branch 'feat/v2-main' of https://github.com/OHIF/Viewers into fix/OHIF-37-thumbnailDoubleClick 2020-06-30 17:59:57 -03:00
Rodrigo Antinarelli 0f78ae3b57 fix: remove focus if clicked outside thumbnail 2020-06-30 17:53:36 -03: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
Rodrigo Antinarelli 520e1c0774 fix focus styles 2020-06-30 16:05:18 -03:00
Rodrigo Antinarelli 90ca52585a update thumbnail props 2020-06-30 15:57:24 -03:00
Rodrigo Antinarelli 71544df16f pass currentDisplaySetUID 2020-06-30 15:55:17 -03:00
Rodrigo Antinarelli f08ce57c0c pass isActive prop 2020-06-30 15:54:34 -03:00
Rodrigo Antinarelli 34a9733dfe replace onClick for double click and styles fixes 2020-06-30 15:54:21 -03:00
Rodrigo Antinarelli cf30a6da88 define currentDisplaySetData in viewport grid provider 2020-06-30 15:53:57 -03:00
Rodrigo Antinarelli c9a365f7e2 double click thumbnail loads SR in viewport 2020-06-30 15:47:09 -03: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
igoroctaviano 04baaf941b Update snackbar styles 2020-06-30 14:25:10 -03:00
igoroctaviano 5ca6757b44 Add error message of generate reportt 2020-06-30 14:02:23 -03:00