* 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>
* Create basic structure for Viewport dialog provier and Dialog component
* Implementation of a UIViewportDialogService
* Update viewportDialogProvider docz
* Create example of use of UIViewportDialogService
* fix pagination size
* clean up, start a very basic route configuration
* quick navigation between routes
* configure webpack to read .env variables
* export studylist filter
* split studylist filter into a component
* minor fix in studylist pagination
* update studylistfilter imports
* create studylist container with study list content
* moving file
* study list filter doc page
* catch change in ui-v2
* fix: 1px gap that shows text underneath
* Shift to routes folder
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
* 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
* feat: StudyListTable Refactor
* feat: StudyListTable + Props Refactor
* fix expanded rows handler
* update and fix study list doc page
* fix date format
* use moment to format date
* expose new components
* fix study list expanded row
* Export and Create doc page for Pagination
* API Definition, Export and Doc page for StudyListTable
* StudyListTableRow
* use real example to mount study list
* move files
* temporary change study list (viewer) structure
* fix studyList
* remove unused files
* remove file
* remove unused package
* PR fixes
* Remove console.dir
Co-authored-by: Gustavo Lelis <galelis@gmail.com>
* Creating InputGroup
* Updating Views with new InputGroup
* Creating Docz for InputGroup
* Fixing eslint issues
* Renaming inputGroup props naming to be more generic.
* Custom Select component
* Including inpot section
* Adding missing import sections on docz
* Change cursor once is disabled
* update date range color font
* 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
* Inital changes for study list filters
* Style updates on filter
* Small style changes on filter
* Style changes updates on Input and Label and finish fitler
* Refactor on study list filter
* Remove not used callbackFunction
* Small style change
* Adding underline on Learn more link
* Make sure does not show sortable if have no results
* Some style polish
* Fixing margin on filter
* Adding inherit as color on buttons
* Adding inherit on learn more button color
* Addin border with opacity
* 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>
* fix: Combined Hotkeys for special characters
* add record method to hotkey manager
* fix record plugin
* remove unused component
* add record to modal props
* rename record method
* replace handlers to use hotkeyRecord
* fix combined keys
* change expected result count from 18 to 17
* autoformat
* Remove duplicate test, that was testing the wrong things; fix label; update configs
* Revert "Remove duplicate test, that was testing the wrong things; fix label; update configs"
This reverts commit 4292f4fe67351962d61cae623b920dcbd87dd71d.
* Fix the record plugin's registration
* fix exposed record method usage
* adding logging for info level items
* Hotkey definitions don't need to be globally reactive; use localstorage/appconfig as sources of truth; not redux
* Tidy up test
* Remove unused code from UserPreferencesForm
* Log info when we run a command
* fix hotkey preference restore
* use application configured hotkeys if there are no user preferred
* Avoid logging circular ref
* Fix callouts
* Fix small issue with array
* Fix langua issue after refactor and merge
* Refactor on recordCurrentCombo as Rodrigo did before
* Separating components in 2 files
* WIP Refactor to simplify the user preferences and move into each form the save and controll functionalities
* Remove context
* Remove unused import
* Initial work on Field treatment
* Refactor General preferences
* Small refactor removing type from HotkeyField
* small update on style
* Refactor and layout fixed
* Make hotkeys preferences working with old hotkeys row
* Move error handling out of hotkey row/input component
* WIP custom form
* Moving validation function to component
* Exposing hotkeyRecord as it does not depend on HotkeyManager Class
* Making hotkeyField as much detached possible from parent component
* Small refactors
* Refactor on user preferences
* Clean up into the changes
* Small fix to let save working
* Style finish
* move about docs into about folder
* Fix double tap on single keys
* Style refactor
* Remove log
* Fix log issues on unit tests
* Fix unit test breaking on ohif/core index
* Fixing hotkeys unpause unit test issue
* Rename file to adopt lowercase
* Rename file to adopt lowercase
* Fixing callouts
* Big refactor miving some of the components into viewer and creating small components into ohif/ui
* Typo on folder name
* Updating ohif ui docs
* Remove comments
* Fix binding of combo keys
* Fix some cypress tests failures
* Fixing onCancel button
* Fixing e2e tests
* Small style update
* Fixing unit tests failing after fix issue
* Remove some not used code
* Remove left over after debug
* Adding prevent default on hotkeys events
* Fixinf existing hotkeys validator with 3 keys pressed
* Exposing hotkeys as root level on ohif-core
* Clean up
* Exposing all availableLanguages with labels and fixing an issue on language switcher
* Fixing e2e cypress tests
* Preveinting some simple errors
* Treating error once we try to set hotkey definitions
* Adding ui notification on setHotkeys errors
* Implementing a service queue request to hold until functions are implemented
* Making sure toFixed is only called on Numbers
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
Co-authored-by: Gustavo André Lelis <galelis@gmail.com>
* feat: 🎸 Update hotkeys and user preferences modal
This feature fix incompatibility with existent hotkeys component and
adds user preferences modal back
Closes: #923
* Update preferences structure in store
* Hide window level section of user preferences
* Update modal to reflect current hotkey value
* Clone object with hotkeys before passing to manager
* CR Update: Extract hotkeys manager format code to manager
* Fix broken cypress test
* Use new modal provider
* Rename hotkeyDefinitions in hotkeyspreferences and use array as representation
* Update study test and remove unused styles
* feat: 🎸 New modal provider
A new modal provider/context component to unify modal related code and
simplify modal use
Closes: #1086
* refactor(ModalContext): Keep current modal lib
* Update modal provider version according to PR #1116
* Update modal provider props to use inner props
* Add custom class prop
* CR Update: Refactor provider to extract specific modal
* Fix modal import
* CR Update: Move from spread to object assign
* CR Update: Add proptypes, use classnames dependency over interpolation and rename modal
* fix: 🎸 Update AboutModal to use new modal provider (#1116)
* feat: 🎸 Update AboutModal to use new modal provider
This feature updates the AboutModal component and Header to use the new
modal context (modal provider)
* feat(ModalProvider): Add title prop to provider
* fix(ModalContext): Add defaults on hide
* CR Updates: Refactor modal provider and fix import
* CR Update: Expose props and flat modal optons
* Use customclassname instead of static
* Add cypress tag
* test: set right viewport when layout is decreased (#1146)
* chore(release): publish [skip ci]
- @ohif/viewer@2.3.6
* fix: 🐛 Minor issues measurement panel related to description (#1142)
* chore(release): publish [skip ci]
- @ohif/extension-vtk@0.52.28
- @ohif/ui@0.58.5
- @ohif/viewer@2.3.7
* fix: 🐛 Upgrade react-vtkjs-viewport to fix volume orientation (#1143)
* chore(release): publish [skip ci]
- @ohif/extension-vtk@0.52.29
- @ohif/viewer@2.3.8
* CR Update: Extract and rename AboutModal to AboutContent
* feat: 🎸 New modal provider (#1110)
* feat: 🎸 New modal provider
A new modal provider/context component to unify modal related code and
simplify modal use
Closes: #1086
* refactor(ModalContext): Keep current modal lib
* Update modal provider version according to PR #1116
* Update modal provider props to use inner props
* Add custom class prop
* CR Update: Refactor provider to extract specific modal
* Fix modal import
* CR Update: Move from spread to object assign
* CR Update: Add proptypes, use classnames dependency over interpolation and rename modal
* chore(release): publish [skip ci]
- @ohif/extension-vtk@0.52.30
- @ohif/ui@0.59.0
- @ohif/viewer@2.4.0
* CR Update: Keep translation name
* CR Update: Reposition cy tag of about modal in the correct level
* feat: 🎸 Update DownloadModal to use new modal provider (#1119)
* feat: 🎸 Update AboutModal to use new modal provider
This feature updates the AboutModal component and Header to use the new
modal context (modal provider)
* feat(ModalProvider): Add title prop to provider
* feat(DownloadModal): Refactor to use new modal provider
* Update modal provider props
* Use translation for DownloadDialog
* CR Update: Use useTranslation hook
* CR Update: Extract downloadDialog and rename to downloadContent
* CR Update: Fix typo
* CR Update: Rename download content to viewport download form