Igor Octaviano
daa3ddccdb
refactor: 💡 ServicesManager factory functions vs instances ( #1272 )
...
* refactor: 💡 ServicesManager factory functions vs instances
Refactor servicesManager to take factory functions instead of instances
Closes : #1265
* Remove testing code
2019-12-10 22:28:23 -05:00
Igor Octaviano
8fd3af1e13
feat: Add new annotate tool using new dialog service ( #1211 )
...
* Testing dialog
* Refactor modal and add dialog component to simple dialog
* Use existent dialog
* Expect event from getText callback (annotation)
* Bump cornerstone-tools version
* Use simple dialog
* bump cornersotne version
* CR Update: Update dialgo method names and default values
* CR Update: Bump overlay and show only if theres at least one overlay prop set to true
* CR Update: Use percentage over view height in draggable area
* Fix broken test vtk checks WWWC tool
* Comment test (non-deterministic)
2019-11-25 17:13:42 -05:00
Igor Octaviano
f65639c2b0
feat: New dialog service ( #1202 )
...
* Add dialog provider boilerplate and improve provider imports
* Add react-draggable dependency
* Add dialog service boilerplate
* Refactor modal to use react-modal and remove dependency on modal themed styles
* Update cinedialog to use new dialog provider
* Add multiple dialogs and refactor provider (dialogs)
* Set app root (modal)
* Add modal zindex bigger than tooltip
* Block drag on buttons/svgs/paths/input and improve jsdoc
* Use guid util to generate dialog ids
* Explicit props in dialog provider
* Improve jsdocs
* Fix tests broken
* Fix boundaries calculation
* Remember last dialog position
* Update providers location
* Add scroll to modal
* Add toggable button toolbar and fix css modal
2019-11-19 14:17:33 -05:00
Igor
7f6de72e8e
Add default props to modal
2019-11-15 15:20:26 -03:00
Igor
fe687cd2f9
Refactor modal provider to better use its own state
2019-11-14 14:56:01 -03:00
Igor
95c18b4986
CR Update: fix casing and add required proptypes to providers
2019-11-14 11:16:35 -03:00
Igor
9104e7be50
Add new modal service
2019-11-14 10:19:33 -03:00