Commit Graph
56 Commits
Author SHA1 Message Date
Gustavo André LelisandDanny Brown 7b2d44f2c1 fix: Remove trash data from redux storage after updates (#1358)
* Remove tash data from redux storage after updates

* Imprelemnted more unit tests

* Remove missing comment

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-02-05 21:54:57 -05:00
Gustavo André Lelis b9a66d4424 fix: 🐛 Metadata is being mistakenly purged (#1360)
Closes: #1326
2020-01-15 09:15:10 -05:00
Gustavo André Lelis 2e215aed4c test: 💍 Updating tests after bug fix (#1324)
Closes: #1167
2019-12-20 19:14:07 -05:00
Gustavo André LelisandDanny Brown 6540e36818 fix: 🐛 1241: Make Plugin switch part of ToolbarModule (#1322)
* fix: 🐛 Make Plugin switch part of ToolbarModule

Closes: #1241

* Move setCornerstoneViewport command into cornerstone extension

* Exposing extensionManager into extension's get modules functions

* Remove Plugin switch

* Updating set cornerstonelayout to work on VIEWER context

* Creating a customComponent for 2D MPR button

* Use extensionManager to show or not buttons
Adding isHidden option into toolbarModules

* Make buttons hidden depending on extension registration

* Fix unit test after changes on extensionManager

* Remove workaround for extensionManager

* Use studyMeatadataManager and remove TODO's

* Remove storeContext not needed

* Moving Exit 2D MPR into cornerstone extension with VTK context

* Remove PluginSwitch files

* Fix E2E tests

* Adding cypress screenshots into gitignore

* Remove extensionManager from getModuleFn functions and moving CustomComponent for VTK button to VTK extension

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2019-12-20 15:59:36 -05:00
Gustavo André Lelis 23305cec9c fix: 🐛 Fix drag-n-drop of local files into OHIF (#1319)
* fix: 🐛 Fix drag-n-drop of local files into OHIF

Closes: #1307

* CR Update: Centralize dialogs
2019-12-19 10:14:05 -05:00
Gustavo André Lelis ebe1af8d4f feat: 🎸 DICOM SR STOW on MeasurementAPI (#954)
* feat: 🎸 DICOM SR STOW on MeasurementAPI

Closes: #758

* feat: 🎸 Adding the dataExchance from DICOM SR

* feat: 🎸 Fix some issues and get the retrieve measurements working

* feat: 🎸 Preventing measurement tool helpers to broke because the data is not Number (it comes as string from dcmjs)

* feat: 🎸 Adding a button to start testing SATE functionality

* feat: 🎸Small fixes into the code

* feat: 🎸 MAke sure we get latest SR in the study, even on lazyLoad mode

* Revert "feat: 🎸 Preventing measurement tool helpers to broke because the data is not Number (it comes as string from dcmjs)"

This reverts commit 4b3a1efb5810487d2319826fd59c03d779882b5e.

* feat: 🎸 Make sure after sync we update the viewports and also that annotation tools are set to passive, so it can be drawn in the viewports

* feat: 🎸 Remove console logs and start using OHIF.log

* feat: 🎸 Refactor measurement table to use Snackbar service of messages and make sure we only show save button if server type is dicomWeb

* feat: 🎸 Refactor to remove mocked wadoRoot and use server

* Fix to expose error once we can't save the SR

* Update DCMJS into latest dev version

* Update dcmjs with latest fixes

* Fix PR callouts

* Logging error on MeasurementReport creation

* Preventing from breaking on non supported tools and also warning that some toolType is not sopported

* Small error message update

* Expose better the errors and when we have unsopported tools into the measurements

* Renaming variable

* Expose dcmjs tool support check

* Change the way we warn the unsupportedTools

* Adding style to the button

* Small change on button style

* Fix git conflicts

* Fix after merge with latest master

* Fix after merge with master, btn was not clickable

* Fixing callouts

* Adding util functions into files and refactor with JSDocs

* Refactoring code, adding some basic JSDocs

* Bump dcmjs with latest version and fixes

* JSDocs and small refactors

* yarn lock file after dcmjs update

* Remove unused parameters

* Registering a plain copy of server into measurementAPI

* Small refactor

* Start changing from toolType to toolName

* Rename a function to get instanceMetadata

* Adding error if server is not DICOMWeb on retrieve

* Move snackbar outside of UI component and use UINotificationService

* Refactor and JSDocs

* Small fixes on JSDocs (style)

* Remove unused import

* Improve JSDocs on MeasurementApi

* Remove refactor leftover

* Improve JSDocs and propTypes

* JSDocs and small refactors
2019-12-11 11:14:01 -05:00
Gustavo André Lelis 69b96478cb * fix: 🐛 Enabling workbox to cache webfonts and fonts-stylesheets, add local fonts for UMD build (#906)
* fix: 🐛 commonjs/umd fonts import

Importing font into index-umd.js and creating a simple font css file
with font-face

Closes: #724

* fix: 🐛 Enabling workbox to cache webfonts and fonts-stylesheets

Closes: #724

* fix: 🐛 Adding all type of fonts from google - Roboto

Closes: #724
2019-09-27 11:11:05 +02:00
Gustavo André Lelis 5551f817e3 fix: 🐛 Set series into active viewport by clicking on thumbnail (#945)
* fix: 🐛 Set series into active viewport by clicking on thumbnail

Users should be able to set the series for the active viewport by
clicking it's thumbnail into Study browser

Closes: #895

* fix: 🐛 Set series into active viewport by clicking on thumbnail

Small refactor into onClick data callback and thumbnailClick function

Closes: #895

* fix: 🐛 Refactor thumbnail click code changes

* fix: 🐛 We must clear the sopInstanceUid if we don't update it together with the viewportSpecificData, preventing console warning.

* fix: 🐛  Cleaning up a few more code changes
2019-09-26 10:08:30 -04:00
Gustavo André Lelis 7a9b477609 fix: 🐛 Activating Pan and Zoom on right and middle click by def (#841) 2019-09-02 20:38:48 -04:00
Gustavo André Lelis 727c0d8ba6 fix(labelling): Update naming of configuration to props as cornerstoneTools has also changed (#484) 2019-07-08 21:38:03 +02:00
Gustavo André Lelis 3f4fbd2639 Merge pull request #518 from OHIF/bump-react-viewport
fix(react-viewport): Bump react-cornerstone-viewport
2019-06-04 14:28:47 -03:00
Gustavo Lelis 203303e1e7 fix(react-viewport): Bump react-cornerstone-viewport 2019-06-04 13:41:55 -03:00
Gustavo André Lelis ca98e69a66 Merge pull request #383 from OHIF/bump-react-viewerbase
Bump react-viewerbase version to 0.2.17
2019-04-15 10:12:19 -03:00
Gustavo Lelis ba72350c9e fix(react-viewerbase): Fixing the package version instead of using latest minor 2019-04-15 10:07:28 -03:00
Gustavo Lelis 3077d18ace Bump react-viewerbase version to 0.2.17 2019-04-10 11:05:54 -03:00
Gustavo André Lelis 768db26bfc Merge pull request #375 from OHIF/viewport-custom-props
feat(vewportOverlay): Update the extension to be able to pass custom …
2019-03-29 14:53:28 -03:00
Gustavo Lelis 59c06c886b feat(react-cornerstone-viewport): Bump version 2019-03-29 13:51:16 -03:00
Gustavo Lelis c05c666d72 feat(viewportOverlay): Adding default value on customProps 2019-03-28 17:19:20 -03:00
Gustavo Lelis aacd0c68b8 feat(vewportOverlay): Update the extension to be able to pass custom properties to the viewport 2019-03-27 04:34:23 -03:00
Gustavo Lelis 656b64e9db Update viewerbase, bump ohif-viewer to 0.0.17 2019-02-21 08:10:25 +01:00
Gustavo Lelis e6480594ae fix(cine): Fix tool icon 2019-02-18 10:47:07 +01:00
Gustavo Lelis 6dd9a6ac49 feat(measurementTable): Adding prop-types as peerDependency as we have is also as peer on react-cornerstone-viewport 2019-02-12 03:32:23 -02:00
Gustavo Lelis cb32c299e2 feat(measurementTable): Adding convert measurements into table data function into our reducer 2019-02-12 03:30:25 -02:00
Gustavo Lelis 7c20343912 feat(measurementTable): Providing studyInstanceUids for ConnectedViewer component 2019-02-12 03:30:25 -02:00
Gustavo Lelis de853c9221 feat(measurementTable): Fixing tool naming to match with tools instanciated in the viewer 2019-02-12 03:30:24 -02:00
Gustavo Lelis 0ff4e43315 feat(measurementTable): Add dispatch functions for measurements updates. 2019-02-12 03:30:23 -02:00
Gustavo Lelis 9048dcbc1e Fixing tool naming changes 2018-11-09 13:24:47 -05:00
Gustavo Lelis 875640073e Refator in ToolManager 2018-11-09 13:24:47 -05:00
Gustavo Lelis c30cdbe625 - Fixed by setting all tools to passive mode after instantiate then all
- Fixed the default tool that was not being set correctly.
- Fixed some callouts done by Erik into my PR related with keeping old tool list
2018-11-09 13:24:47 -05:00
Gustavo Lelis 51c5c76eb9 Fix some naming and updating to the correct cornerstone-tools version 2018-11-09 13:24:44 -05:00
Gustavo Lelis 500ca1ec07 Updating to latest version of tools and remving typo 2018-11-09 13:23:43 -05:00
Gustavo Lelis fee6b240a4 Adding cornerstoneTools init() 2018-11-09 13:23:43 -05:00
Gustavo Lelis e5e027f716 WIP: Introducing cornerstoneTools v3 into Viewers 2018-11-09 13:23:43 -05:00
Gustavo André Lelis 53f71aa34c chore(dimse): Migrate from Meteor to NPM package for DIMSE calls (#269) 2018-09-28 08:54:03 +02:00
Gustavo Lelis e7042cafef Fixing tool naming changes 2018-09-24 02:38:24 -03:00
Gustavo Lelis 01739fa70a Refator in ToolManager 2018-09-24 02:38:24 -03:00
Gustavo Lelis 5865f542f8 - Fixed by setting all tools to passive mode after instantiate then all
- Fixed the default tool that was not being set correctly.
- Fixed some callouts done by Erik into my PR related with keeping old tool list
2018-09-24 02:38:24 -03:00
Gustavo Lelis 44cb47f64a Fix some naming and updating to the correct cornerstone-tools version 2018-09-24 02:38:23 -03:00
Gustavo Lelis e3bf0f2852 Updating to latest version of tools and remving typo 2018-09-24 02:38:09 -03:00
Gustavo Lelis ad459a2515 Adding cornerstoneTools init() 2018-09-24 02:37:46 -03:00
Gustavo Lelis da5b755637 WIP: Introducing cornerstoneTools v3 into Viewers 2018-09-24 02:37:46 -03:00
Gustavo André Lelis 2f1a2273a4 BugFix(#183): Avoid adding focus on a viewport that is already activated (#265) 2018-09-06 15:28:26 -03:00
Gustavo André Lelis 2493802dea Adding ArrowAnnotate and simpleAngle into measurement-table (#263) 2018-09-06 08:07:54 -03:00
Gustavo André Lelis 7a47b58729 fix(IE11) Bump version of dcmJS into cornerstone package - fixes #246 (#260) 2018-08-23 18:49:43 -03:00
Gustavo André Lelis ced47c765f feat(export-CSV) Export measurements to CSV file (#209) 2018-07-31 15:02:47 +02:00
Gustavo André Lelis 26b14f1dab feat(STOW-RS) Save DICOM Structured Reports from Measurement Table back to archive (#236)
* Small refactor into Table Class setting events as static object into class

* feature(STOW-SR) : Initial changes to stow when we have Server.

* Improvements into requests and small fix into style

* Small fix for jumpToRow without refheshing page

* Handling STOW-SR once we don't have server

* feature(STOW-SR) Refactor

* Merge request with makeRequest and delete old file

* Expose wadoproxy to client and update measurement-table to start using wadoproxy.getServerUrl

* Move WADOProxy.getServerUrl to Measurement-table package. Fix querystring issue.

* Remove proxy:enabled in favour of requestOptions.requestFromBrowser

* Bcrypt 2.0.0 to fix Travis
2018-07-31 15:01:26 +02:00
Gustavo André Lelis d94f0eec16 feat(measurement-table) Display support for measurements from DICOM Structured Reports (#225) 2018-07-20 12:40:09 +02:00
Gustavo André Lelis bdba814d52 fix(issue#161) Add (empty) for Studies with no PatientName value (#218) 2018-07-05 11:32:06 +02:00
Gustavo André Lelis 16281366c8 fix(dockersupport) Adding a relative path into docker-compose to use dockersupport/ app.json (#216) 2018-07-03 17:26:36 +02:00
Gustavo André Lelis 830146441d fix(date limits) Enabling range day limits on study search (#217) 2018-07-03 17:04:20 +02:00
Gustavo André Lelis 6a5ff13624 fix(series details) Fix Series details modal info table (#214) 2018-07-03 14:00:35 +02:00
Gustavo André Lelis 85e21181a8 fix(toolManager) Fix default tools being overwritten (#215) 2018-07-03 14:00:01 +02:00
Gustavo André Lelis 9f73ae0153 chore(reorganization) Moving longitudinal feature to Lesiontracker package (#208) 2018-06-18 18:03:34 +02:00
Gustavo André Lelis 1643e9f7d6 feat(WADOProxy): Adding proxy to POST method (#207) 2018-06-18 18:01:10 +02:00
Gustavo André Lelis b8506b5dae bugFix(issue163) Save button not appearing and saved measurements not getting drawn in canvas (#196) 2018-06-08 10:45:07 +02:00
Gustavo André Lelis 675e46eff6 Bump version in OHIF-cornerstone package of cornerstone node modules (#187) 2018-05-07 10:14:11 +02:00