Commit Graph

967 Commits

Author SHA1 Message Date
dannyrb
c532d94025 Default to truncating overflow text in series table 2020-05-15 13:02:02 +01:00
dannyrb
e57e0d7de8 Pass DataSource as prop to LayoutTemplate 2020-05-15 13:02:02 +01:00
dannyrb
1107779a63 fix duplicate name/key render warning 2020-05-15 13:02:01 +01:00
dannyrb
e29a777a9f fix studyDate sort and display 2020-05-15 13:02:01 +01:00
dannyrb
10729c2414 Sort for everything except studydate/time 2020-05-15 13:02:01 +01:00
dannyrb
86eef997e4 basic sorting 2020-05-15 13:02:01 +01:00
dannyrb
1ec580be5d persist and set paging clientside 2020-05-15 13:02:01 +01:00
dannyrb
1979928d59 Round trip mrn filtering 2020-05-15 13:02:01 +01:00
dannyrb
053ed36e8f full circle ModalitiesInStudy filtering 2020-05-15 13:02:00 +01:00
Erik Ziegler
3ce4b886ac Fix context usage in ModeRoute 2020-05-15 13:02:00 +01:00
dannyrb
17e2680da8 Update Select to work on an array of values; so long as values are contained in options array 2020-05-15 13:02:00 +01:00
dannyrb
92923789e5 fix daterange presets 2020-05-15 13:02:00 +01:00
dannyrb
8f284aafac apply start/end dates to qido search 2020-05-15 13:02:00 +01:00
dannyrb
2b8f527d8c round trip query string parameters for startDate and endDate; drop JSON stringify 2020-05-15 13:02:00 +01:00
dannyrb
4413572c1c set a black background body class on enter/exit of component 2020-05-15 13:01:59 +01:00
dannyrb
1cd643314f parse and display correct time, if value is set 2020-05-15 13:01:59 +01:00
dannyrb
2ed1071956 Show (empty) for patientName if none is available 2020-05-15 13:01:59 +01:00
dannyrb
36bc73579d Title hover for truncated text 2020-05-15 13:01:59 +01:00
dannyrb
8dac6d7318 truncate and show ellipsis for content outside of cell bounds 2020-05-15 13:01:59 +01:00
dannyrb
1b9c0fcfae Auto include collapse/expand icon for first column as a part of row component 2020-05-15 13:01:59 +01:00
dannyrb
e3b0f60e69 Can't select row text, but can select expanded content text 2020-05-15 13:01:58 +01:00
James A. Petts
5c19671d3c WIP build up displaysets. 2020-05-15 13:01:58 +01:00
Erik Ziegler
d4f51c5e3c Work on adding SOPClassHandler module based on default behaviour currently in OHIF 2020-05-15 13:01:55 +01:00
dannyrb
c710f45c6f Prefer available search from history's location over useLocation/useQuery 2020-05-15 13:01:26 +01:00
dannyrb
ddbc2cea83 Prevent double render 2020-05-15 13:01:26 +01:00
dannyrb
45ca73946d Very basic search test based on query param 2020-05-15 13:01:26 +01:00
dannyrb
6f9c27f10b basic initial search and passing data to LayoutTemplate for list route 2020-05-15 13:01:26 +01:00
Erik Ziegler
3cf2eb5ed8 Wire up contextModule, panelModule, layoutTemplateModule. Viewer sort of displays 2020-05-15 13:01:25 +01:00
Erik Ziegler
8acd744710 Continue the ModeRoute work. Routes are reachable, but extensionManager needs to be improve to provide module entries correctly 2020-05-15 13:01:25 +01:00
dannyrb
20dd83e702 Hydrate our first data source 2020-05-15 13:01:25 +01:00
dannyrb
c3ee59c60e expose appConfig from App.js (no need to make reactive) 2020-05-15 13:01:25 +01:00
dannyrb
3238edddd2 Create a DataSourceWrapper to determine correct data source and provide data to layout component 2020-05-15 13:01:25 +01:00
dannyrb
068939b70f Expose managers to Viewer project from App.js 2020-05-15 13:01:25 +01:00
dannyrb
2a962cc8af expose useDebounce hook 2020-05-15 13:01:24 +01:00
dannyrb
e39d4d57d4 add query-string as a dependency 2020-05-15 13:01:24 +01:00
dannyrb
d2cf13a9a2 simplify useQuery 2020-05-15 13:01:24 +01:00
dannyrb
e4c440e211 add a debounce hook 2020-05-15 13:01:24 +01:00
Rodrigo Antinarelli
8f515701fa WIP useQuery implementation 2020-05-15 13:01:24 +01:00
dannyrb
4c57335696 Rename setFilterValues prop to onChange 2020-05-15 13:01:24 +01:00
dannyrb
e4972a858c Remove quido portion of studies services, moved to IWebAPI implementation for dicomweb 2020-05-15 13:01:21 +01:00
dannyrb
3242bbcf76 Playing with how routes access ViewModel context and SopClassHandlers that map meta to ViewModel (displaySets) 2020-05-15 13:00:53 +01:00
dannyrb
b54e3734a7 Expose dicomMetadataStore in @ohif/core 2020-05-15 13:00:50 +01:00
dannyrb
e292bca92e Add support for route definition generation in appInit from modes config 2020-05-15 13:00:08 +01:00
dannyrb
e1690390d9 Expand extensionManager to index module definitions by namespace 2020-05-15 13:00:08 +01:00
dannyrb
f172f26dee Beginnings of a DICOMWeb API implementation that adheres to IWebApi interface 2020-05-15 13:00:07 +01:00
dannyrb
91a3c93985 hook to grab query parameters from react router 2020-05-15 13:00:07 +01:00
dannyrb
f54fa4cb34 Begin playing with how/where modes should be wrapped and have data provided 2020-05-15 13:00:07 +01:00
dannyrb
4edbb540da export named modules from DICOMWeb utility object 2020-05-15 13:00:07 +01:00
dannyrb
abfac8d48f Sad dicomMetadata store reminder for james 2020-05-15 13:00:07 +01:00
Rodrigo Antinarelli
9f40ecb089 update extension 2020-05-15 13:00:06 +01:00
Rodrigo Antinarelli
cd7ed9ee9a routes config for Modes 2020-05-15 13:00:06 +01:00
Rodrigo Antinarelli
a5e3f27cfd initialize methods for app configs 2020-05-15 13:00:06 +01:00
Rodrigo Antinarelli
62cba34b0c create module types 2020-05-15 13:00:05 +01:00
Rodrigo Antinarelli
2a00427c90 initializing appConfig 2020-05-15 13:00:05 +01:00
Rodrigo Antinarelli
4928e20eab create AppConfig context 2020-05-15 13:00:05 +01:00
Rodrigo Antinarelli
55ae4f2b6c add blank config for modes in appConfig 2020-05-15 13:00:05 +01:00
Rodrigo Antinarelli
b848ad8f0e app configuration and App entrypoint update 2020-05-15 13:00:05 +01:00
Rodrigo Antinarelli
c127b0c260 update default appconfig 2020-05-15 13:00:01 +01:00
Rodrigo Antinarelli
b24680fad4 export web api interface 2020-05-15 12:59:29 +01:00
Rodrigo Antinarelli
ee69a5a40b create dicom web api 2020-05-15 12:59:29 +01: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 12:59:28 +01:00
Rodrigo Antinarelli
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 12:59:26 +01:00
Rodrigo Antinarelli
01b314522d feat: New @ohif/viewer project structure + routes (#1674)
* fix pagination size

* clean up, start a very basic route configuration

* quick navigation between routes

* configure webpack to read .env variables

* Move container components to Routes directory

* Fix naming of recipe file

* Clean up source folder

* update yarn.lock

* ci: update netlify deploy preview to build viewer project

* update PWA entrypoint to pass configuration on window to App as props

* fix: for missing key

* Pass routerBasename to our React Router component

* Simplify config for meow

Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
2020-05-15 12:57:23 +01:00
Rodrigo Antinarelli
9a8bede80e fix small defects 2020-05-15 12:56:35 +01:00
Gustavo Lelis
11e58e70f6 Implement tooltip on remaining paces 2020-05-15 12:56:35 +01:00
Rodrigo Antinarelli
57f4f4691c update viewport documentation 2020-05-15 12:56:35 +01:00
Rodrigo Antinarelli
eafe158e62 clean up draft 2020-05-15 12:56:34 +01:00
Rodrigo Antinarelli
12d1ff6bea feat: Viewport API + Documentation Page 2020-05-15 12:56:32 +01:00
Rodrigo Antinarelli
5f9535a74b feat: Viewport component and API definition 2020-05-15 12:56:11 +01:00
Gustavo Lelis
08ebfd5865 Update sidePanel to support multiple components 2020-05-15 12:56:09 +01:00
Gustavo Lelis
802a8d5f1b Fix propTypes and update tracked series tag 2020-05-15 12:55:54 +01:00
Gustavo Lelis
928dc9f7b0 Updating mockData 2020-05-15 12:55:12 +01:00
Gustavo Lelis
19aec45797 Rename thumbnailSR 2020-05-15 12:55:12 +01:00
Gustavo Lelis
8ae21a97d8 Refactor Thumbnail component 2020-05-15 12:55:12 +01:00
Gustavo Lelis
61f10f024a Include theme min height 2020-05-15 12:55:12 +01:00
Gustavo Lelis
ad6b592a37 ThumbnailTracked component 2020-05-15 12:55:12 +01:00
Rodrigo Antinarelli
8e43bca3f2 fix: Update MeasurementTable doc page 2020-05-15 12:54:29 +01:00
Rodrigo Antinarelli
54720368bf update documentation page 2020-05-15 12:54:29 +01:00
Rodrigo Antinarelli
a3f2080834 feat: MeasurementsPanel API definition + content 2020-05-15 12:54:29 +01:00
Rodrigo Antinarelli
8f566c7ef4 update toolbar documentation page 2020-05-15 12:54:28 +01:00
Rodrigo Antinarelli
b651ba02ff make toolbar reusable to use as secondary 2020-05-15 12:54:28 +01:00
Rodrigo Antinarelli
9154f36477 feat: Tooltip, ToolbarButton, Toolbar API and misc 2020-05-15 12:54:28 +01:00
Rodrigo Antinarelli
3223d6a8a1 fix notification margin 2020-05-15 12:54:28 +01:00
Rodrigo Antinarelli
1ff13fb786 fix notification bar 2020-05-15 12:54:28 +01:00
Rodrigo Antinarelli
cb7f6cd709 fix panel width 2020-05-15 12:54:28 +01:00
Rodrigo Antinarelli
ebef71da3b add viewport notification 2020-05-15 12:54:25 +01:00
Gustavo Lelis
947f671ab1 Fix scrollbar on Firefox 2020-05-15 12:54:01 +01:00
Gustavo Lelis
7dccf77c7d Fix: Header shouldn’t be sticky on Viewer Route 2020-05-15 12:53:49 +01:00
Gustavo Lelis
68b8b04a1c Fix: Z-index issue for “annotation tools” overlay Viewport ActionBar “Label” (Checkmark + ‘A’) 2020-05-15 12:53:46 +01:00
Gustavo Lelis
f084597f2b Fix: Active Viewport border width discrepancy causes resize 2020-05-15 12:53:28 +01:00
Rodrigo Antinarelli
6167e018dd remove console.log 2020-05-15 12:53:04 +01:00
Rodrigo Antinarelli
ed30a4ccac fix side panel header 2020-05-15 12:52:48 +01:00
Rodrigo Antinarelli
cb9011b58a fix sidepanel header height 2020-05-15 12:52:47 +01:00
Gustavo Lelis
3c6408b99e Style ficx on tooltip for viewport toolbar 2020-05-15 12:52:47 +01:00
Gustavo Lelis
f96f965a76 Small style fixes and implementation of toolbars on viewer docz page 2020-05-15 12:52:44 +01:00
Gustavo Lelis
a0662c4883 Fixing eslint issues 2020-05-15 12:52:27 +01:00
Gustavo Lelis
2131cb5abb Update docz after callouts 2020-05-15 12:49:40 +01:00
Gustavo Lelis
993c46022c Docz for context provider 2020-05-15 12:49:40 +01:00
Rodrigo Antinarelli
164fef3542 minor fix 2020-05-15 12:49:40 +01:00
Rodrigo Antinarelli
6434c0f112 feat: Viewport Action Bar 2020-05-15 12:49:38 +01:00
Rodrigo Antinarelli
29c3ad1fca fix relative css 2020-05-15 12:49:28 +01:00
Rodrigo Antinarelli
bf20084dfb fix responsive display 2020-05-15 12:49:27 +01:00
Rodrigo Antinarelli
63202065b9 feat: Viewport Notification 2020-05-15 12:49:27 +01:00
Gustavo Lelis
d13c2f6a69 Viewport grid component 2020-05-15 12:49:27 +01: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 12:49:24 +01:00
Rodrigo Antinarelli
51750c6ede fix viewer 2020-05-15 12:47:48 +01:00
Rodrigo Antinarelli
af7f2f525b create segmentation and measurement mdx 2020-05-15 12:47:48 +01:00
Rodrigo Antinarelli
bfdcf6ecb6 Empty measurements 2020-05-15 12:47:48 +01:00
Rodrigo Antinarelli
9bffa88bed Segments table and color LUT 2020-05-15 12:47:48 +01:00
Rodrigo Antinarelli
b9da65ed9e feat: Measurement Table 2020-05-15 12:47:45 +01:00
Rodrigo Antinarelli
4c09467672 fix toolbar colors 2020-05-15 12:47:16 +01:00
Rodrigo Antinarelli
f9eac89d49 fix doc page title 2020-05-15 12:47:16 +01:00
Rodrigo Antinarelli
cd167dbd30 feat: Secondary Toolbar 2020-05-15 12:47:16 +01:00
Rodrigo Antinarelli
25ae057c7c split css from tailwind and fx studyList icon 2020-05-15 12:47:16 +01:00
Rodrigo Antinarelli
9acea28a35 fix onClick check 2020-05-15 12:47:15 +01:00
Rodrigo Antinarelli
8185468bd2 minor fixes 2020-05-15 12:47:15 +01:00
Rodrigo Antinarelli
440dc74828 minor fixes 2020-05-15 12:47:15 +01:00
Rodrigo Antinarelli
8af93d845f fix docz menu 2020-05-15 12:47:15 +01:00
Gustavo Lelis
da5b4591d0 Updating icons naming and colors 2020-05-15 12:47:15 +01:00
Gustavo Lelis
636f86323a fix border blicking in white on transition 2020-05-15 12:47:15 +01:00
Gustavo Lelis
4668fbfa27 Fix callouts 2020-05-15 12:47:15 +01:00
Gustavo Lelis
0a5009f80b Basci example for SidePanel 2020-05-15 12:47:14 +01:00
Gustavo Lelis
345d136590 Small fixes 2020-05-15 12:47:14 +01:00
Gustavo Lelis
f838de8059 Fix viewer's docz page 2020-05-15 12:47:14 +01:00
Gustavo Lelis
c8eda21da4 Update icons and small refacto for performance 2020-05-15 12:47:14 +01:00
Gustavo Lelis
1cf286962c Update Docs 2020-05-15 12:47:14 +01:00
Gustavo Lelis
5f695f2e66 Addin new icons 2020-05-15 12:47:14 +01:00
Gustavo Lelis
59dd5820dd Side pannels 2020-05-15 12:47:13 +01:00
Gustavo Lelis
a2ff5e9e48 Small style update 2020-05-15 12:47:13 +01:00
Gustavo Lelis
8be7854118 Initial changes for SidePanel 2020-05-15 12:47:11 +01:00
Rodrigo Antinarelli
c902ba201f svg icons, tw stroke, toolbar icons and more menu 2020-05-15 12:46:47 +01:00
Rodrigo Antinarelli
9cc530e964 fix tooltip width 2020-05-15 12:46:46 +01:00
Rodrigo Antinarelli
b3dff5ddee feat: Toolbar Header 2020-05-15 12:46:44 +01:00
Rodrigo Antinarelli
f8bbee22b7 feat: Custom Menu Structure (#1605) 2020-05-15 12:46:23 +01:00
Rodrigo Antinarelli
ba5e1497bf fix color conflicts 2020-05-15 12:46:23 +01:00
Rodrigo Antinarelli
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 12:46:20 +01: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 12:44:33 +01:00
Rodrigo Antinarelli
5766d4e91a remove old colors 2020-05-15 12:43:49 +01:00
Rodrigo Antinarelli
b6201ebc34 feat: ui-v2 Color System Naming 2020-05-15 12:43:46 +01:00
Gustavo André Lelis
5541fb1f4b chore: Header docz page examples (#1586)
* Creating Header example

* Improve NavBag example page

* Fixing callouts
2020-05-15 12:42:32 +01:00
Gustavo Lelis
1150e5a1a4 Updating Docz imports 2020-05-15 12:42:31 +01: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 12:42:28 +01:00
Rodrigo Antinarelli
3fe3634475 refactor table doc page 2020-05-15 12:41:52 +01:00
Rodrigo Antinarelli
ef1f50693c feat: UI v2 EmptyStudies Component 2020-05-15 12:41:49 +01:00
Rodrigo Antinarelli
90967c0418 tableless table description 2020-05-15 12:39:24 +01:00
Rodrigo Antinarelli
c05aab4e17 add colSpan support 2020-05-15 12:39:24 +01:00
Rodrigo Antinarelli
1a07807dba fix docz playground font 2020-05-15 12:39:24 +01:00
Rodrigo Antinarelli
cfb8fc91b8 fix tablecell isTableHead classes 2020-05-15 12:39:23 +01:00
Rodrigo Antinarelli
b9252d9491 fix tableRow childrens (props not passing down) 2020-05-15 12:39:23 +01:00
Rodrigo Antinarelli
00df4a1f31 table components props into the same doc page 2020-05-15 12:39:23 +01:00
Rodrigo Antinarelli
ec1e1933e8 fix for TableBody 2020-05-15 12:39:23 +01:00
Rodrigo Antinarelli
062b0f5b99 fix children check and custom propType checker 2020-05-15 12:39:23 +01:00
Rodrigo Antinarelli
bf2c731807 fix export for exposed files 2020-05-15 12:39:20 +01:00
Rodrigo Antinarelli
95023d6247 fix table fullwidth classes 2020-05-15 12:39:00 +01:00
Rodrigo Antinarelli
4e7c062aee create table elements documentation 2020-05-15 12:38:59 +01:00
Rodrigo Antinarelli
8636e30f74 create alignment props 2020-05-15 12:38:59 +01:00
Rodrigo Antinarelli
3e6fa5f03f fix table alignment (due to scrollbar) 2020-05-15 12:38:59 +01:00
Rodrigo Antinarelli
e95a6bd5b0 adding more rows 2020-05-15 12:38:59 +01:00
Rodrigo Antinarelli
34961e5624 feat: v2 Table Component 2020-05-15 12:38:56 +01:00
Gustavo Lelis
01c5456ccf Fixing docz 2020-05-15 12:38:21 +01:00
Gustavo Lelis
69ff46fa5c Adding NavBag into Header 2020-05-15 12:38:21 +01:00
Gustavo Lelis
18ab336df3 Inicial files 2020-05-15 12:38:21 +01:00
Gustavo Lelis
6f198178ac Fix docz import typo 2020-05-15 12:38:20 +01:00
Gustavo André Lelis
e54ccd1373 OHIF-43: Modal Context Provider (#1538) 2020-05-15 12:38:20 +01: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 12:38:18 +01: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 12:38:05 +01:00
Danny
0ec277dd56 fix broken build 2020-05-15 12:38:02 +01:00
Rodrigo Antinarelli
16f59cb5b8 fix study list filter border 2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
4a3f147c4e fix header navbar border 2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
bc7cf6e01d fix sticky elements 2020-05-15 12:37:41 +01:00
Rodrigo Antinarelli
b39a96cfb2 fix: StudyList Fixes 2020-05-15 12:37:41 +01: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 12:37:41 +01:00
Rodrigo Antinarelli
88846e5c70 fix: Select pagination and buttons (#1521) 2020-05-15 12:37:40 +01: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 12:37:40 +01:00
Gustavo André Lelis
2138565990 feat: Study List Filter (#1504)
* 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
2020-05-15 12:37:38 +01:00
Rodrigo Antinarelli
2049147021 chore: uiv2 docz custom page (#1511)
* feat: Customized Docz Layout

* manually apply padding into playground

* fix playground bug -- sticky items

* fix window

* remove specifc tailwind style for docz
2020-05-15 12:37:14 +01: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 12:36:01 +01: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 12:36:01 +01:00
Rodrigo Antinarelli
dbd0f74bea feat: Study List Pagination (#1502)
* remove unused file

* add new color

* pagination handler
2020-05-15 12:36:00 +01: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 12:36:00 +01:00
Gustavo André Lelis
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 12:35:57 +01:00
Gustavo Lelis
ff90f729ab Move props definitions to end on docz 2020-05-15 12:35:37 +01:00
Gustavo Lelis
bc7de7e528 GroupButton component and docz 2020-05-15 12:35:00 +01:00
Rodrigo Antinarelli
e0aba9fe88 temporary mocked data for study list 2020-05-15 12:35:00 +01:00
Rodrigo Antinarelli
6b853eae56 create themeWrapper to be used as wrapper 2020-05-15 12:35:00 +01:00
Rodrigo Antinarelli
93b7d50fea export ui components 2020-05-15 12:34:59 +01:00
Rodrigo Antinarelli
5783c7cfdb temporary structure for studylist 2020-05-15 12:34:57 +01:00
Rodrigo Antinarelli
29bf8ed464 create initial studylist placeholder files 2020-05-15 12:33:13 +01:00
Rodrigo Antinarelli
ac1088e1e3 fix typography colors 2020-05-15 12:33:12 +01:00
Rodrigo Antinarelli
52a2cdf702 fix iconButton sizes 2020-05-15 12:33:12 +01:00
Rodrigo Antinarelli
16bd29077e fix theme colors 2020-05-15 12:33:10 +01:00
Rodrigo Antinarelli
cdcfc7115f update tailwind base config with custom theme 2020-05-15 12:32:32 +01:00
Rodrigo Antinarelli
7c802da4d8 fix theme colors for IconButton 2020-05-15 12:32:32 +01:00
Rodrigo Antinarelli
bcc2285afa add custom font 2020-05-15 12:32:31 +01:00
Rodrigo Antinarelli
b9cd4a6095 add how to import in button documentation 2020-05-15 12:32:29 +01:00
Rodrigo Antinarelli
82079a219d fix button proptype 2020-05-15 12:31:50 +01:00
Rodrigo Antinarelli
7749da5555 feat: Typography component 2020-05-15 12:31:49 +01:00
Rodrigo Antinarelli
c6f9f092b4 extend tailwind theme -- add default colors 2020-05-15 12:31:49 +01:00
Rodrigo Antinarelli
8463efe512 fix docz theme 2020-05-15 12:31:46 +01:00
Rodrigo Antinarelli
e63dccdb4e fix docz wrapper propTypes 2020-05-15 12:31:15 +01:00
Rodrigo Antinarelli
8ab6ccd570 remove old tailwind config file 2020-05-15 12:31:15 +01:00
Rodrigo Antinarelli
f7a0a2bd92 update tailwind theme 2020-05-15 12:31:15 +01:00
Rodrigo Antinarelli
e84f88691f fix unexpected comma 2020-05-15 12:30:15 +01:00
Rodrigo Antinarelli
da4ebddc65 remove unused proptype definition 2020-05-15 12:29:03 +01:00
Rodrigo Antinarelli
014f2d3513 clean up postcss config 2020-05-15 12:29:00 +01:00
Danny Brown
d6e3b45f3c feat: nuke UI project; start new with updated tooling BREAKING_CHANGE (#1468)
BREAKING_CHANGE

* initial structure for components rewrite

* WIP Input

* WIP Label

* add button props

* add label class name

* fix dependency

* new examples buttonModules & buttonEmotion + refac

* clean up to merge initial code into base branch

* remove unused file

* extend default theme -- add new colors

* chore: prettier formatting

* chore: try to exclude feature branch PRs

* chore: suggest toml syntax highlighting extension

* chore: capture yarn.lock changes

* docs: condense readme

* chore: update deploy preview to build docz component library

* chore: Add component library to deploy preview index

* chore: fix invalid tailwindcss config

* chore: try tweaking toml to kickstart preview

* chore: revert

* chore: fix formatting of file index

* chore: don't waste precious build minutes on a broken build

* chore: chmod build-and-deploy.sh

* ci: nuke circleci until we need the workflows on master

* debug lerna commands

* remove redundant yarn commands

* try nohoist

* revert tests

* attempt to resolve import issue

* force update yarn lock

* try new workarounds for yarn version

* another workaround

* shift vtk to extension repo deps

* catch vtk addition

* update lock

* Try older yarn version

* try again

* debugging

* fix: yarn doctor warnings

* learn some life lessons from the yarn docs

* clean up netlify.toml

* clean up netlify.toml

* yarn package doctor react-dom

* yarn doctor: missing peer dep

* yarn doctor, satisfying webpack loader peer deps

* fix docz base path for deploy-preview

* yarn docter: replaced prePublishOnly usage

* More yarn doctoring

* ignore .yarn directory

* fix last yarn doctor warning

* updated yarn lock

Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
2020-05-15 12:28:18 +01:00
Rodrigo Antinarelli
8c90d76ea6 feat: create IconButton component 2020-05-15 12:21:23 +01:00
Rodrigo Antinarelli
cdb2ef72a3 update Button docs 2020-05-15 12:21:23 +01:00
Rodrigo Antinarelli
36d5a46028 feat: Button Component 2020-05-15 12:21:19 +01:00
Rodrigo Antinarelli
4a24bcbeb5 extend default theme -- add new colors 2020-05-15 12:20:06 +01:00
Rodrigo Antinarelli
ba3802968b remove unused file 2020-05-15 12:20:06 +01:00
Rodrigo Antinarelli
e3bb30a591 base branch for ui v2 2020-05-15 12:20:02 +01:00
Rodrigo Antinarelli
3110978d03 clean up to merge initial code into base branch 2020-05-15 12:19:09 +01:00
Rodrigo Antinarelli
b53d4528fb new examples buttonModules & buttonEmotion + refac 2020-05-15 12:19:05 +01:00
Rodrigo Antinarelli
d03e3d3928 fix dependency 2020-05-15 12:18:35 +01:00
Rodrigo Antinarelli
ddac8a4299 add label class name 2020-05-15 12:18:34 +01:00
Rodrigo Antinarelli
f713306fe3 add button props 2020-05-15 12:18:34 +01:00
Rodrigo Antinarelli
c68d0173df WIP Label 2020-05-15 12:18:34 +01:00
Rodrigo Antinarelli
7617a8b9ee WIP Input 2020-05-15 12:18:34 +01:00
Rodrigo Antinarelli
c391c007ff initial structure for components rewrite 2020-05-15 12:18:30 +01:00
ohif-bot
944afe4a3e chore(release): publish [skip ci]
- @ohif/viewer@4.0.0
2020-05-14 14:24:17 +00:00
Igor Octaviano
b1678ce639
fix: 🐛 Fix race condition when loading derived display sets (#1718)
When we have multiple SEGs/RTSTRUCTs we intend to load the most recent
by default.

BREAKING CHANGE: 🧨 However we start to load once the first set of metadata arrives. We need
to wait until all series metadata is fetched.

 Closes: #1715

Co-authored-by: James Petts <jamesapetts@gmail.com>
2020-05-14 15:20:23 +01:00
ohif-bot
39937cca08 chore(release): publish [skip ci]
- @ohif/extension-dicom-rt@0.1.4
 - @ohif/extension-vtk@1.5.6
 - @ohif/core@2.9.6
 - @ohif/viewer@3.11.11
2020-05-14 11:53:42 +00:00
Igor Octaviano
f7b8b6a41c
fix: 🐛 Load default display set when no time metadata (#1684)
* fix: 🐛 Load default display set when no time metadata

Load default displayset (first item in the array) when no series date or
series time availalbe

 Closes: #1683

* Add batch update

* Fix tests.

Co-authored-by: James Petts <jamesapetts@gmail.com>
2020-05-14 12:51:57 +01:00
ohif-bot
79fe442293 chore(release): publish [skip ci]
- @ohif/viewer@3.11.10
2020-05-13 14:03:09 +00:00
Erik Ziegler
d2d3ca2828 Add fuzzymatching to default server configs 2020-05-13 15:58:29 +02:00
ohif-bot
cebea832a3 chore(release): publish [skip ci]
- @ohif/extension-cornerstone@2.7.3
 - @ohif/extension-dicom-rt@0.1.3
 - @ohif/extension-dicom-segmentation@0.2.6
 - @ohif/extension-vtk@1.5.5
 - @ohif/core@2.9.5
 - @ohif/viewer@3.11.9
2020-05-12 14:49:58 +00:00
James Petts
c4f84b1174
fix: 🐛 Fix seg color load (#1724) 2020-05-12 15:47:35 +01:00
ohif-bot
f9fe4232e7 chore(release): publish [skip ci]
- @ohif/extension-dicom-segmentation@0.2.5
 - @ohif/extension-vtk@1.5.4
 - @ohif/core@2.9.4
 - @ohif/viewer@3.11.8
2020-05-06 17:20:22 +00:00
Igor Octaviano
42c22df1b6
Segmentation UI for VTKjs (#1685)
* Add single viewport configuration

* Multiple viewport configuration

* Improve performance by using independent set methods

* Add jump to slice command

* Add context configuration

* Cache panel visibility

* Fix sync between vtk and cornerstone

* Remove apis index

* Add approach

* Add loading to update volumes

* Fix broken configuration

* Bump vtk version

* Use loading label

* Update cy tests after vtk loading label changed

* Remove loading for segs
2020-05-06 18:17:44 +01:00
ohif-bot
19a8e71317 chore(release): publish [skip ci]
- @ohif/extension-dicom-segmentation@0.2.4
 - @ohif/viewer@3.11.7
2020-05-04 14:46:58 +00:00
ohif-bot
8a20a0526e chore(release): publish [skip ci]
- @ohif/extension-cornerstone@2.7.2
 - @ohif/extension-dicom-html@1.2.2
 - @ohif/extension-dicom-rt@0.1.2
 - @ohif/extension-dicom-segmentation@0.2.3
 - @ohif/extension-vtk@1.5.3
 - @ohif/core@2.9.3
 - @ohif/ui@1.4.4
 - @ohif/viewer@3.11.6
2020-05-04 14:15:22 +00:00
James Petts
5b20d8f323
fix: 🐛 Proper error handling for derived display sets (#1708)
* fix: 🐛 Proper error handling for derived display sets

* Revert idc.js change
2020-05-04 15:10:39 +01:00
ohif-bot
9ea37a2201 chore(release): publish [skip ci]
- @ohif/extension-cornerstone@2.7.1
 - @ohif/viewer@3.11.5
2020-05-04 12:37:30 +00:00
ohif-bot
77a421cdc0 chore(release): publish [skip ci]
- @ohif/extension-vtk@1.5.2
 - @ohif/core@2.9.2
 - @ohif/viewer@3.11.4
2020-05-04 08:15:19 +00:00
Sanders DeNardi
7033886697
fix: use bit-appropriate array for palette lookup tables (#1698)
Co-authored-by: Sanders DeNardi <sdenardi@summusglobal.com>
2020-05-04 09:13:04 +01:00
ohif-bot
256563d7ee chore(release): publish [skip ci]
- @ohif/viewer@3.11.3
2020-04-29 12:56:38 +00:00
Erik Ziegler
f7162ce617
fix: Add IHEInvokeImageDisplay routes back into viewer (#1695) 2020-04-29 08:54:40 -04:00
ohif-bot
027ef4f93c chore(release): publish [skip ci]
- @ohif/extension-dicom-html@1.2.1
 - @ohif/extension-dicom-rt@0.1.1
 - @ohif/extension-dicom-segmentation@0.2.2
 - @ohif/extension-vtk@1.5.1
 - @ohif/core@2.9.1
 - @ohif/viewer@3.11.2
2020-04-28 10:52:19 +00:00
Khalid Williams
f09ebbe2e8
chore: cleanup dcmjs imports
* Update imports in /platform

* Update dcmjs imports in /extentions
2020-04-28 06:49:57 -04:00
ohif-bot
08de987711 chore(release): publish [skip ci]
- @ohif/extension-dicom-segmentation@0.2.1
 - @ohif/viewer@3.11.1
2020-04-27 08:41:40 +00:00
ohif-bot
561911056a chore(release): publish [skip ci]
- @ohif/extension-cornerstone@2.7.0
 - @ohif/extension-dicom-html@1.2.0
 - @ohif/extension-dicom-rt@0.1.0
 - @ohif/extension-dicom-segmentation@0.2.0
 - @ohif/extension-vtk@1.5.0
 - @ohif/core@2.9.0
 - @ohif/viewer@3.11.0
2020-04-24 10:29:19 +00:00
Igor Octaviano
835f64d47a
feat: 🎸 Seg jump to slice + show/hide
* Add segment part 2 (jump to frame and visibility toggle)

* Cr updates

* Filter displaysets with images

* feat: 🎸 Seg jump to slice + show/hide

Co-authored-by: James Petts <jamesapetts@gmail.com>
2020-04-24 11:25:05 +01:00
ohif-bot
fc40d84092 chore(release): publish [skip ci]
- @ohif/viewer@3.10.2
2020-04-23 16:20:51 +00:00
Danny Brown
709f14708e
fix: undefined errorHandler in cornerstoneWadoImageLoader configuration (#1664) 2020-04-23 12:17:49 -04:00
ohif-bot
5f4c4ab5e7 chore(release): publish [skip ci]
- @ohif/extension-cornerstone@2.6.1
 - @ohif/extension-vtk@1.4.1
 - @ohif/core@2.8.1
 - @ohif/viewer@3.10.1
2020-04-23 10:04:47 +00:00
James Petts
71205618ec
fix: 🐛 Multiframe fix (#1661) 2020-04-23 11:02:51 +01:00
ohif-bot
5014ba864b chore(release): publish [skip ci]
- @ohif/extension-cornerstone@2.6.0
 - @ohif/extension-dicom-p10-downloader@0.1.0
 - @ohif/extension-vtk@1.4.0
 - @ohif/core@2.8.0
 - @ohif/viewer@3.10.0
2020-04-23 02:06:44 +00:00
James Petts
e96205de35
feat: configuration to hook into XHR Error handling
* Error handling.

* Fix error handling, add redirect example.

* remove debugger

* docs: whitelabeling and httpErrorHandler

* bump dicomweb-client version

* bump cornerstone-wado-image-loader version

* Add more documentation around httpErrorHandler callback

* test: add errorHandler as an expected top level export

Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
2020-04-22 22:01:34 -04:00
ohif-bot
273f31ad56 chore(release): publish [skip ci]
- @ohif/extension-vtk@1.3.14
 - @ohif/core@2.7.1
 - @ohif/viewer@3.9.2
2020-04-22 20:19:12 +00:00