Commit Graph

546 Commits

Author SHA1 Message Date
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
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
1b9c0fcfae Auto include collapse/expand icon for first column as a part of row component 2020-05-15 13:01:59 +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
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
e292bca92e Add support for route definition generation in appInit from modes config 2020-05-15 13:00:08 +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
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
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
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
Gustavo Lelis
345d136590 Small fixes 2020-05-15 12:47:14 +01:00
Gustavo Lelis
8be7854118 Initial changes for SidePanel 2020-05-15 12:47:11 +01:00
Rodrigo Antinarelli
f4b078912a feat: StudyListTable, ExpandedRow, API definitions (#1579)
* feat: StudyListTable Refactor

* feat: StudyListTable + Props Refactor

* fix expanded rows handler

* update and fix study list doc page

* fix date format

* use moment to format date

* expose new components

* fix study list expanded row

* Export and Create doc page for Pagination

* API Definition, Export and Doc page for StudyListTable

* StudyListTableRow

* use real example to mount study list

* move files

* temporary change study list (viewer) structure

* fix studyList

* remove unused files

* remove file

* remove unused package

* PR fixes

* Remove console.dir

Co-authored-by: Gustavo Lelis <galelis@gmail.com>
2020-05-15 12:46:20 +01:00
Rodrigo Antinarelli
2bf5486112 chore: Data Mocking for Study List (#1515)
* feat: Data mocking for studies

* feat: Data Mocking for Study List

* fix empty study position

* rename variables for numOfStudies

* fix studies query

* remove alert :|

* minor refactor

* split utils and refactoring

* refactoring -- format, clean up icons, mdx mock
2020-05-15 12:37:40 +01:00