Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Conversation

VWSCoronaDashboard26
Copy link
Contributor

@VWSCoronaDashboard26 VWSCoronaDashboard26 commented Jan 2, 2023

Summary

  • updated HospitalsAndCarePage (or 'Ziekenhuizen en de zorg' as it is called on the dashboard) page component to add new covid patient influx graphs for both hospitals and icus;
  • do note: this has been developed using a dataset meant for testing purposes; graphs might not represent actual data;
  • do note: I have also created two additional timelines in the CMS to be shown for these metrics (influx_covid_patients for both hospital_lcps and intensive_care_lcps);
  • do note: earlier changes (merging/moving graphs had been picked up in this branch but was part of a different pull request as to not introduce many conflicts);

Screenshot

Before

There is no before scenario for this graph as it is newly introduced.

After

COR-1321_after_1

COR-1321_after_2

Sanity

Sanity keys for the new graphs can be found in the following path inside Sanity studio: Dashboard Pagina's > Ziekenhuizen en de zorg > nl.
Sanity timelines for the new graphs can be found in the following path inside Sanity studio: Datagerelateerde content > Elements > nl > hospital_lcps - Grafiek OR intensive_care_lcps - Grafiek (depending on which graph's timeline is relevant). New timelines are called 'Annotaties patiëteninstroom ziekenhuizen' and 'Annotaties patiënteninstroom intensive care'. An example is as below.

image

@VWSCoronaDashboard26 VWSCoronaDashboard26 force-pushed the feature/COR-1275-hospital-icu-pages branch from 1800d59 to 8a5f065 Compare January 3, 2023 15:26
@VWSCoronaDashboard26 VWSCoronaDashboard26 force-pushed the task/COR-1321-restructure-and-add-graphs branch from 5935baf to 14b96cd Compare January 3, 2023 15:29
Copy link
Contributor

@Amber-Taal-Work Amber-Taal-Work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. (Maybe you can also add some print screens of Sanity additions).

@VWSCoronaDashboard26 VWSCoronaDashboard26 force-pushed the task/COR-1321-restructure-and-add-graphs branch from 14b96cd to d4994c0 Compare January 4, 2023 13:09
@VWSCoronaDashboard26 VWSCoronaDashboard26 merged commit 2c49d85 into feature/COR-1275-hospital-icu-pages Jan 4, 2023
@VWSCoronaDashboard26 VWSCoronaDashboard26 deleted the task/COR-1321-restructure-and-add-graphs branch January 4, 2023 13:57
VWSCoronaDashboard26 added a commit that referenced this pull request Jan 17, 2023
* task(lcps/nice): updated HospitalsAndCarePage component to add new patient influx graphs for both hospitals and icus;

Co-authored-by: VWSCoronaDashboard26 <[email protected]>
Jorrik-Klijnsma-Work pushed a commit that referenced this pull request Jan 30, 2023
* task(lcps/nice): updated HospitalsAndCarePage component to add new patient influx graphs for both hospitals and icus;

Co-authored-by: VWSCoronaDashboard26 <[email protected]>
VWSCoronaDashboard26 added a commit that referenced this pull request Jan 31, 2023
* Feature/cor 1322 restructure pages (#4559)

* wip: add new page structure

* feat: added restructured page parts

* feat: add combined graphs and adjust lokalize texts

* feat: delete old page references on topical

* task/COR-1323-lcps-nice-schema-updates (#4554)

* task(schemas): updated hospital and icu LCPS schemas and generated data types

Co-authored-by: VWSCoronaDashboard26 <[email protected]>

* task/COR-1320: New KPI tiles for hospital and care (#4590)

* Feature/cor 1322 restructure pages (#4559)

* wip: add new page structure

* feat: added restructured page parts

* feat: add combined graphs and adjust lokalize texts

* feat: delete old page references on topical

* task/COR-1323-lcps-nice-schema-updates (#4554)

* task(schemas): updated hospital and icu LCPS schemas and generated data types

Co-authored-by: VWSCoronaDashboard26 <[email protected]>

* feat: created new kpi tiles for hospital and care

* feat: Adjust styling and optimized code

* fix: added width to tile sections

Co-authored-by: LR <[email protected]>
Co-authored-by: VWSCoronaDashboard26 <[email protected]>

* task/COR-1321-restructure-and-add-graphs (#4589)

* task(lcps/nice): updated HospitalsAndCarePage component to add new patient influx graphs for both hospitals and icus;

Co-authored-by: VWSCoronaDashboard26 <[email protected]>

* feature(lcps/nice): applied PR feedback; cleaned up ChartTile and ChartTileHeader components;

* feat(lcps/nice): updated bed occupancy graphs for both hospitals and ICUs to receive two new (individual) timelines; (#4606)

Co-authored-by: VWSCoronaDashboard26 <[email protected]>

* feat(lcps/nice): reverted some changes; satisfy compilation / typecheck again;

* feat(lcps/nice): applied PR feedback and small design consistency changes;

---------

Co-authored-by: HO <[email protected]>
Co-authored-by: VWSCoronaDashboard26 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants