Commit Graph
100 Commits
Author SHA1 Message Date
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
Danny Brown d21af3f133 fix: Revert "refactor: Reduce bundle size (#1575)" (#1622)
This reverts commit 81dcbe294d.
2020-04-09 07:06:41 -04:00
Danny Brown bb7cce4716 feat: Remove Eraser
feat: Remove Eraser
2020-03-09 09:36:26 -04:00
Danny Brown 4ad3ab93b0 Merge branch 'master' into fix-toolbar-tools 2020-03-09 09:35:27 -04:00
Danny Brown c785a5e975 feat: is disabled flag for sidepanels (#1461)
* chore: updated autofix settings

* chore: remove dead code

* chore: further identify study schema/props

* chore: sketch out beginnings of isDisabled method for sidePanel menuOptions

* chore: set API as studies object

* docs: update docs to include isDisabled computed

* chore: note regarding reactivity

* chore: handle function not set (preserve non-breaking)

* chore: clarify how props are added

* chore: specify left side for built-in series button (thumbnails)

* chore: remove 'from', and push to correct key
2020-03-05 10:05:51 -05:00
Danny Brown f133be75d1 Merge branch 'master' into feat/is-disabled-flag-for-sidepanels 2020-03-05 09:39:58 -05:00
Danny Brown ee80e02661 fix: bump react-cornerstone-viewport version to address critical issue (#1473) 2020-03-03 00:42:01 -05:00
dannyrb 6829542c00 chore: remove 'from', and push to correct key 2020-02-24 11:36:10 -05:00
dannyrb 846c9c1c54 chore: specify left side for built-in series button (thumbnails) 2020-02-24 11:35:34 -05:00
dannyrb 85fed49eb1 chore: clarify how props are added 2020-02-24 11:28:35 -05:00
dannyrb 298da03e2f chore: handle function not set (preserve non-breaking) 2020-02-24 11:22:41 -05:00
dannyrb 141e1cf648 chore: note regarding reactivity 2020-02-24 11:20:10 -05:00
dannyrb ea2ab1a25e docs: update docs to include isDisabled computed 2020-02-24 11:18:55 -05:00
dannyrb 3d0357c9c0 chore: set API as studies object 2020-02-24 11:16:24 -05:00
dannyrb f68aaf973c chore: sketch out beginnings of isDisabled method for sidePanel menuOptions 2020-02-21 16:09:55 -05:00
dannyrb f04d459a63 chore: further identify study schema/props 2020-02-21 16:09:05 -05:00
dannyrb 4cf9f2c9cb chore: remove dead code 2020-02-21 16:08:48 -05:00
dannyrb c0cc9752c6 chore: updated autofix settings 2020-02-21 16:08:15 -05:00
Danny Brown 73e440968c feat: lesion-tracker extension (#1420)
* chore: init lesion-tracker extension

* chore: dev build for lesion-tracker extension

* fix: a more appropriate library name

* chore: fix script naming
2020-02-06 14:04:18 -05:00
Danny Brown c3807a89ed chore: exclude extension discussion 2020-01-28 12:46:05 -05:00
Danny Brown 049ef4a666 chore: scare away stale bot 2020-01-28 12:43:07 -05:00
Danny Brown a3caeb381e chore: remove unused file; duplicated by studyInstanceHelpers (#1349)
* chore: remove unused file; duplicated by studyInstanceHelpers

* Change expected study list results num
2020-01-06 16:26:57 -05:00
Danny Brown 5036615e00 chore: throw our error if we encounter one (no swallow) (#1337) 2019-12-30 14:53:39 -05:00
Danny Brown 1cf7015511 docs: stub environment variables docs 2019-12-16 09:47:12 -05:00
Danny Brown f78abe2afa docs: stub viewer configuration 2019-12-16 09:15:10 -05:00
Danny Brown f48157117f docs: hide empty pages 2019-12-16 09:00:24 -05:00
Danny Brown 6f8bd0dff8 docs: fix scope of diagram path 2019-12-16 08:57:43 -05:00
Danny Brown cd2da349e5 fix: allow empty values for dimensions (#1295)
* fix: allow empty values for dimensions

* fix: consistently use `defaultSize` for intial values
2019-12-13 10:09:18 -05:00
Danny Brown 2c8b93656d ci: fix webgl e2e test failures (only on CI) (#1296)
* ci: update executor and browser flag for circleci orbs

* ci: browser flag when running percy/ci tests

* ci: limit ourselves to the executors defined by the cypress orb for now
2019-12-12 23:43:22 -05:00
Danny Brown 7bc9efb0f5 ci: store cypress videos as artifacts; make sure we upload them to dashboard
* fix: Set VTK viewport as active by interaction

* chore: upgrade cypress to latest

* Revert "fix: Set VTK viewport as active by interaction"

This reverts commit b6e174c2def9d8f688a54d32053679788b9aaf76.

* ci: add record flag for master cypress runs

* ci: simplify cypress orb tasks now that cypress@3.8 uses electron w/ chromium 78

* ci: remove video false flag

* ci: drop browser flag

* ci: store video artifacts
2019-12-12 21:17:35 -05:00
Danny Brown e46a11a01e ci: upgrade cypress version (#1293)
* fix: Set VTK viewport as active by interaction

* chore: upgrade cypress to latest

* Revert "fix: Set VTK viewport as active by interaction"

This reverts commit b6e174c2def9d8f688a54d32053679788b9aaf76.

* ci: add record flag for master cypress runs
2019-12-12 20:21:27 -05:00
Danny Brown 03d4c10adc chore: remove unused file 2019-12-12 13:08:30 -05:00
Danny Brown 115a3ec0b0 refactor: remove-labelling-manager
Igor/refactor/1267 remove labelling manager
2019-12-11 10:39:36 -05:00
Danny Brown ac82a111e7 Merge branch 'master' into igor/refactor/1267-remove-labelling-manager 2019-12-11 09:16:18 -05:00