Commit Graph
100 Commits
Author SHA1 Message Date
dannyrb 9b75d95e48 action on ViewportPanes for setting the active viewport 2020-05-24 22:34:01 -04:00
dannyrb 30caec0043 import fix 2020-05-23 23:58:50 -04:00
dannyrb 7487cbb28c Hoist ViewportGrid context so UI Services can access/update it 2020-05-23 23:57:14 -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 692f4c1ca5 remove uneccessary tabData check 2020-05-23 20:49:12 -04:00
dannyrb 3a78d313ac remove dead code 2020-05-23 20:48:09 -04:00
dannyrb 40a62b1329 hoist state for expanded studies; allow multiple open 2020-05-22 15:47:38 -04:00
dannyrb 7c1dcb53c2 hoist activeTab state 2020-05-22 15:33:07 -04:00
dannyrb a41a455237 user-select, none for study items 2020-05-22 15:14:16 -04:00
dannyrb 4a390bfb66 fix thumbnail persistence 2020-05-22 14:31:51 -04:00
dannyrb 23a94251fc map is not reactive 2020-05-21 20:51:48 -04:00
dannyrb f87d18936e basic pub/sub refresh for tabs from displaysets from dicommetadata 2020-05-21 20:34:53 -04:00
dannyrb 1892ec2a2a fix incorrect argument to retrieve studies 2020-05-21 20:33:08 -04:00
dannyrb 715377c565 Move files around to confuse James and Erik 2020-05-21 16:24:35 -04:00
dannyrb b5070dd518 Merge branch 'feat/ui-v2-rebase-services' of github.com:OHIF/Viewers into feat/ui-v2-rebase-services
# Conflicts:
#	platform/viewer/src/routes/Mode/Mode.jsx
2020-05-20 21:08:49 -04:00
dannyrb a323157c62 capture changes 2020-05-20 21:07:25 -04:00
dannyrb 64f9c4a387 add alias for state 2020-05-20 14:42:22 -04:00
dannyrb 913f9589e5 fix config; update yarn.lock 2020-05-20 09:06:50 -04:00
dannyrb d41686c4ad Update netlify config to new format 2020-05-20 08:57:07 -04:00
dannyrb 6bbe206a45 basic drop to set displaySet 2020-05-20 01:26:44 -04:00
dannyrb 6baeaa9619 Assume pattern for specifying one or more studyInstanceUids 2020-05-20 00:49:38 -04:00
dannyrb 3a3b7261df expose new webpack aliases for hooks and root 2020-05-20 00:48:42 -04:00
dannyrb 1cd6b6881a upgrade react-router and react-router-dom to gain access to new hooks 2020-05-19 23:47:43 -04:00
dannyrb c3373357ee dropped item logs displaySetInstanceUID 2020-05-19 23:34:56 -04:00
dannyrb 591da12536 Drag and drop w/ dragSource + dragTarget w/o errors 2020-05-19 23:28:41 -04:00
dannyrb 1333c2b89d Re-enable draggable thumbs 2020-05-19 23:15:33 -04:00
dannyrb 1c33914e27 Display regular thumbnail; not tracked variant 2020-05-19 23:15:13 -04:00
dannyrb c55d069e32 refactor how we slowly build our studies array 2020-05-18 16:20:39 -04:00
dannyrb 351e0f76d6 start cleaning up panels 2020-05-18 15:05:49 -04:00
dannyrb d0c3fb6db0 fix merge conflict 2020-05-18 14:34:44 -04: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 ea50ade126 alias imports for top level viewer src folders 2020-05-17 23:27:04 -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
dannyrb 6044190ab1 Fine tune grid spacing 2020-05-15 14:05:56 +02:00
dannyrb 00347d3ecb Nuke "SecondaryToolbar" which is really just a Toolbar variant 2020-05-15 14:05:56 +02:00
dannyrb ded1431fab Cleaner body styles on enter/exit for LayoutTemplate 2020-05-15 14:05:56 +02:00
dannyrb c5033768f2 Update Viewer to use UI components instead of local 2020-05-15 14:05:56 +02:00
dannyrb 6fdf35b370 Start to whittle away at ViewportGrid comment 2020-05-15 14:05:55 +02:00
dannyrb 41c0b38bf7 expose className on ViewportPane 2020-05-15 14:05:55 +02:00
dannyrb 66e3aea773 update Viewer example to use updated components 2020-05-15 14:05:55 +02:00
dannyrb 50d0144e78 update docz examples to match new component api 2020-05-15 14:05:55 +02: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 fe57becb2c Pull @ohif/ui ViewportPane into separate component and expose 2020-05-15 14:05:54 +02:00
dannyrb f319092b84 Cleanup @ohif/ui ViewportGrid API 2020-05-15 14:05:52 +02:00
dannyrb 26450644ab add react-dnd 2020-05-15 14:04:54 +02:00
dannyrb 518ff4d6b5 Push grid, pane, and provider 2020-05-15 14:04:54 +02:00
dannyrb 70ce476c32 Create and use ViewportGrid component 2020-05-15 14:04:54 +02:00
dannyrb ba152f082b Split ViewportLayout into parts and clean-up 2020-05-15 14:04:54 +02:00
dannyrb b5cd7bb0b7 Bind series data 2020-05-15 14:02:03 +02:00
dannyrb 73c8786a64 Push sortedStudies up higher so we can find the right index 2020-05-15 14:02:03 +02:00
dannyrb fb1b47b9c9 Hook to query for series data 2020-05-15 14:02:03 +02:00
dannyrb 97cbf076f5 Remove unused filtersMeta 2020-05-15 14:02:03 +02:00
dannyrb c455a9da3f Pass through for setting filter values so we can reset appropriate related fields when it changes 2020-05-15 14:02:03 +02:00
dannyrb 1e82603c05 filtersMeta to its own file 2020-05-15 14:02:03 +02:00
dannyrb c1d399d543 export studyListTableRow from @ohif/ui 2020-05-15 14:02:02 +02:00
dannyrb 734bd9803d Use dataSource to query for, and wire up, series data 2020-05-15 14:02:02 +02:00
dannyrb 4dccefb21f seriesInStudy method 2020-05-15 14:02:02 +02:00
dannyrb c532d94025 Default to truncating overflow text in series table 2020-05-15 14:02:02 +02:00
dannyrb e57e0d7de8 Pass DataSource as prop to LayoutTemplate 2020-05-15 14:02:02 +02:00
dannyrb 1e58d8eb4b Wire up beginnings of series search 2020-05-15 14:02:02 +02:00
dannyrb a11aea0439 Shift exampleInstances to a separate file 2020-05-15 14:02:02 +02:00
dannyrb 1107779a63 fix duplicate name/key render warning 2020-05-15 14:02:01 +02:00
dannyrb e29a777a9f fix studyDate sort and display 2020-05-15 14:02:01 +02:00
dannyrb 10729c2414 Sort for everything except studydate/time 2020-05-15 14:02:01 +02:00
dannyrb 86eef997e4 basic sorting 2020-05-15 14:02:01 +02:00
dannyrb 1ec580be5d persist and set paging clientside 2020-05-15 14:02:01 +02:00
dannyrb 1979928d59 Round trip mrn filtering 2020-05-15 14:02:01 +02:00
dannyrb 053ed36e8f full circle ModalitiesInStudy filtering 2020-05-15 14:02:00 +02:00
dannyrb 17e2680da8 Update Select to work on an array of values; so long as values are contained in options array 2020-05-15 14:02:00 +02:00
dannyrb 92923789e5 fix daterange presets 2020-05-15 14:02:00 +02:00
dannyrb 8f284aafac apply start/end dates to qido search 2020-05-15 14:02:00 +02:00
dannyrb 2b8f527d8c round trip query string parameters for startDate and endDate; drop JSON stringify 2020-05-15 14:02:00 +02:00
dannyrb 4413572c1c set a black background body class on enter/exit of component 2020-05-15 14:01:59 +02:00
dannyrb 1cd643314f parse and display correct time, if value is set 2020-05-15 14:01:59 +02:00
dannyrb 2ed1071956 Show (empty) for patientName if none is available 2020-05-15 14:01:59 +02:00
dannyrb 36bc73579d Title hover for truncated text 2020-05-15 14:01:59 +02:00
dannyrb 8dac6d7318 truncate and show ellipsis for content outside of cell bounds 2020-05-15 14:01:59 +02:00
dannyrb 1b9c0fcfae Auto include collapse/expand icon for first column as a part of row component 2020-05-15 14:01:59 +02:00
dannyrb e3b0f60e69 Can't select row text, but can select expanded content text 2020-05-15 14:01:58 +02:00
dannyrb c710f45c6f Prefer available search from history's location over useLocation/useQuery 2020-05-15 14:01:26 +02:00
dannyrb ddbc2cea83 Prevent double render 2020-05-15 14:01:26 +02:00
dannyrb 45ca73946d Very basic search test based on query param 2020-05-15 14:01:26 +02:00
dannyrb 6f9c27f10b basic initial search and passing data to LayoutTemplate for list route 2020-05-15 14:01:26 +02:00
dannyrb 20dd83e702 Hydrate our first data source 2020-05-15 14:01:25 +02:00
dannyrb c3ee59c60e expose appConfig from App.js (no need to make reactive) 2020-05-15 14:01:25 +02:00
dannyrb 3238edddd2 Create a DataSourceWrapper to determine correct data source and provide data to layout component 2020-05-15 14:01:25 +02:00
dannyrb 068939b70f Expose managers to Viewer project from App.js 2020-05-15 14:01:25 +02:00
dannyrb 2a962cc8af expose useDebounce hook 2020-05-15 14:01:24 +02:00
dannyrb e39d4d57d4 add query-string as a dependency 2020-05-15 14:01:24 +02:00
dannyrb d2cf13a9a2 simplify useQuery 2020-05-15 14:01:24 +02:00
dannyrb e4c440e211 add a debounce hook 2020-05-15 14:01:24 +02:00
dannyrb 573e00c8d8 Add MDX syntax highlighting extension to list of recommended 2020-05-15 14:01:24 +02:00