-
Notifications
You must be signed in to change notification settings - Fork 45
feature/COR-1953_non-archived-graphs-adjustments #5005
feature/COR-1953_non-archived-graphs-adjustments #5005
Conversation
onHandleTimeIntervalChange({ start: values[0] ? values[0].date_unix : 0, end: values[values.length - 1] ? values[values.length - 1].date_unix : 0 }); | ||
} | ||
} | ||
}, [values, timeframe, onHandleTimeIntervalChange]); |
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.
onHandleTimeIntervalChange was added right before the PR. If something is not working correctly, try removing this from dependencies
@@ -29,15 +32,33 @@ export interface MetadataProps extends MarginBottomProps { | |||
datumsText?: string; | |||
intervalCount?: string; | |||
disclaimer?: string; | |||
|
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.
Remove rendundant comment
})}`} | ||
{intervalString && `. ${intervalString}`} | ||
{dateString && source ? ' · ' : null} | ||
|
||
{/* This can go */} |
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.
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.
It's there since it should go as part of the merge of those two metadata components we currently have.
* @param value: DateRange | number | ||
* @returns | ||
*/ | ||
onHandleTimeIntervalChange?: (value: DateRange) => void; |
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.
Very solid work on figuring this out!
2de4457
into
topic/COR-1952_COR-1953_graph-adjustments
… pages (#5005) Signed-off-by: M <[email protected]>
* feat(COR-1953/COR-1952): Added new metadata fields * feat(COR-1952/COR-1953): Added lokalize keys * feat(COR-1953): Added corrections for rioolwater NL and infectieradar pages (#5005) * feature/COR-1954-consolidate-metadata (#5007) * feat(COR-1954): Initial copy-paste merging * feat(COR-1954): Add JSDoc comments * feat(COR-1954): Fix empty source showing up * feat(COR-1954): Replace source with metadataItem * feat(COR-1954): Turn datelastinserted date into MetadataItem * feat(COR-1954): Consolidated metadataprops type into seperate type file * feat(COR-1954) Split up and combine into module * feat(COR-1954): Substitute clock on pageinfoblock with metadataitem * feature/COR-1953_non-archived-graphs-adjustments (#5008) * feat(COR-1953): Added corrections for rioolwater NL and infectieradar pages * feature(COR-1953): Adjustments for metadata and time-series-chart components * feature(COR-1953): Adjustments for rioolwater page * feature(COR-1953): Adjustments for NL variants page * feature(COR-1953): Adjustments for NL infectieradar page * feature(COR-1953): Adjustments for GM stertfe page * feature(COR-1953): Adjustments for GM positive tests page * feature(COR-1953): Adjustments for GM patienten-in-beeld page * feature(COR-1953): Adjustments for NL de-coronaprik page * feature(COR-1953): Adjustments for NL de-coronaprik component indentation * feature(COR-1953): Adjustments for NL infectieradar page components * feature(COR-1953): Adjustments for NL positive tests page * feature(COR-1953): Adjustments for NL besmettelijke-mensen page * feature(COR-1953): Adjustments for NL coronamelder page * feature(COR-1953): Adjustments for NL gedrag page * feature(COR-1953): Adjustments for NL gehandicaptenzorg page * feature(COR-1953): Adjustments for NL klachten-bij-huisartsen page * feature(COR-1953): Adjustments for NL kwetsbare-groepen-70-plussers page * feature(COR-1953): Adjustments for NL patienten-in-beeld page * feature(COR-1953): Adjustments for NL sterfte page * feature(COR-1953): Adjustments for NL thuiswonende-70-plussers page * feature(COR-1953): Adjustments for NL ziekenhuizen-in-beeld page * feature(COR-1953): Adjustments for NL ziekenhuizen-in-beeld page import order * feature(COR-1953): Fixed sewer branch last insertion date not displaying * feature(COR-1953): Attempt to sign commit * feature(COR-1953): Reverting change for commit signing test * feature(COR-1953): Fixed rioolwater pageinformationblock not displaying last update * feat(COR-1953): Rename timeInterval to timeframePeriod * Revert "feat(COR-1953): Rename timeInterval to timeframePeriod" This reverts commit 4c3b077. * feature(COR-1953): Renamed timeInterval/TimeInterval to timeframePeriod/TimeframePeriod --------- Co-authored-by: VWSCoronaDashboard29 <[email protected]> * feature/COR-1951_dropdown-options-selection-changes (#5010) * feature/COR-1938-update-format-intial-tick-date (#5003) * refactor(COR-1938): Make comments JSDoc compliant * refactor: reorder * refactor: reorder * feat(COR-1938): Set dateformat of first tick to include date * feature(COR-1951): Corrected time frame option values --------- Co-authored-by: Ben van Eekelen (work) <[email protected]> * feature/COR-1956_make-metadata-consistent (#5011) * feat(COR-1953): Added corrections for rioolwater NL and infectieradar pages * feature(COR-1953): Adjustments for metadata and time-series-chart components * feature(COR-1953): Adjustments for rioolwater page * feature(COR-1953): Adjustments for NL variants page * feature(COR-1953): Adjustments for NL infectieradar page * feature(COR-1953): Adjustments for GM stertfe page * feature(COR-1953): Adjustments for GM positive tests page * feature(COR-1953): Adjustments for GM patienten-in-beeld page * feature(COR-1953): Adjustments for NL de-coronaprik page * feature(COR-1953): Adjustments for NL de-coronaprik component indentation * feature(COR-1953): Adjustments for NL infectieradar page components * feature(COR-1953): Adjustments for NL positive tests page * feature(COR-1953): Adjustments for NL besmettelijke-mensen page * feature(COR-1953): Adjustments for NL coronamelder page * feature(COR-1953): Adjustments for NL gedrag page * feature(COR-1953): Adjustments for NL gehandicaptenzorg page * feature(COR-1953): Adjustments for NL klachten-bij-huisartsen page * feature(COR-1953): Adjustments for NL kwetsbare-groepen-70-plussers page * feature(COR-1953): Adjustments for NL patienten-in-beeld page * feature(COR-1953): Adjustments for NL sterfte page * feature(COR-1953): Adjustments for NL thuiswonende-70-plussers page * feature(COR-1953): Adjustments for NL ziekenhuizen-in-beeld page * feature(COR-1953): Adjustments for NL ziekenhuizen-in-beeld page import order * feature(COR-1953): Fixed sewer branch last insertion date not displaying * feature(COR-1953): Attempt to sign commit * feature(COR-1953): Reverting change for commit signing test * feature(COR-1953): Fixed rioolwater pageinformationblock not displaying last update * feat(COR-1953): Rename timeInterval to timeframePeriod * Revert "feat(COR-1953): Rename timeInterval to timeframePeriod" This reverts commit 4c3b077. * feature(COR-1953): Renamed timeInterval/TimeInterval to timeframePeriod/TimeframePeriod * feature(COR-1956): Adjusted KPI's and Choropleths to new metadata --------- Co-authored-by: VWSCoronaDashboard29 <[email protected]> * feature/COR-1952_archived-graphs-adjustments (#5009) * feature(COR-1952): Corrected archived graphs for NL variants page * feature(COR-1952): Corrected archived graphs for NL sterfte page * feature(COR-1952): Corrected archived graphs for NL kwetsbare-groepen-70-plussers page * feature(COR-1952): Corrected archived graphs for NL reproductiegetal page * feature(COR-1952): Corrected archived graphs for NL positieve-testen page * feature(COR-1952): Corrected archived graphs for NL gehandicaptenzorg page * feature(COR-1952): Corrected archived graphs for NL thuiswonende-70-plussers page * feature(COR-1952): Corrected archived graphs for NL coronamelder page * feature(COR-1952): Corrected archived graphs for GM positieve-testen page * feature(COR-1952): Corrected archived graphs for GM sterfte page * feature(COR-1952): Corrected archived graphs for GM patienten-in-beeld page * feature(COR-1952): Added missing metadata for patienten-in-beeld --------- Co-authored-by: Ben van Eekelen (work) <[email protected]>
Summary