Commit Graph
39 Commits
Author SHA1 Message Date
Erik Ziegler 09469e6ac5 wip on switching from docz to docusaurus 2021-07-13 23:48:16 +02:00
Danny Brown 2fc7169fa4 fix/chore: Various style improvements (#2015)
* Update all the icons

* Turn off global tool sync; watch as the world burns

* Shift a bunch of things around so we can start tracking/setting per element

* ToolBarService to initiate one of three different calls; callback passed to all button types

* SplitButton and Toolbar Button to use new `onInteraction` prop and new toolbar state

* Changes to toolbar button interface and config

* Fix broken layout selector

* Update SR viewport to activate tools in viewport component

* Duplicate activation logic in measurement tracking extension

* Add alternative/dashed variants for SR Viewport

* pass through "setToolActive" commands for other viewport types

* fix small overlay bugs (no wwwc or scale info)

* Show SpacingBetweenSlices instead of PixelSpacing in patient information dialog

* Fix prop-types

* Update tracked viewport to have alternative tracked styling

* alt styling for SR viewports

* Update to support isLocked + isRehydratable

* fix broken logic

* fix broken logic

* switch icon style

* fix icon styles

* hover and click to start flow

* expedited workflow when data is not dirty (just after SR hydration)

* fix: setting elliptical roi tool

* fix arrow annotate dialog

* fix: do not show learn more button for now

* remove dead code

* simpler cache invalidation

* simpler cache invalidation part 2

* Fix for unable to spand study cards on separate pages

* fix: viewport grid area top padding should align with sidepanel gap

* fix: don't wrap split button list item text

* fix: cine player moz/chrome styles

* fix: split button arrows

* fix: tighten toolbar and splitbutton styles

* chore: clean up worklist sort logic
2020-09-21 10:42:53 +02:00
Danny Brown cae54b0779 Fix/update branch cherry pick (#2039)
* Update all the icons

* Turn off global tool sync; watch as the world burns

* Shift a bunch of things around so we can start tracking/setting per element

* ToolBarService to initiate one of three different calls; callback passed to all button types

* SplitButton and Toolbar Button to use new `onInteraction` prop and new toolbar state

* Changes to toolbar button interface and config

* Fix broken layout selector

* Update SR viewport to activate tools in viewport component

* Duplicate activation logic in measurement tracking extension

* Add alternative/dashed variants for SR Viewport

* pass through "setToolActive" commands for other viewport types

* fix small overlay bugs (no wwwc or scale info)

* Show SpacingBetweenSlices instead of PixelSpacing in patient information dialog

* Fix prop-types

* Update tracked viewport to have alternative tracked styling

* alt styling for SR viewports

* Update to support isLocked + isRehydratable

* fix broken logic

* fix broken logic

* switch icon style

* fix icon styles

* hover and click to start flow

* expedited workflow when data is not dirty (just after SR hydration)

* fix: setting elliptical roi tool

* fix arrow annotate dialog

* fix: do not show learn more button for now

* remove dead code

* simpler cache invalidation

* simpler cache invalidation part 2

* Fix for unable to spand study cards on separate pages
2020-09-14 21:18:46 -04:00
8cea1a04d6 OHIF-333: Split Button (#1988)
* ohif-333: add component foundation

* ohif-333: add expandable content and mocked data

* ohif-333: improve ListMenu component for the new toolbar button and add radio behavior

* ohif-333: add click outside behavior and update primary and secondary props

* ohif-333: separate classes from markup

* ohif-333: fix layout issues

* ohif-333: extract window level component

* ohif-333: update component returns

* ohif-333: update chevron thickness

* ohif-333: remove is active prop

* Delete lerna-debug.log

* ohif-333: clean toolbar and use example in ui package

* ohif-333: update styles to avoid word break

* ohif-333: fix ui package build

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-08-19 15:49:00 -04:00
Igor Octaviano ef163cd702 Fix broken UI package build (#1990)
* Use path instead of alias

* Add missing pacakges

* Use path in viewers

* Use path in contextProviders

* Add base to config

* Add conditionals for window

* Copy config to avoid breaking build

* Update and lock versions

* Update lock file

* Remove scaling config

* Fix broken versions of react date

* Fix broken dev
2020-08-14 14:25:08 -04:00
dannyrb 3cec88b552 remove "Toolbar" and ViewportToolbar from @ohif/ui
Unecessary wrappers for displaying ToolbarButtons
2020-06-14 21:57:45 -04:00
dannyrb 95249928a8 Replace measurementsPanel w/ a format that reduces nesting 2020-06-04 11:28:10 -04:00
James A. Petts 7a8418f64b WIP DisplaySetService 2020-05-18 17:21:57 +02:00
James A. Petts 4fc3169fed display viewport. 2020-05-15 19:07:21 +02:00
Erik Ziegler f3f50d11fe Fixes after rebasing 2020-05-15 14:29:27 +02:00
dannyrb 6044190ab1 Fine tune grid spacing 2020-05-15 14:05:56 +02:00
dannyrb 66e3aea773 update Viewer example to use updated components 2020-05-15 14:05:55 +02:00
Rodrigo Antinarelli 12d1ff6bea feat: Viewport API + Documentation Page 2020-05-15 13:56:32 +02:00
Rodrigo Antinarelli 5f9535a74b feat: Viewport component and API definition 2020-05-15 13:56:11 +02:00
Gustavo Lelis 08ebfd5865 Update sidePanel to support multiple components 2020-05-15 13:56:09 +02:00
Gustavo Lelis 928dc9f7b0 Updating mockData 2020-05-15 13:55:12 +02:00
Rodrigo Antinarelli a3f2080834 feat: MeasurementsPanel API definition + content 2020-05-15 13:54:29 +02:00
Rodrigo Antinarelli b651ba02ff make toolbar reusable to use as secondary 2020-05-15 13:54:28 +02:00
Rodrigo Antinarelli 9154f36477 feat: Tooltip, ToolbarButton, Toolbar API and misc 2020-05-15 13:54:28 +02:00
Rodrigo Antinarelli cb7f6cd709 fix panel width 2020-05-15 13:54:28 +02:00
Rodrigo Antinarelli ebef71da3b add viewport notification 2020-05-15 13:54:25 +02:00
Gustavo Lelis 68b8b04a1c Fix: Z-index issue for “annotation tools” overlay Viewport ActionBar “Label” (Checkmark + ‘A’) 2020-05-15 13:53:46 +02:00
Gustavo Lelis 3c6408b99e Style ficx on tooltip for viewport toolbar 2020-05-15 13:52:47 +02:00
Gustavo Lelis f96f965a76 Small style fixes and implementation of toolbars on viewer docz page 2020-05-15 13:52:44 +02:00
Rodrigo Antinarelli 6434c0f112 feat: Viewport Action Bar 2020-05-15 13:49:38 +02:00
Gustavo André Lelis eda99a0bac OHIF-79: Study Browser side panel (#1614)
* Initial code changes for StudyBrowser

* StudyItem component basic strucure

* Adding new icon

* Updates to get StudyItem working

* Small fix on side panel open header

* Adding new icons

* Thumbnail List

* ThumbnailSR WIP

* Thumanil WIP

* Export new components into ohif/ui

* Updates on style

* Update ThumbnailSR style

* Margin updates

* MAke it scrollable

* Make it scrollable

* Style updates

* Fixing tooltip

* Tunning the mock data and testing scenarios

* Update mock data

* make all studies collapsed

* small fix on tooltip

* Removing empty mdx files

* Updating viewer docz page

* Style updates

* Update button font-size

* Fix: Make cancel button only visible on hover

* Fixing callouts

* Fix eslint
2020-05-15 13:49:24 +02:00
Rodrigo Antinarelli 51750c6ede fix viewer 2020-05-15 13:47:48 +02:00
Rodrigo Antinarelli af7f2f525b create segmentation and measurement mdx 2020-05-15 13:47:48 +02:00
Rodrigo Antinarelli b9da65ed9e feat: Measurement Table 2020-05-15 13:47:45 +02:00
Rodrigo Antinarelli cd167dbd30 feat: Secondary Toolbar 2020-05-15 13:47:16 +02:00
Rodrigo Antinarelli 8af93d845f fix docz menu 2020-05-15 13:47:15 +02:00
Gustavo Lelis da5b4591d0 Updating icons naming and colors 2020-05-15 13:47:15 +02:00
Gustavo Lelis 345d136590 Small fixes 2020-05-15 13:47:14 +02:00
Gustavo Lelis f838de8059 Fix viewer's docz page 2020-05-15 13:47:14 +02:00
Gustavo Lelis c8eda21da4 Update icons and small refacto for performance 2020-05-15 13:47:14 +02:00
Gustavo Lelis 1cf286962c Update Docs 2020-05-15 13:47:14 +02:00
Gustavo Lelis 59dd5820dd Side pannels 2020-05-15 13:47:13 +02:00
Gustavo Lelis a2ff5e9e48 Small style update 2020-05-15 13:47:13 +02:00
Gustavo Lelis 8be7854118 Initial changes for SidePanel 2020-05-15 13:47:11 +02:00