Commit Graph

919 Commits

Author SHA1 Message Date
dannyrb
d0c3fb6db0 fix merge conflict 2020-05-18 14:34:44 -04:00
Erik Ziegler
979242c819 wip 2020-05-18 20:05:26 +02:00
Erik Ziegler
1bb204b9a5 Stop using children 2020-05-18 19:49:32 +02:00
Erik Ziegler
488bb5d266 Fixed! 2020-05-18 18:21:43 +02:00
Erik Ziegler
4e683ecdde still broken 2020-05-18 18:11:24 +02:00
James A. Petts
7a8418f64b WIP DisplaySetService 2020-05-18 16:21:57 +01:00
James A. Petts
649216fde4 Co-authored-by: Danny Brown <danny.ri.brown@gmail.com> 2020-05-18 14:46:05 +01:00
dannyrb
7bcfaf02c0 Small notes and typdef 2020-05-17 23:40:09 -04:00
dannyrb
3880b874ab Reorganize routes folder 2020-05-17 23:27:31 -04:00
dannyrb
3a2c8ef1f7 Remove unused file 2020-05-17 23:26:35 -04:00
dannyrb
70ad940941 Using appContext in DataSourceWrapper and createRoutes 2020-05-17 22:18:25 -04:00
dannyrb
c2853f719a remove unused files 2020-05-17 22:17:45 -04:00
dannyrb
a99badd011 Centralize route generation to a single place 2020-05-17 21:42:38 -04:00
dannyrb
eecdb62dda Move context to a "state" folder 2020-05-17 21:41:57 -04:00
dannyrb
96bf56b8c1 Remove unused files 2020-05-17 21:41:26 -04:00
Erik Ziegler
10930cda68 Avoid re-renders in study browser and entire page 2020-05-16 15:08:06 +02:00
James A. Petts
4fc3169fed display viewport. 2020-05-15 18:07:21 +01:00
Erik Ziegler
7c0d93f011 Try to do study panel the way react wants 2020-05-15 15:56:57 +02:00
Erik Ziegler
44733b987e Thumbnails sort of show up 2020-05-15 14:53:31 +02:00
Erik Ziegler
264a72b566 Missing file 2020-05-15 14:30:47 +02:00
Erik Ziegler
f3f50d11fe Fixes after rebasing 2020-05-15 14:29:27 +02:00
Erik Ziegler
70b7158c9b StudyBrowser almost works 2020-05-15 13:09:46 +01:00
Erik Ziegler
ec2df02e83 Improve study browser 2020-05-15 13:06:23 +01:00
dannyrb
6044190ab1 Fine tune grid spacing 2020-05-15 13:05:56 +01:00
dannyrb
c5033768f2 Update Viewer to use UI components instead of local 2020-05-15 13:05:56 +01:00
dannyrb
41c0b38bf7 expose className on ViewportPane 2020-05-15 13:05:55 +01:00
dannyrb
66e3aea773 update Viewer example to use updated components 2020-05-15 13:05:55 +01:00
dannyrb
50d0144e78 update docz examples to match new component api 2020-05-15 13:05:55 +01:00
dannyrb
d7cdc1c3ba Rename dndContext --> dndProvider 2020-05-15 13:05:55 +01:00
dannyrb
599204176c Add drag and drop provider 2020-05-15 13:05:55 +01:00
dannyrb
fe57becb2c Pull @ohif/ui ViewportPane into separate component and expose 2020-05-15 13:05:54 +01:00
dannyrb
f319092b84 Cleanup @ohif/ui ViewportGrid API 2020-05-15 13:05:52 +01:00
dannyrb
26450644ab add react-dnd 2020-05-15 13:04:54 +01:00
dannyrb
518ff4d6b5 Push grid, pane, and provider 2020-05-15 13:04:54 +01:00
dannyrb
70ce476c32 Create and use ViewportGrid component 2020-05-15 13:04:54 +01:00
Erik Ziegler
d131489aa3 Start adding StudyBrowser 2020-05-15 13:04:53 +01:00
James A. Petts
b8a4ac231d something WIP 2020-05-15 13:04:53 +01:00
James A. Petts
4b9a1ee9d1 Remove all the debugging. 2020-05-15 13:04:53 +01:00
James A. Petts
41c508b2da Add layout tools based on mode. 2020-05-15 13:04:09 +01:00
James A. Petts
c23c1e8db6 Add toolbar layout to context. 2020-05-15 13:04:09 +01:00
James A. Petts
c42aa37d7f Update extension manager to ingest each module type. Add toolbar Manager. 2020-05-15 13:04:06 +01:00
James A. Petts
a8340b9b69 WIP 2020-05-15 13:02:38 +01:00
James A. Petts
289d3f5703 Build WADO logic to fetch + build displaysets + generate imageIds based on prefs. 2020-05-15 13:02:04 +01:00
James A. Petts
d5c83bf596 WIP 2020-05-15 13:02:04 +01:00
dannyrb
b5cd7bb0b7 Bind series data 2020-05-15 13:02:03 +01:00
dannyrb
73c8786a64 Push sortedStudies up higher so we can find the right index 2020-05-15 13:02:03 +01:00
dannyrb
fb1b47b9c9 Hook to query for series data 2020-05-15 13:02:03 +01:00
dannyrb
97cbf076f5 Remove unused filtersMeta 2020-05-15 13:02:03 +01:00
dannyrb
c455a9da3f Pass through for setting filter values so we can reset appropriate related fields when it changes 2020-05-15 13:02:03 +01:00
dannyrb
1e82603c05 filtersMeta to its own file 2020-05-15 13:02:03 +01:00
dannyrb
c1d399d543 export studyListTableRow from @ohif/ui 2020-05-15 13:02:02 +01:00
dannyrb
734bd9803d Use dataSource to query for, and wire up, series data 2020-05-15 13:02:02 +01:00
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