-
Notifications
You must be signed in to change notification settings - Fork 45
Feature/COR-1170-rioolwaterpagina-verbetering-choropletenkaart-nl #4493
Feature/COR-1170-rioolwaterpagina-verbetering-choropletenkaart-nl #4493
Conversation
…hat area is outdated
… exports font-sizes.
…in VR and GM datapoints.
… GM and VR collections.
…ring-choropletenkaart-NL
packages/app/src/components/choropleth/tooltips/choropleth-tooltip.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/components/choropleth/tooltips/choropleth-tooltip.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to leave this as a generic comment as I do not want to clutter this pull request with repetitive comments, but have a look at files with abbreviated props such as pr
, m
, etc.
packages/app/src/components/choropleth/tooltips/choropleth-tooltip.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/components/choropleth/tooltips/choropleth-tooltip.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/components/choropleth/tooltips/tooltip-notification.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/components/choropleth/tooltips/tooltip-subject.tsx
Outdated
Show resolved
Hide resolved
packages/app/src/components/choropleth/tooltips/tooltip-subject.tsx
Outdated
Show resolved
Hide resolved
…ve technologies (screenreaders).
…outdated data variables.
…ring-choropletenkaart-NL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but let's not merge this until all schemas can be validated.
…s_outdated property to sewer.json each GM and VR area
@VWSCoronaDashboard26 and @VWSCoronaDashboard19 I've pushed some new changes in the latest commit. Apparently backend needs the datapoint to be present for sewers on all VR and GM areas, so I've added it there as well. |
Can you also generate the data types for your schema changes? |
@VWSCoronaDashboard19 Done! However, I do believe that this command runs when deploying to any environment, so technically it's not needed right? But i do understand that it helps other devs when pulling in the code. |
Not sure, but I believe it is a manual task to generate types. If types were incorrect, this branch was not mergable due to failing checks on this PR (or a failing pipeline). |
Aha, thats good to know. Thanks! |
…oolwaterpagina-verbetering-choropletenkaart-NL
) * feat(sewer-choropleth): Implement tooltip notification for outdated data * feat(sewer-choropleth): Implement yellow color on map when data for that area is outdated * feat(sewer-choropleth): Implements new legend item for outdated data, exports font-sizes. * feat(sewer-choropleth): Cleanup and finalize outdated data tooltip addition. * feat(sewer-choropleth): Adjust tooltip to account for different data in VR and GM datapoints. * feat(sewer-choropleth): Adds new outdated data property to schema for GM and VR collections. * feat(sewer-choropleth): New sanity keys and data types. * feat(sewer-choropleth): PR feedback round 1, and a few other fixes/refactoring. * feat(sewer-choropleth): PR feedback round 2 - Add content for assistive technologies (screenreaders). * feat(sewer-choropleth): PR feedback - Change condition for assigning outdated data variables. * feat(sewer-choropleth): Based on new info from backend, adding data_is_outdated property to sewer.json each GM and VR area * feat(sewer-choropleth): generate data types for new properties
* feat(booster): remove and remame booster data from existing schemas (#4499) * Feature/COR-1170-rioolwaterpagina-verbetering-choropletenkaart-nl (#4493) * feat(sewer-choropleth): Implement tooltip notification for outdated data * feat(sewer-choropleth): Implement yellow color on map when data for that area is outdated * feat(sewer-choropleth): Implements new legend item for outdated data, exports font-sizes. * feat(sewer-choropleth): Cleanup and finalize outdated data tooltip addition. * feat(sewer-choropleth): Adjust tooltip to account for different data in VR and GM datapoints. * feat(sewer-choropleth): Adds new outdated data property to schema for GM and VR collections. * feat(sewer-choropleth): New sanity keys and data types. * feat(sewer-choropleth): PR feedback round 1, and a few other fixes/refactoring. * feat(sewer-choropleth): PR feedback round 2 - Add content for assistive technologies (screenreaders). * feat(sewer-choropleth): PR feedback - Change condition for assigning outdated data variables. * feat(sewer-choropleth): Based on new info from backend, adding data_is_outdated property to sewer.json each GM and VR area * feat(sewer-choropleth): generate data types for new properties * feat(booster): remove and remame booster data from existing schemas (#4499) * Feature/COR-1170-rioolwaterpagina-verbetering-choropletenkaart-nl (#4493) * feat(sewer-choropleth): Implement tooltip notification for outdated data * feat(sewer-choropleth): Implement yellow color on map when data for that area is outdated * feat(sewer-choropleth): Implements new legend item for outdated data, exports font-sizes. * feat(sewer-choropleth): Cleanup and finalize outdated data tooltip addition. * feat(sewer-choropleth): Adjust tooltip to account for different data in VR and GM datapoints. * feat(sewer-choropleth): Adds new outdated data property to schema for GM and VR collections. * feat(sewer-choropleth): New sanity keys and data types. * feat(sewer-choropleth): PR feedback round 1, and a few other fixes/refactoring. * feat(sewer-choropleth): PR feedback round 2 - Add content for assistive technologies (screenreaders). * feat(sewer-choropleth): PR feedback - Change condition for assigning outdated data variables. * feat(sewer-choropleth): Based on new info from backend, adding data_is_outdated property to sewer.json each GM and VR area * feat(sewer-choropleth): generate data types for new properties * COR-1128 Restructure collection schemas (#4506) Co-authored-by: AP <[email protected]> Co-authored-by: VWSCoronaDashboard21 <[email protected]> Co-authored-by: VWSCoronaDashboard18 <[email protected]> Co-authored-by: AP <[email protected]> Co-authored-by: VWSCoronaDashboard21 <[email protected]> Co-authored-by: VWSCoronaDashboard18 <[email protected]>
Summary
This PR addresses the changes described in COR-1170.
TLDR: This PR implements a solution that highlights areas within a choropleth with outdated data scoped to waste water.
Changes:
data_is_outdated
property to the schemas for GM and VR collectionsNOTE: I am unsure weather this PR should receive the label
Hold
. Maybe it should as the data is not added in the backend yet (AFAIK).BEFORE (Production)
GM
VR
AFTER (Local)
GM
VR