Commit Graph

2841 Commits

Author SHA1 Message Date
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
Erik Ziegler
f47ce6e629 feat(@ohif/extension-vtk): Add visible crosshair lines to MPR mode
re #562
2019-06-17 14:48:11 +02:00
Erik Ziegler
9f67ecab55 @ohif/extension-vtk: Enable crosshairs display on viewports (0.0.6) 2019-06-17 14:30:50 +02: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
Erik Ziegler
bd0c7b75e7 feat(@ohif/extension-vtk): Add oblique rotate button to MPR mode
re #563
2019-06-15 16:03:12 +02:00
Erik Ziegler
357187ddee @ohif/extension-vtk: Enable rotate button (0.0.5) 2019-06-15 16:03:12 +02:00
Erik Ziegler
24a8d7bca2
feat(@ohif/extension-vtk): Update app to include basic MPR with VTK (#557) 2019-06-15 14:26:09 +02:00
Erik Ziegler
d0d757d468
Merge pull request #556 from OHIF/vtk-extension-changes
refactor(@ohif/extension-vtk): Update VTK extension to add basic MPR …
2019-06-15 13:44:59 +02:00
Erik Ziegler
1bf199786c
Merge branch 'master' into vtk-extension-changes 2019-06-15 13:41:41 +02:00
Erik Ziegler
5a0d37ff64
Merge pull request #555 from OHIF/cornerstone-extension-update
refactor(@ohif/extension-cornerstone): Error handling and removal of …
2019-06-15 13:40:23 +02:00
Erik Ziegler
9573f67132 refactor(@ohif/extension-vtk): Update VTK extension to add basic MPR functionality 2019-06-15 11:51:56 +02:00
Erik Ziegler
537057e4d6 refactor(@ohif/extension-cornerstone): Error handling and removal of viewportData clearing on compon 2019-06-15 11:47:07 +02: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
Erik Ziegler
04e00fad20
feat(i18n): Add ability to internationalize the application and its extensions (#526)
* i18n basic setup

* i18n - extension extraction

* Creating spanish translation

* i18n - extension extraction

* i18n - Multiple languages overrides

* i18n - Multiple languages overrides

* remove yalc react-viewerbase

* use t prop from withTranslation

* fix typo

* Exports provider and HOC to be used by any application without install I18Next libraries

* i18n - Documentation

* i18n - Adding Provider to non Admins

* i18n - Documentation for i18n

* i18n - Documentation for i18n

* Configures hif-vtk-extention to use ohif-i18n for translation and include load more locations

* update i18n documentation

* add language detector lib

* fix text

* WIP - using yalc for react-viewerbase

* remove unused switch language buttons

* Update yarn.lock

* Merge branch 'master' of https://github.com/OHIF/Viewers into feature/i18n-basics

# Conflicts:
#	extensions/ohif-vtk-extension/package.json
#	extensions/ohif-vtk-extension/rollup.config.js
#	extensions/ohif-vtk-extension/yarn.lock
#	package.json
#	src/App.js
#	src/components/Header/Header.js
#	yarn.lock

* Adding language detector as Peer Dependency, its not working inside the rollup bundle.

* Upgrading i18next version.

* Language Detection implementation, bug fixes related to i18n and debugger helper added.

* Updating i18next documentation.

* i18n implementation - Adding final packages

* small fix

* i18n implementation - Fixing up vtk-extension's  packages

* i18n implementation - Fixing up translations

* i18n implementation - Updating yarn.lock

* fix require.context bug

* udpate ohif/i18n version

* i18n implementation - Updating yarn.lock

* i18n implementation - Removing bad image from docs

* i18n implementation - Removing ROI from translations

* i18n implementation - Fixing CineDialog translations

* update i18n package

* fix conditional

* update i18n

* fix conditional

* update @ohif/i18n
2019-06-14 15:56:20 +02:00
Erik Ziegler
db814f6248
Merge branch 'master' into feature/i18n-basics 2019-06-14 15:52:39 +02:00
Rodrigo Antinarelli
56e3982111 update @ohif/i18n 2019-06-13 16:20:36 -03:00