Commit Graph

2658 Commits

Author SHA1 Message Date
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
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
Rodrigo Antinarelli
cb2871d377 fix conditional 2019-06-13 16:20:29 -03:00
Rodrigo Antinarelli
1cbbbd6989 update i18n 2019-06-13 15:31:33 -03:00
Rodrigo Antinarelli
ea3142c1ea fix conditional 2019-06-13 15:30:13 -03:00
Rodrigo Antinarelli
e90041ccd6 update i18n package 2019-06-13 15:30:05 -03:00
romulo bordezani
515768aff2 i18n implementation - Fixing CineDialog translations 2019-06-13 15:02:06 -03:00
romulo bordezani
f448a7cdcc i18n implementation - Removing ROI from translations 2019-06-13 14:59:41 -03:00
romulo bordezani
3fa9bc54f8 i18n implementation - Removing bad image from docs 2019-06-13 14:59:16 -03:00
romulo bordezani
414ebd5d8b i18n implementation - Updating yarn.lock 2019-06-13 14:31:04 -03:00
romulo bordezani
59489ae3c6 Merge branch 'feature/i18n-basics' of github.com:romulobordezani/Viewers into feature/i18n-basics 2019-06-13 14:25:19 -03:00
Rodrigo Antinarelli
9321c31235 udpate ohif/i18n version 2019-06-13 14:22:23 -03:00
Rodrigo Antinarelli
66fc1dd739 fix require.context bug 2019-06-13 14:22:10 -03:00
romulo bordezani
082656182b i18n implementation - Updating yarn.lock 2019-06-13 14:17:04 -03:00
romulo bordezani
94a7caa2c4 i18n implementation - Fixing up translations 2019-06-13 14:16:43 -03:00
romulo bordezani
b89fada19e i18n implementation - Fixing up vtk-extension's packages 2019-06-13 14:16:30 -03: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
João Felipe de Medeiros Moreira
071f92e45c fix(StudyBrowser): Remove transform to fix drag/drop positioning for thumbnails (#548) 2019-06-12 20:15:51 +02:00
Rodrigo Antinarelli
45993e423d small fix 2019-06-12 13:30:08 -03:00
Rodrigo Antinarelli
8c608dc05b update branch 2019-06-12 13:22:46 -03:00
Erik Ziegler
45808dc0f1
ci(Circle): Add deploy tracking and source map upload to Rollbar (#545) 2019-06-12 15:06:24 +02:00
Erik Ziegler
9f82ef1682
chore(package.json): Update ohif-core (0.5.8) and react-viewerbase (0.7.1) (#546) 2019-06-12 14:58:30 +02:00
Erik Ziegler
0d3dcf5035
docs(netlify.toml): Fix Netlify URL path issues for deploy previews (#544) 2019-06-12 09:10:21 +02:00