Commit Graph

79 Commits

Author SHA1 Message Date
Pierre-Antoine Ganaye
e09a3d2e93
docs: Remove dead links in docs and improve SOP Class Handler docs (#1593)
* fix docs dead links

* add examples to SOP handler docs
2020-04-02 09:24:49 -04:00
Igor Octaviano
55a580659e feat!: Ability to configure cornerstone tools via extension configuration (#1229)
* Fix ExtensionManager bug and add test to bandaid

* Add tools configuration to extension manager preinit

* Fix reducing of configs

* Merge internal with external configs

* Merge internal with external configs

* Remove dialog from init in measurementstable

* Testing injected configuration

* New way to set config

* Add new prop to dialog provider to allow disabling last position

* Remove code from preinit in cornerstone

* Add new prop to dialog provider to allow disabling last position

* Add centralize to dialogs

* Reorder dialogs when adding them

* Fix draggable styles (cursor)

* Remove repositioning methods from labelling flow and remove overlay from labelling manager

* Fix empty array being set in bringToFront

* Add new command to update table and pass commands manager to modules/preinit hook

* Ad UIContextMenu service / factory

* Use new contextmenu service in measurementspanel extension

* Use dialogs for arrow annotate in default

* Remove positioning funcionality from tool context menu

* Add context menu service

* Pass commandsModule to extension

* Update edit description dialog and simple dialog to position relative

* Remove style code from labelling flow and manager

* Remove eventdata from labelling

* Remove labelling code from measurement init

* Add commandsmanager to provider

* Update contextmenu provider and service

* Add touchstart and mouseclick to hide contextmenu

* Hide labelling if click/touch

* Remove labelling and context menu dead code

* Fix undefined bug if ViewerMain grid has no children

* Fix broken prop on context menu

* Update commandsmodule based on master

* Fix broken configuration

* Update script tag config

* Remove cornerstone from toolcontextmenu

* Remove cornerstone from toolcontextmenu

* Split labelling and context menu providers

* Split labelling and context menu providers

* Update test

* Destructure extensions into new array

* CR Update: Move default arrow config to cornerstone instead of default

* CR Update: Fix app configuration props structure

* CR Update: Fix app configuration prop in script tag and extract commands manager from providers

* CR Update: Create custom providers to use commandsManager

* CR Update: Use services directly in measurementspanel

* CR Update: Pass components to providers

* CR Update: Remove position from dialog

* CR Update: fix dialog prop check

* CR Update: Fix comments

* CR Update: Update documentation

* CR Update: Add test default configuration

* CR Update: Add default empy array to extensions

* CR Update: Update i18n configuration all ot match current function configuration

* CR Update: Add defaults to injected dependencies in configuration and extension configuration

* CR Update: Add defaults to configuration with no args

* Update documentation

* CR Update: Add default for tools

* CR Update: Update config object to i18n

* CR Update: spread defaults

* CR Update: Add tool configuration example to cornerstone extension

* CR Update: Add tool configuration to netlify (testing)

* CR Update: Remove netlify config for tools

* CR Update: Rollback changes to i18n to be fixed later

* CR Update: Update documentation and pass whole cornerstone config object instead of tools key

SEE: https://www.conventionalcommits.org/en/v1.0.0/#commit-message-with-both-and-breaking-change-footer

BREAKING CHANGE: modifies the exposed react <App /> components props. The contract for providing configuration for the app has changed. Please reference updated documentation for guidance.
2019-12-09 12:47:23 -05:00
dannyrb
830cb82965 docs: shift files around to match summary structure 2019-12-07 00:12:08 -05:00
dannyrb
6873c4f065 docs: shift "getting started" outside of essentials 2019-12-06 22:48:57 -05:00
Danny Brown
02572b4928
docs: extensions (#1258)
* docs: process docs to include UX Stories requirement

* docs: include note regarding different environments

* Services init

* Remove unused canny logos

* docs: add ModalService diagram

* docs: GIF of notification

* docs: add ui-services page

* docs: simplify ui services call out in the general services docs

* docs: tips and tricks for UI services

* docs: moar pages

* docs: dialog gif

* docs: services in summary/sidebar

* docs: gif examples at top of dialog and notification pages

* docs: add UIModal gif

* docs: details for Dialog Service

* docs: include usage information for ui modal service

* docs: detailed information about our UI Notification Service

* docs: services diagram

* docs: remove unused links

* docs: services example and image

* docs: stubbing extension pages

* docs: UX Stories --> User Cases

* chore: eslint fix

* docs: extensions overview + diagram

* docs: update extensions in sidebar

* docs: extension skeleton and registration info

* docs: copy of maintained extensions table partial in the extensions folder

* docs: swap out old extensions structure for new
2019-12-06 16:31:46 -05:00
Danny Brown
5c5a49486d
docs: more specific location for build output 2019-10-15 08:56:54 -04:00
Danny Brown
348b8949d4
docs: update code sandbox links to use sandboxes in our team (#915) 2019-09-13 14:54:15 -04:00
Danny Brown
a8c3d1b9a2
docs: runtime extensions (#908)
* docs: runtime extensions

* docs: small readability changes

* docs: clarity
2019-09-10 22:50:13 -04:00
dannyrb
1b1ff8068d docs: updated embedded-viewer recipe 2019-09-09 22:33:33 -04:00
dannyrb
32bc47d315 fix: remove requestOptions when key is not needed 2019-09-09 15:49:12 -04:00
ladeirarodolfo
7c4ee734fa refactor: 💡 React components to consume appConfig using Context (#852)
* refactor: 💡 React components to consume appConfig using Context

React components to consume app configuration using React Context and
React Hooks. Non React components to continue using global variable
window.config. Related documentation also changed.

Closes: #725

* refactor: 💡 Removing unecessary code

On current React component there is no need to import useContext method
from React, so, removing it.

* refactor: 💡 Code review

Code review. Minor changes based on review inputs and moving userManager
to an init method

BREAKING CHANGE: #725

Closes: #725

* docs: don't include implementation detail in docs

* docs: don't include implementation detail in docs

* docs: no need to specify implementation details in employment recipe

* docs: no need to specify implementation details in deployment recipe
2019-09-06 14:31:26 -04:00
dannyrb
691a073b86 docs(build-pwa): updated commands, file locations, point to configs instead of duplicating 2019-09-06 10:27:02 -04:00
dannyrb
c5936d412e docs(deployment): updated package name 2019-09-05 21:23:38 -04:00
dannyrb
d588ddd830 docs(embedded-viewer): new tag, less dependencies, 2019-09-05 21:22:54 -04:00
dannyrb
2cf355856b docs: duplicate PR-784 2019-08-20 16:39:25 -04:00
Omar Toutounji
d46cccc652 replaced REACT_APP_CONFIG with APP_CONFIG 2019-08-19 20:30:44 -04:00
Erik Ziegler
a4112c46a5
fix(package.json): Bump WADO Image Loader dependency, remove unnecessary worker and codec paths (#727)
Note: had to disable sourcemaps for commonjs modules. This seems to be the only way to prevent memory issues on CircleCI.
2019-07-30 11:00:08 +02:00
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
dannyrb
fa525bcb43 fix(toolbar): reduce the number of tools visible on the toolbar; bump package versions to deploy other fixes 2019-06-05 12:43:03 -04:00
dannyrb
4795c8d95e Fix codesandbox link 2019-05-28 10:06:54 -04:00
dannyrb
b6fedc434a Update embedded viewer docs 2019-05-22 15:57:35 -04:00
dannyrb
bb58a5f9f7 Docs for missing roboto font 2019-05-19 20:13:44 -04:00
dannyrb
9f0004659e Next steps 2019-05-13 13:03:06 -04:00
dannyrb
1eb930239d Configuration 2019-05-13 13:02:41 -04:00
dannyrb
e45dcc9f33 Setup and troubleshooting 2019-05-13 13:02:16 -04:00
dannyrb
2333eb294d Requirements 2019-05-13 13:01:38 -04:00
dannyrb
2d2df3a9de Provide diagram as a partial 2019-05-13 12:59:20 -04:00
dannyrb
ee31127b08 Explaining web requests, cors, and diagram of flow 2019-05-13 12:58:59 -04:00
dannyrb
69564569dc High level summary 2019-05-13 11:58:43 -04:00
dannyrb
56624fdc6c Note about adding own recipes 2019-05-13 11:39:52 -04:00
dannyrb
e6eec6b1ad OIDC settings and security 2019-05-10 15:09:31 -04:00
dannyrb
c8130d1dc8 Outlining security section 2019-05-10 14:53:23 -04:00
dannyrb
24c807bc60 What if my archive doesn't support DicomWeb? 2019-05-10 14:53:09 -04:00
dannyrb
bcf1e4058d On proxy and cors 2019-05-10 14:52:46 -04:00
dannyrb
cc2d7e0864 No image archive? No problem 2019-05-10 14:52:31 -04:00
dannyrb
252921c470 Point prepared users to the configuration docs 2019-05-10 14:52:14 -04:00
dannyrb
90812d123e Remove docker outline 2019-05-10 14:51:59 -04:00
dannyrb
e90913b0a5 Fix link 2019-05-10 13:58:04 -04:00
dannyrb
e53b57a642 Configuration 2019-05-10 09:55:24 -04:00
dannyrb
8fc0f4c60a Remove confusing "it should say" comment 2019-05-10 00:38:54 -04:00
dannyrb
52e156fbe6 multi-line so it doesn't break page layout 2019-05-09 12:15:51 -04:00
dannyrb
2fac6db880 Formatting 2019-05-09 12:09:21 -04:00
dannyrb
6ee83a8043 Clean up our hodge podge of links 2019-05-09 12:07:46 -04:00
dannyrb
266e819113 Keycloak theme images 2019-05-09 12:07:02 -04:00
dannyrb
988f9950b8 What we would improve if we had more time 2019-05-09 12:06:36 -04:00
dannyrb
9f664ed896 Using PostgresSql w/ Orthanc 2019-05-09 12:06:23 -04:00
dannyrb
fdbc2f16a9 Values to change 2019-05-09 11:25:29 -04:00
dannyrb
289838270a Rebuilding the OHIF Viewer 2019-05-09 11:25:19 -04:00
dannyrb
48e933912f Note regarding SSL next steps 2019-05-09 11:25:00 -04:00
dannyrb
083cfd27d1 Some helpful docker commands 2019-05-09 11:24:48 -04:00