Commit Graph
100 Commits
Author SHA1 Message Date
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
dannyrb 4c57335696 Rename setFilterValues prop to onChange 2020-05-15 14:01:24 +02:00
dannyrb e4972a858c Remove quido portion of studies services, moved to IWebAPI implementation for dicomweb 2020-05-15 14:01:21 +02:00
dannyrb 3242bbcf76 Playing with how routes access ViewModel context and SopClassHandlers that map meta to ViewModel (displaySets) 2020-05-15 14:00:53 +02:00
dannyrb b54e3734a7 Expose dicomMetadataStore in @ohif/core 2020-05-15 14:00:50 +02:00
dannyrb e292bca92e Add support for route definition generation in appInit from modes config 2020-05-15 14:00:08 +02:00
dannyrb e1690390d9 Expand extensionManager to index module definitions by namespace 2020-05-15 14:00:08 +02:00
dannyrb f172f26dee Beginnings of a DICOMWeb API implementation that adheres to IWebApi interface 2020-05-15 14:00:07 +02:00
dannyrb 91a3c93985 hook to grab query parameters from react router 2020-05-15 14:00:07 +02:00
dannyrb f54fa4cb34 Begin playing with how/where modes should be wrapped and have data provided 2020-05-15 14:00:07 +02:00
dannyrb 4edbb540da export named modules from DICOMWeb utility object 2020-05-15 14:00:07 +02:00
dannyrb abfac8d48f Sad dicomMetadata store reminder for james 2020-05-15 14:00:07 +02:00
dannyrb f5570c6ba0 remove viewports from modes config as a slot 2020-05-15 14:00:07 +02:00
14dabaabf6 layout template and side panel defaults
Co-authored-by: James Petts <jamesapetts@gmail.com>
Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
2020-05-15 14:00:06 +02:00
dannyrb 40fa10be87 init modes folder 2020-05-15 14:00:06 +02:00
7069627266 Stub get context module
Co-authored-by: James Petts <jamesapetts@gmail.com>
Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
2020-05-15 14:00:06 +02:00
Danny 0ec277dd56 fix broken build 2020-05-15 13:38:02 +02:00
Danny a0b73d2b1f bump yarn version for netlify 2020-05-15 13:31:14 +02:00
Danny BrownandRodrigo Antinarelli 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 13:28:18 +02:00
Danny Brown 875238e5b0 chore: add fuzzymatching to default server configs
Add fuzzymatching to default server configs
2020-05-13 10:00:55 -04:00
Danny Brown 709f14708e fix: undefined errorHandler in cornerstoneWadoImageLoader configuration (#1664) 2020-04-23 12:17:49 -04:00
Danny Brown 2093a00365 fix: whiteLabeling should support component creation by passing React to defined fn (#1659) 2020-04-22 16:16:53 -04:00
Danny Brown d9fc7bbb0e fix: showStudyList config (#1647)
* fix: `showStudyList` config

* showStudyList should default to true if not defined
2020-04-17 12:26:09 -04:00
Danny Brown 450c80b9d5 feat: set the authorization header for DICOMWeb requests if provided in query string (#1646) 2020-04-17 10:14:13 -04:00