Commit Graph
100 Commits
Author SHA1 Message Date
Danny Brown 5ac9048ef0 feat: extension panels
* Snapshot -- Switching branches
* fix classes and hooks for panel componet
* Restore button functionality
* feat: support for expandableToolMenu
* Shift cornerstoneTools config up a layer, and use globalToolSync
* Remaining initCornerstoneTools changes
* Pull in Segmentation Plugin
* Shift MeasurementsPanel to an extension
* Note regarding where data is coming from
* Make sure measurement callback is available
* Bump core version
* Shift MeasurementsTable to a local extensions directory
* Register appCommands as an extension
* Update package dependencies and yarn lock
* Support for panel width
* Ability to pass props to our panel component
* Add a safety check around calling our tacked on method for tool options
* Left sidebar plugins + fix activeIndex prop passed to sidebar.
* fix: viewer height
Now in a shared container w/ top bar, so we need to factor that in when calculating height
* lock file latest
* Update thumbnails if studies has changes
* bump cornerstone version to resolve globalToolSynch history issue
* Default panel to open; studies optional
* Bump minor version for ohif-cornestone-extension
* Simplify button logic
* Accommodate odd roundedButtonGroup value change emit
* Map viewers + selectedViewport instead of pulling off the window
2019-07-04 14:09:13 -04:00
Danny Brown 514609708d chore: set codecov commit status threshold (#623)
* chore: set codecov commit status threshold

* Test new code doesn't fail threshold

* Turn off patch status

* Undo test threshold code
2019-07-02 22:18:50 -04:00
Danny Brown 30bcc07dda Merge pull request #578 from OHIF/all-contributors/add-dlwire
docs: add dlwire as a contributor
2019-06-21 11:56:15 -04:00
Danny Brown 1d5c1cb83f feat: extension system overhaul 2019-06-21 09:15:47 -04:00
Danny Brown f7ba7621ef Merge pull request #549 from dannyrb/feature/extensions-panels-and-docs
Feature/extensions panels and docs
2019-06-21 09:13:42 -04:00
Danny Brown 51d1679dfb Merge branch 'master' into feature/extensions-panels-and-docs 2019-06-21 00:00:33 -04:00
dannyrb 6288ff9c8f Fix broken test 2019-06-20 23:58:32 -04:00
dannyrb bc4a650283 Breaks UMD build 2019-06-20 23:55:02 -04:00
dannyrb f4e4cfdf39 lock file 2019-06-20 23:50:06 -04:00
dannyrb 23de20d7d3 Bump extension and ohif-core versions 2019-06-20 23:30:52 -04:00
dannyrb 13aedecd55 Bump two more package versions 2019-06-20 23:30:16 -04:00
dannyrb 566cb218e6 Bump deps 2019-06-20 23:23:54 -04:00
dannyrb 7d2e65c73a Stubbed readme 2019-06-20 23:23:10 -04:00
dannyrb 3cb5abf0c9 Prettier config and formatting 2019-06-20 23:22:52 -04:00
dannyrb ec9ea8b761 formatting 2019-06-20 23:17:07 -04:00
dannyrb aa250a9210 bump package version 2019-06-20 23:12:55 -04:00
dannyrb 235f56c071 bump ohif-core minimum version number 2019-06-20 23:10:58 -04:00
dannyrb ff602bf500 simple vtk extension readme 2019-06-20 23:10:17 -04:00
dannyrb 5785ab9f1f bump version 2019-06-20 23:01:39 -04:00
dannyrb 273e262420 Add badge 2019-06-20 23:01:03 -04:00
dannyrb c2b048795d bump minimum required ohif-core version number 2019-06-20 22:57:57 -04:00
dannyrb 75288d986d update readme 2019-06-20 22:57:38 -04:00
dannyrb a5b0e15369 Formatting 2019-06-20 22:57:14 -04:00
dannyrb 2326aa8ba1 Some sane prettier defaults 2019-06-20 22:56:26 -04:00
dannyrb 3a684e5963 rename 2019-06-20 22:50:56 -04:00
dannyrb 56bf65d95f name bump 2019-06-20 22:50:23 -04:00
dannyrb c193ba17e7 fix for broken CINE player 2019-06-20 20:30:12 -04:00
Danny Brown a9659a0f24 Merge pull request #572 from OHIF/all-contributors/add-diego0020
docs: add diego0020 as a contributor
2019-06-18 23:35:32 -04:00
Danny Brown b3873f7673 Merge pull request #520 from diego0020/dev-react-proxy
WIP: Use react proxy instead of nginx with cors headers for local dev
2019-06-18 23:33:37 -04:00
dannyrb 03501eddb0 fix typo 2019-06-18 23:33:02 -04:00
dannyrb 2f4961c078 Note regarding docker toolbox and react-proxy 2019-06-18 23:26:27 -04:00
dannyrb 4f3f19de7c Beginnings of commandsModule docs 2019-06-18 21:09:08 -04:00
Danny Brown 39d844f106 Merge branch 'master' into dev-react-proxy 2019-06-18 21:05:13 -04:00
dannyrb 3859359a05 Note regarding how extensions are specified for app 2019-06-18 16:11:38 -04:00
dannyrb 9af3ad414a Clean up code snippet config 2019-06-18 15:29:43 -04:00
dannyrb 8112c569e8 Expanding extensions docs 2019-06-18 15:19:04 -04:00
dannyrb 32b420087b Don't set vtk on viewport's layout; rely on viewportSpecificData 2019-06-18 14:51:51 -04:00
dannyrb aa811dffe3 Use dicom-html extension 2019-06-18 14:49:45 -04:00
dannyrb 0bfd49d1eb Remove window. references 2019-06-18 14:33:39 -04:00
dannyrb f26dfe4801 Causes things to blow up when sopClassHandler should be used instead of cornerstone 2019-06-18 14:33:02 -04:00
dannyrb b542ce4437 port html extension 2019-06-17 16:23:31 -04:00
dannyrb d1f7431af6 Re-add dicom microspy extension 2019-06-17 15:42:11 -04:00
dannyrb a1bbc4e87a Pull in PDF extension 2019-06-17 15:05:51 -04:00
dannyrb b154c2612d Use new extension interface 2019-06-17 15:05:27 -04:00
dannyrb 01ea3f4179 scoped package 2019-06-17 15:05:10 -04:00
dannyrb 4d540170aa Use activeContexts getter/selector in commandsManager 2019-06-17 14:48:33 -04:00
dannyrb 8b636b53be Make sure plugin is set for cornerstone viewports before a layout change is triggered 2019-06-17 14:45:53 -04:00
dannyrb 6050721d33 Use reselect to compute our activeContexts 2019-06-17 14:20:32 -04:00
dannyrb 88568b1ddd extensions specify default toolbar button context 2019-06-17 14:03:04 -04:00
dannyrb 80047ff518 Thunk and logger for redux 2019-06-17 10:40:01 -04:00
dannyrb a75bae90aa Merge branch 'master' of github.com:OHIF/Viewers into feature/extensions-panels-and-docs
# Conflicts:
#	extensions/ohif-vtk-extension/package.json
#	extensions/ohif-vtk-extension/src/commandsModule.js
#	extensions/ohif-vtk-extension/yarn.lock
2019-06-17 09:02:24 -04:00
dannyrb 1367f96dcd Remove code that depends on global "buttons" in Vtk Viewport 2019-06-16 23:44:01 -04:00
dannyrb ba92111484 No need to pull commandsManager off the window 2019-06-16 23:43:30 -04:00
dannyrb e6c9152cd1 Technically available in _any_ context, not just VTK 2019-06-16 23:36:10 -04:00
dannyrb 46904ea39f Context specific commands 2019-06-16 23:31:17 -04:00
dannyrb cf65e3a690 lowercase toolbarModule 2019-06-16 23:12:20 -04:00
dannyrb 723c9c9c2e force rename toolbarModule 2019-06-16 23:12:03 -04:00
dannyrb d5b4cb7b07 Refactor vtk extension; re-add to app 2019-06-16 23:11:43 -04:00
dannyrb f90578f567 Add vtk dependencies 2019-06-16 23:10:39 -04:00
dannyrb 1af09f1fad Merge branch 'master' of github.com:OHIF/Viewers into feature/extensions-panels-and-docs
# Conflicts:
#	extensions/ohif-vtk-extension/src/ConnectedToolbarSection.js
#	src/App.js
2019-06-16 22:26:44 -04:00
dannyrb 7ed90a280f Escape hatch note 2019-06-16 22:15:44 -04:00
dannyrb fc6f7446d0 Remove dead code: ConnectedToolbarSection and setToolActive 2019-06-16 14:23:03 -04:00
dannyrb 3ed602a40a Append Module to sopClassHandler method 2019-06-16 14:17:22 -04:00
dannyrb 9b7d77e2d6 Example SOP Class Handler 2019-06-16 14:16:36 -04:00
dannyrb 0cea2a8bff Simplify basic viewport extensions 2019-06-16 14:15:34 -04:00
dannyrb ffae67dc99 Remove dead comments from commandsModule 2019-06-16 14:08:38 -04:00
dannyrb 6e4dba7a10 Fix active button 👍 2019-06-16 14:07:13 -04:00
dannyrb 94177eee24 Prefer direct ToolbarButtons usage over ToolbarSection 2019-06-16 13:58:25 -04:00
dannyrb 9d50d97d6f Remove unused getDefaultToolbarButtons now that they're pushed to extension 2019-06-16 13:57:11 -04:00
dannyrb 7971ac58a2 Generic setToolActive command 2019-06-16 13:56:49 -04:00
dannyrb 4de5fa2d0e Simplify toolbar module to be config only for now; use new modules in extension 2019-06-16 13:56:24 -04:00
dannyrb 43a493283a Merge branch 'feature/extensions-panels-and-docs' of github.com:dannyrb/Viewers into feature/extensions-panels-and-docs 2019-06-14 20:45:36 -04:00
Danny Brown df2a984cd3 Merge branch 'master' into feature/extensions-panels-and-docs 2019-06-14 20:45:00 -04:00
dannyrb 902dc5e31d Correctly find toolbar extensions 2019-06-14 20:44:15 -04:00
dannyrb 29853429c7 createStacks --> studyMetadata.createDisplaySets(sopClassHandlerModules) 2019-06-14 20:28:41 -04:00
dannyrb 89b1ce4a4e Pull out cornerstone command registration 2019-06-13 10:17:53 -04:00
dannyrb 361be79174 Toolbar row to use new types 2019-06-13 09:51:19 -04:00
dannyrb 31c987d700 Shift to new syntax; try to get only cornerstone extension working with new syntax 2019-06-13 09:50:53 -04:00
dannyrb 0318203770 Shift commands to appropriate extension 2019-06-13 09:50:07 -04:00
dannyrb 59c6c4dc34 Comment out unused code 2019-06-13 09:49:30 -04:00
dannyrb 05e8c803c9 Update example for commandsModule 2019-06-13 09:49:09 -04:00
dannyrb 209d575092 Merge branch 'feature/extensions-panels-and-docs' of github.com:dannyrb/Viewers into feature/extensions-panels-and-docs 2019-06-12 16:38:28 -04:00
Danny Brown d0cbf577a3 Merge branch 'master' into feature/extensions-panels-and-docs 2019-06-12 16:38:28 -04:00
dannyrb b052930123 fix connected layout manager to use extensionManager 2019-06-12 16:37:45 -04:00
dannyrb 4f6cee8960 New up and expose an extensionManager for the app 2019-06-12 16:10:57 -04:00
dannyrb 9c797233bb PLUGIN_TYPES --> MODULE_TYPES 2019-06-12 16:09:35 -04:00
dannyrb 29f86d41e6 Begin stubbing an example plugin with all options as basic docs/recipe 2019-06-12 16:09:06 -04:00
Danny Brown ce9d956d00 Merge pull request #538 from dannyrb/master
fix: demo
2019-06-09 22:12:00 -04:00
dannyrb 55e326dde8 force bump 2019-06-09 22:11:25 -04:00
dannyrb 64a9e38de4 chore: build warnings preventing demo deploy 2019-06-09 22:09:37 -04:00
Danny Brown 7efdb40607 Merge pull request #514 from dannyrb/fix/hotkeys
Fix/hotkeys
2019-06-08 21:42:59 -04:00
dannyrb fddcc746d9 No ESM in vanilla modules 2019-06-08 21:23:00 -04:00
dannyrb 9d9b3a7749 Make sure our app doesn't blow up if hotkeys aren't provided 2019-06-08 15:26:11 -04:00
dannyrb 78068bed4b push default hotkeys to a shared location 2019-06-08 15:25:39 -04:00
dannyrb 7f95c1284a fix: command direction for previousViewportDisplaySet 2019-06-08 15:12:19 -04:00
dannyrb 5325d2d2fe bump versions 2019-06-08 15:08:09 -04:00
dannyrb a119ca33f0 Hide our user preferences modal for now 2019-06-06 15:01:32 -04:00
Danny Brown bee9985877 Merge branch 'master' into fix/hotkeys 2019-06-06 14:46:57 -04:00
dannyrb e0cbc8ef4d No need for connected user preferences when header can contain info 2019-06-06 14:41:31 -04:00
Danny Brown cbf144ff90 Merge pull request #531 from OHIF/dependabot/npm_and_yarn/extensions/ohif-cornerstone-extension/js-yaml-3.13.1
build(deps): bump js-yaml from 3.12.0 to 3.13.1 in /extensions/ohif-cornerstone-extension
2019-06-06 10:29:04 -04:00