Commit Graph
153 Commits
Author SHA1 Message Date
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 734bd9803d Use dataSource to query for, and wire up, series data 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 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
Erik Ziegler 3ce4b886ac Fix context usage in ModeRoute 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 1b9c0fcfae Auto include collapse/expand icon for first column as a part of row component 2020-05-15 14:01:59 +02:00
James A. Petts 5c19671d3c WIP build up displaysets. 2020-05-15 14:01:58 +02:00
Erik Ziegler d4f51c5e3c Work on adding SOPClassHandler module based on default behaviour currently in OHIF 2020-05-15 14:01:55 +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
Erik Ziegler 3cf2eb5ed8 Wire up contextModule, panelModule, layoutTemplateModule. Viewer sort of displays 2020-05-15 14:01:25 +02: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 14:01:25 +02:00
dannyrb 20dd83e702 Hydrate our first data source 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 e4c440e211 add a debounce hook 2020-05-15 14:01:24 +02:00
Rodrigo Antinarelli 8f515701fa WIP useQuery implementation 2020-05-15 14:01:24 +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 f54fa4cb34 Begin playing with how/where modes should be wrapped and have data provided 2020-05-15 14:00:07 +02:00
Rodrigo Antinarelli cd7ed9ee9a routes config for Modes 2020-05-15 14:00:06 +02:00
Rodrigo AntinarelliandDanny Brown 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 13:59:26 +02:00
Rodrigo Antinarellianddannyrb 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 13:57:23 +02:00
Erik Ziegler f7162ce617 fix: Add IHEInvokeImageDisplay routes back into viewer (#1695) 2020-04-29 08:54:40 -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
81dcbe294d refactor: Reduce bundle size (#1575)
* async load cornerstoneWADOImageLoader chunk

* Lazy initializing of CornerstoneWADIImageLoader - delayed till Viewer creation

* Async loading of react-vtkjs-viewport

* withCornerstone HOC to wrap routes requiring CornerstoneWADOImageLoader initiazation

* removed dead code in comments

* initWeWorkers is no more. Remove al its references.

Co-authored-by: kedar.netelixir <kedar.choudhary@netelixir.com>
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-04-02 13:31:14 -04:00
James PettsandDanny 1d85f7a74e Instance metadata/metadata providers overhaul (#1481)
* Instance metadata plus metadata provider overhaul.

Fix consumption of wado-uri urls

fallbacks + datatype agnosticism.

WIP DICOMify things.

fix various issues with naturalized variable naming migration.

Remove metadata provider.

Fix consumption of multiframe images and addition of CWIL metadata.

Fix strange build issues.

Fix CWIL style windowWidth to array from naturalized DICOM.

Fix PT, CT, CR and DX issues for cornerstone + DX issues for vtkjs.

Move color palette fetching down to the natuaralized JSON level.

Remove unused StudyMetadataSummary

Remove redundant dicom metadata dictionary.

Working local + json routes.

Fix SR read.

Finished first round of testing + cleaned up debugging etc.

* data => metadata for instance naturalizedJSON

* Update dcmjs version

* Correct github isssues.

* Fix erroneously replaced files.

* Danny's recommended changes.

* Instance metadata plus metadata provider overhaul.

Fix consumption of wado-uri urls

fallbacks + datatype agnosticism.

WIP DICOMify things.

fix various issues with naturalized variable naming migration.

Remove metadata provider.

Fix consumption of multiframe images and addition of CWIL metadata.

Fix strange build issues.

Fix CWIL style windowWidth to array from naturalized DICOM.

Fix PT, CT, CR and DX issues for cornerstone + DX issues for vtkjs.

Move color palette fetching down to the natuaralized JSON level.

Remove unused StudyMetadataSummary

Remove redundant dicom metadata dictionary.

Working local + json routes.

Fix SR read.

Finished first round of testing + cleaned up debugging etc.

* data => metadata for instance naturalizedJSON

* Update dcmjs version

* Correct github isssues.

* Fix erroneously replaced files.

* Danny's recommended changes.

* Update JSON CI

* Update casing of import.

* Fix jump for SR.

* Fix unit tests for measurements service

* Fix json CI test.

* fix: update yarn lock

* Fix local non-encapsulated pdf view

* CI updated to new sucess message.

Co-authored-by: Danny <danny.ri.brown@gmail.com>
2020-03-09 19:03:23 +00:00
Igor Octaviano a7e612eb88 refactor: 💡 Clean up JSON launch with DICOMWeb server (#1388)
* refactor: 💡 Clean up JSON launch with DICOMWeb server

Clean up JSON launch with DICOMWeb server

✅ Closes: #1387

* Remove test file

* parse seriesinstanceuids in query

* Add default studies

* Remove test file

* Cleanup retrievedata changes

* Set active server
2020-01-24 10:31:22 +00:00
ladeirarodolfo e208f2e6a9 feat: 🎸 Filter by url query param for seriesInstnaceUID (#1117)
* feat: 🎸 Filter by url query param for seriesInstnaceUID

* fix: Set SR viewport as active by interaction (#1118)

* fix: Set SR viewport as active by interaction

* quick fix

* (eslint) add "before" as global variables

* add data-cy

* add data-cy

* create E2E test

* (E2E) create custom command to set layout size

* remove .only e2e

* remove throttle for onScroll

* feat: 🎸 Code review in progress

Code review. Move retrieveMEtadata load to separate folders. Some minor
code clean up

* feat: 🎸 Code review. Missing changes from previous commit

* feat: 🎸 Code review missing changes from previous commit

When sorting, Criteria for instance must use instanceNumber and not
instancesNumber

* feat: 🎸 Code review. Add more jsdoc info

* feat: 🎸 Code review. Prettify changed code

* feat: 🎸 Code review

Changed case for seriesInstanceUID. Use qido to filter (async). Fallback
to no params and same api method(async)
2019-11-05 16:48:44 -05:00
Emanuel Fiuza de Oliveira 2677170d67 fix: 🐛 JSON launch not working properly (#1089) (#1093)
* fix: 🐛 JSON launch not working properly (#1089)

JSON launch not working properly after QIDO/WADO switch #1089

Closes: #1089

* fix: 🐛 addressing review feedback (#1089)

Closes: #1089
2019-10-26 00:00:34 -04:00
ladeirarodolfo 21b586b08f feat: 🎸 Allow routes to load Google Cloud DICOM Stores in the Study List (#1069) 2019-10-25 14:49:48 +02:00