Commit Graph
56 Commits
Author SHA1 Message Date
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
Igor OctavianoandRodrigo Antinarelli 3e944780dc OHIF-332: Users should be able to see all available hotkeys and language settings in one place (#1895)
* OHIF-330: Update Modal Styles

* feat/ohif-332: finish raw ui

* feat/ohif-332: update mode configuration strategy

* feat/ohif-332: fix hotkey errors

* feat/ohif-332: update hotkey logic with recent merged changes

* feat/ohif-322: wrap

* feat/ohif-322: add disable state

* ohif-332: cr updates

* ohif-332: disable

* ohif-332: cr updates

* ohif-332: extract header component

* ohif-332: cr update to fix merge conflicts and design issue

Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
2020-08-19 15:02:59 -04:00
401a2e38c8 [OHIF-193 + OHIF-313] (#1955)
* create context menu

* OHIF-193: Add context menu integration with measurement service

* OHIF-193: Update comments

* OHIF-CR Update: Add requested updates

* CR Update: Update measurement service remove function

* CR Update: Update casing

* CR Updates

* Update cornerstone measurments when the label is edited in the measurement service.

* Implement click outside behavior

* Address reviewer comments.

Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
Co-authored-by: igoroctaviano <igoroctaviano@gmail.com>
2020-08-05 14:56:02 +02:00
Erik ZieglerandJames A. Petts 55cf9f2306 OHIF-285/OHIF-274: Fix default hanging of display sets into the ViewportGrid (#1917)
* OHIF-285/OHIF-274: Fix default hanging of display sets into the ViewportGrid

Co-authored-by: James A. Petts <jamesapetts@gmail.com>
2020-07-24 12:51:57 +02: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
Danny Brown aa402183f4 Merge pull request #1824 from OHIF/feat/ohif-125
OHIF-125: Error boundaries
2020-06-26 16:47:52 -04:00
Rodrigo Antinarelli c93faf628b nuke inputnumber 2020-06-26 12:44:30 -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
igoroctaviano a197b887fb Merge branch 'feat/v2-main' of github.com:OHIF/Viewers into feat/ohif-125 2020-06-26 12:38:18 -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
igoroctaviano e9696894a9 Add error boundary 2020-06-26 10:26:50 -03:00
igoroctaviano 44297af965 Create window level dropdown menu 2020-06-25 15:27:42 -03:00
Rodrigo Antinarelli 487bcf043b feat: Dropdown component 2020-06-23 00:09:31 -03:00
Rodrigo Antinarelli a538824cc7 feat: Modal + ViewportDownloadForm 2020-06-19 20:59:09 -03:00
dannyrb 9146a9ee32 Create new ToolbarButton type for Layout Selector; wire up custom UI; prep for viewportGridService usage 2020-06-15 00:51:36 -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
dannyrb db76eac047 wire up UI Services 2020-05-23 23:38:20 -04:00
dannyrb c9a4ab13ef empty viewport, prevent duplicate series meta from add, protect broadcast events when no data has changed 2020-05-23 22:15:21 -04:00
dannyrb a323157c62 capture changes 2020-05-20 21:07:25 -04:00
dannyrb d7cdc1c3ba Rename dndContext --> dndProvider 2020-05-15 14:05:55 +02:00
dannyrb 599204176c Add drag and drop provider 2020-05-15 14:05:55 +02:00
dannyrb c1d399d543 export studyListTableRow from @ohif/ui 2020-05-15 14:02:02 +02:00
Gustavo André Lelis e633eb80eb feat: Notification provider and service (#1703)
* Create basic structure for Viewport dialog provier and Dialog component

* Implementation of a UIViewportDialogService

* Update viewportDialogProvider docz

* Create example of use of UIViewportDialogService
2020-05-15 13:59:28 +02:00
Rodrigo AntinarelliandDanny Brown cee09fcf8d feat: OHIF-120 - Study List Route Template (#1693)
* 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>
2020-05-15 13:59:26 +02:00
Rodrigo Antinarelli 5f9535a74b feat: Viewport component and API definition 2020-05-15 13:56:11 +02:00
Gustavo Lelis 19aec45797 Rename thumbnailSR 2020-05-15 13:55:12 +02:00
Gustavo Lelis ad6b592a37 ThumbnailTracked component 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 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 Lelis d13c2f6a69 Viewport grid component 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 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
Gustavo Lelis 8be7854118 Initial changes for SidePanel 2020-05-15 13:47:11 +02:00
Rodrigo AntinarelliandGustavo Lelis f4b078912a feat: StudyListTable, ExpandedRow, API definitions (#1579)
* 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>
2020-05-15 13:46:20 +02:00
Gustavo André Lelis 056f56f5b4 refactor: StudyListFilter refactor (#1580)
* Creating InputGroup

* Updating Views with new InputGroup

* Creating Docz for InputGroup

* Fixing eslint issues

* Renaming inputGroup props naming to be more generic.
2020-05-15 13:44:33 +02:00
Gustavo André Lelis de484275e8 Creating combo input with label, naming and input for Text, Select and DateRange (#1553)
* Issues: OHIF-46, OHIF-47, OHIF-48
2020-05-15 13:42:28 +02:00
Rodrigo Antinarelli ef1f50693c feat: UI v2 EmptyStudies Component 2020-05-15 13:41:49 +02:00
Rodrigo Antinarelli bf2c731807 fix export for exposed files 2020-05-15 13:39:20 +02:00
Rodrigo Antinarelli 34961e5624 feat: v2 Table Component 2020-05-15 13:38:56 +02:00
Gustavo Lelis 01c5456ccf Fixing docz 2020-05-15 13:38:21 +02:00
Gustavo Lelis 18ab336df3 Inicial files 2020-05-15 13:38:21 +02:00
Gustavo André Lelis e54ccd1373 OHIF-43: Modal Context Provider (#1538) 2020-05-15 13:38:20 +02:00
Gustavo André Lelis b7a72f5225 OHIF-32: Wrapping React-select with our style requirements (#1529)
* Custom Select component

* Including inpot section

* Adding missing import sections on docz

* Change cursor once is disabled

* update date range color font
2020-05-15 13:38:18 +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