Commit Graph
43 Commits
Author SHA1 Message Date
Alireza 3dec7cfcda fix: Address various layout and prompt bugs (#2472)
* fix: layout should not reset when opening a new study in studyBrowser

* fix: added state to handle ignored SR series for hydration
2021-07-19 14:31:40 +02:00
Alireza 28412b10a1 feat: New favicon and logo 2021-07-08 10:04:23 +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 OctavianoandDanny Brown 760e2a62ae OHIF-323: Cine Dialog (#1961)
* ohif-323: add cineplayer flow

* ohif-323: improve toolbar flow of cine

* ohif-323: improve cine styles

* ohif-323: use toggle instead of set

* ohif-323: add compatibility comment

* ohif-323: move cine logic to command

* ohif-323: cr update

* ohif-323: remove typo and update svg title

* ohif-323: remove log

* ohif-323: update props and remove dead code

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-08-19 15:24:07 -04:00
Rodrigo AntinarelliandErik Ziegler 8ca3769ba1 OHIF-304 - Create TooltipClipboard component for copying from Study List (#1887)
* Create TooltipClipboard component

* basic doc page for TooltipClipboard

* enable clipboard tooltip for specific rows

* wrap component with tooltip clipboard

* remove logic from ui component

* set clipbboard message

* minor refactor to add a delay to show the tooltip clipboard

* delay to hide comment

* Remove titles which were interfering with tooltips

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
2020-07-22 20:25:51 +02:00
Rodrigo Antinarelli 8b1a6b2acb feat: OHIF-331 - About Modal (#1894)
* OHIF-330: Update Modal Styles

* feat: OHIF-331 - About Modal

* add dynamic values for about modal

* fix icon
2020-07-10 15:49:53 -04:00
Igor Octaviano 11fbe4cf01 OHIF-223: Add "Clear" all measurements to annotation toolbar (#1861)
* Add clear button

* Use james event

* Create new commands module to default
2020-07-03 12:39:41 -04:00
igoroctaviano 1bfb62d26d Add messages to sr pacs 2020-06-30 12:33:38 -03:00
igoroctaviano b18e5099d9 Add more icons 2020-06-26 17:03:17 -03:00
igoroctaviano 550564d60f Add more icons 2020-06-26 16:59:47 -03:00
igoroctaviano 9bd1ce734c Add more icons 2020-06-26 16:56:19 -03:00
igoroctaviano f5b78536d2 Add old icons 2020-06-26 16:49:34 -03:00
Rodrigo Antinarelli 0d53346d61 Merge branch 'feat/v2-main' of https://github.com/OHIF/Viewers into feat/ui-v2-Dropdown 2020-06-26 12:42:56 -03:00
Rodrigo Antinarelli edd4a4118c feat: Modal + ViewportDownloadForm (#1799)
* feat: Modal + ViewportDownloadForm

* styles for image preview box

* modal update & close handler

* open modal for Learn More (search info)

* change modal default alignment

* Update platform/ui/src/components/InputNumber/InputNumber.mdx

* nuke inputNumber and use inputText with refactor

* make input more reusable

* revert inputText "number" stuff

* replace inputText to Input

* fix input spacing + label

* fix modal overlay classes

* fix inline styles

* fix onclick learn more

* fix close icon

* revert transition

* remove inline styles

* remove unecessary stuff
2020-06-26 17:34:43 +02:00
Rodrigo Antinarelli b0935e4fb6 fix icon size 2020-06-25 15:42:36 -03:00
Rodrigo Antinarelli a538824cc7 feat: Modal + ViewportDownloadForm 2020-06-19 20:59:09 -03:00
dannyrb 5eb06d0916 Wire up mode buttons to mode routes; Expose displayName; 2020-06-16 22:06:54 -04:00
dannyrb ffbf7b4a76 bubble up thumbnail "untrack" clicks to parent "StudyBrowser" component w/ prop drilling 2020-06-07 12:08:50 -04:00
Rodrigo Antinarelli 9154f36477 feat: Tooltip, ToolbarButton, Toolbar API and misc 2020-05-15 13:54:28 +02:00
Gustavo Lelis 947f671ab1 Fix scrollbar on Firefox 2020-05-15 13:54:01 +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
Rodrigo Antinarelli 6434c0f112 feat: Viewport Action Bar 2020-05-15 13:49:38 +02:00
Rodrigo Antinarelli 63202065b9 feat: Viewport Notification 2020-05-15 13:49:27 +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 9bffa88bed Segments table and color LUT 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 25ae057c7c split css from tailwind and fx studyList icon 2020-05-15 13:47:16 +02:00
Rodrigo Antinarelli 8185468bd2 minor fixes 2020-05-15 13:47:15 +02:00
Rodrigo Antinarelli 440dc74828 minor fixes 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 5f695f2e66 Addin new icons 2020-05-15 13:47:14 +02:00
Rodrigo Antinarelli c902ba201f svg icons, tw stroke, toolbar icons and more menu 2020-05-15 13:46:47 +02:00
Rodrigo Antinarelli b3dff5ddee feat: Toolbar Header 2020-05-15 13:46:44 +02:00
Rodrigo Antinarelli b183e78f47 feat: ui v2 - Date Range Component (#1537)
* feat: Date Range wrapper component

* fix yarn issues

* add calendar icon

* date range css styles

* date range fixes

* fix propTypes warning

* fix clear method, defaultProps & onChange method

* update inline styles to use tailwind classes

* date range documentation page

* minor refactor
2020-05-15 13:38:05 +02:00
Gustavo André Lelis 11bd7105d6 fix: Issues on StudyList Filter (#1513)
* Fix instances font size

* Fixing sorting style and icons

* Fix clear filters flicking filter parent height

* Make filter size matching with study list table columns

* Addin width for grid24

* Use grid24 instead of 12

* Adding missing borders

* Fix gridCol division
2020-05-15 13:37:41 +02:00
Rodrigo Antinarelli 88846e5c70 fix: Select pagination and buttons (#1521) 2020-05-15 13:37:40 +02:00
Rodrigo Antinarelli 2bf5486112 chore: Data Mocking for Study List (#1515)
* feat: Data mocking for studies

* feat: Data Mocking for Study List

* fix empty study position

* rename variables for numOfStudies

* fix studies query

* remove alert :|

* minor refactor

* split utils and refactoring

* refactoring -- format, clean up icons, mdx mock
2020-05-15 13:37:40 +02:00
Gustavo André Lelis 8c6daf5395 Feat/ui v2 ohif logo svg (#1506)
* Adding new icons

* Introducing Svg component

* Adding ohif logo into header
2020-05-15 13:36:01 +02:00
Gustavo André Lelis a738990675 feat: Study List Header (#1498)
* Initial code for header

* Basic implementation for the header

* Updating icons

* Fix conflicts after latest changes on base branch

* Smnall refactor on header

* Small text-size change

* Remove comment

* Remove link from OHIF logo

* Fix cog/settings icon
2020-05-15 13:36:01 +02:00
Rodrigo Antinarelli fe672a804e feat: Study List Table - v2 (#1497)
* small fix in button hover

* exported icons

* feat: StudyList Table

* icons comment

* fix bottom spacing

* add gatsby plugin for svg import

* move mock file to ui

* replace component to import from ui

* move StudyList to platform/ui

* fix inner table bg color

* fix inner table border

* add custom flex values

* create custom class for custom scrollbar

* fix inner table

* update comment

* refactor for reusable classes

* update scrollbar name

* fix studyList export

* update scrollbar class
2020-05-15 13:36:00 +02:00
f4aea45e01 feat: Icon component (#1499)
* New icons and old strucure of OHIF ui v1

* Export icon

* Removing wrong import and fixing some exports

* Fixing svg loader and svg images to fullCurrent

* Small fixes on docz

* Remove repeated icon

* Update other components to use Icon

* Update platform/ui/src/components/Icon/icon.mdx

Co-Authored-By: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>

* Fixing callouts

* Move icons to assets and fixing layout on iconButtons

* Fix path of icons

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
2020-05-15 13:35:57 +02:00