This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/COR-1784_COR-1801_vaccinations-modifications (#4887)
* feat(COR-1801): Finalized ticket * fix(zks-graphs): Fixed range dates to date (#4865) * fix(zks-graphs): Fixed range dates to date * fix(1806): Updated documentation * task: Remove add new document button in navbar (#4868) * Feature/cor 1563 refactor text keys in kpi to markdown (#4867) * fix: deleted unused component * fix: Create markdown consistency in KPI tiles * Bugfix/cor 1769 variants table and graph 2 (#4870) * fix(COR-1769): Removed keys from schemas * fix(COR-1769): Removed historical significance key * fix(COR-1769): Update getter functions * fix(COR-1769): Remove unused code from variants chart * fix(COR-1769): Re-add destructuring based on suggestion --------- Co-authored-by: VWSCoronaDashboard29 <[email protected]> * feat(COR-1784): Update schemas to match protos * feat(COR-1784): Update schemas to protos and fix * feat(COR-1784): Update branch to match old branch * feat(COR-1784): Update schema titles * feat(COR-1784): Adapt vaccine campaign tiles * feat(COR-1784): Made vaccine coverage generic * feat(COR-1784): Streamline hook * feat(COR-1784): Split autumn vaccine per age group table * feat(COR-1784): Add primary series choropleth and fix keys * feat(COR-1784): Add campaign banner component * task: Apply changes from COR-1788 * feat(COR-1784): Add campaign hero * feat(COR-1784): Update vaccine colours * feat(COR-1784): Remove barrel files * feat(COR-1784): Update schema to match protos * feat(COR-1784): Update conditional display based on feedback * feat(COR-1784): Add newline in schemafile * feat(COR-1784): Removed type indication in coverage-per-age-group * feat(COR-1784): Centralize styling * fix(COR-1784): Update types to new schemanames * feat(COR-1784): Reverted conditional component based on feedback * feat(COR-1784): Update schemas and datatypes to match protos * feat(COR-1801): Replaced the protos actual values * feat(COR-1801): Fixed typecheck issues and adjusted the municipality page * feat(COR-1784): Update vaccines page to new designs spec * feat(COR-1784): Update pageinfo block for primary series * task(COR-1784): Check in sanity key mutations * refactor(COR-1784): Refactor name from feedback * fix(COR-1784): Change date of primary series pageinfo * fix(COR-1784): Add optional to metadata * refactor(COR-1784/COR-1801): Refactored generic types usage * refactor(COR-1784/COR-1801): refactored ternary operator * refactor(COR-1784/COR-1801): Refactored the vaccine-campaign-tile * refactor(COR-1784/COR-1801): Refactored campaign banner * refactor(COR-1784/COR-1801): Refactor schemanames * fix(COR-1784/COR-1801): Fix feature flags * fix(COR-1784/COR-1801): Fix choropleth validation * refactor(COR-1784/COR-1801): Refactored schema names --------- Co-authored-by: J <[email protected]> Co-authored-by: VWSCoronaDashboard29 <[email protected]> Co-authored-by: VWSCoronaDashboard29 <[email protected]> Co-authored-by: beek <[email protected]> Co-authored-by: VWSCoronaDashboard29 <B>
- Loading branch information
1 parent
ce5c2a3
commit e960c78
Showing
53 changed files
with
1,070 additions
and
590 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ction/vaccine_coverage_per_age_group.json → ...ction/vaccine_coverage_per_age_group.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
packages/app/schema/archived_gm_collection/vaccine_coverage_per_age_group_choropleth.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "archived_gm_collection_vaccine_coverage_per_age_group_choropleth", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"gmcode", | ||
"vaccination_type", | ||
"birthyear_range_12_plus", | ||
"birthyear_range_18_plus", | ||
"birthyear_range_60_plus", | ||
"vaccinated_percentage_12_plus", | ||
"vaccinated_percentage_12_plus_label", | ||
"vaccinated_percentage_18_plus", | ||
"vaccinated_percentage_18_plus_label", | ||
"vaccinated_percentage_60_plus", | ||
"vaccinated_percentage_60_plus_label", | ||
"date_of_insertion_unix", | ||
"date_unix" | ||
], | ||
"properties": { | ||
"gmcode": { | ||
"type": "string", | ||
"pattern": "^GM[0-9]+$" | ||
}, | ||
"vaccination_type": { | ||
"type": "string" | ||
}, | ||
"birthyear_range_12_plus": { | ||
"type": "string", | ||
"pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" | ||
}, | ||
"birthyear_range_18_plus": { | ||
"type": "string", | ||
"pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" | ||
}, | ||
"birthyear_range_60_plus": { | ||
"type": ["string", "null"], | ||
"pattern": "^[0-9]{4}-[0-9]{4}$|^-[0-9]{4}$|^[0-9]{4}-$" | ||
}, | ||
"vaccinated_percentage_12_plus": { | ||
"type": ["number", "null"] | ||
}, | ||
"vaccinated_percentage_12_plus_label": { | ||
"type": ["string", "null"], | ||
"pattern": "^([><][=][0-9]{1,2})$" | ||
}, | ||
"vaccinated_percentage_18_plus": { | ||
"type": ["number", "null"] | ||
}, | ||
"vaccinated_percentage_18_plus_label": { | ||
"type": ["string", "null"], | ||
"pattern": "^([><][=][0-9]{1,2})$" | ||
}, | ||
"vaccinated_percentage_60_plus": { | ||
"type": ["number", "null"] | ||
}, | ||
"vaccinated_percentage_60_plus_label": { | ||
"type": ["string", "null"], | ||
"pattern": "^([><][=][0-9]{1,2})$" | ||
}, | ||
"date_unix": { | ||
"type": "integer" | ||
}, | ||
"date_of_insertion_unix": { | ||
"type": "integer" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
packages/app/schema/archived_nl/vaccine_campaigns_2023.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"definitions": { | ||
"vaccine_campaign": { | ||
"title": "archived_nl_vaccine_campaign_2023", | ||
"type": "object", | ||
"required": ["vaccine_campaign_order", "vaccine_campaign_name_nl", "vaccine_campaign_name_en", "vaccine_administered_total", "vaccine_administered_last_timeframe"], | ||
"additionalProperties": false, | ||
"properties": { | ||
"vaccine_campaign_order": { | ||
"type": "integer" | ||
}, | ||
"vaccine_campaign_name_nl": { | ||
"type": "string" | ||
}, | ||
"vaccine_campaign_name_en": { | ||
"type": "string" | ||
}, | ||
"vaccine_administered_total": { | ||
"type": "integer" | ||
}, | ||
"vaccine_administered_last_timeframe": { | ||
"type": "integer" | ||
} | ||
} | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "archived_nl_vaccine_campaign_2023", | ||
"type": "object", | ||
"required": ["vaccine_campaigns", "date_unix", "date_start_unix", "date_end_unix", "date_of_insertion_unix"], | ||
"additionalProperties": false, | ||
"properties": { | ||
"vaccine_campaigns": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/vaccine_campaign" | ||
} | ||
}, | ||
"date_unix": { | ||
"type": "integer" | ||
}, | ||
"date_start_unix": { | ||
"type": "integer" | ||
}, | ||
"date_end_unix": { | ||
"type": "integer" | ||
}, | ||
"date_of_insertion_unix": { | ||
"type": "integer" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/app/schema/archived_nl/vaccine_coverage_per_age_group.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.