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

Release 2.33.0 #3807

Merged
merged 55 commits into from
Nov 11, 2021
Merged

Release 2.33.0 #3807

merged 55 commits into from
Nov 11, 2021

Conversation

VWSCoronaDashboard16
Copy link
Contributor

No description provided.

VWSCoronaDashboard14 and others added 30 commits October 28, 2021 13:16
* New icons (#3181)

* Change restriction icon (#3191)

* Add focusable false (#3193)

* Rename timeline event to be correct (#3197)

* Topic/measures icons (#3209)

* Update no entertainment icon (#3220)

* Change no entertainment icon

* Focusable false

* Disable revalidate

* Disable check for in_collection file (#3226)

* String to variable (#3225)

* fix: Limit amount of articles queried to 3

* Hide actueel links to international (#3245) (#3246)

* Re-add sample_size to variant chart data (#3247)

* Re-add sample_size to variant chart data

* Add sample_size to international chart data too

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
# Conflicts:
#	packages/app/src/static-props/variants/get-variant-chart-data.ts

* Increase mini trend charts y axis nice resolution (#3234)

* Increase nice resolution for mini trend tiles

* Add a comment

* Remove user added query parameters from HTML (#3179)

* Add ARG_NEXT_PUBLIC_HOT_RELOAD_LOKALIZE to Dockerfile

* Ensure zip is available in JSON folder (#3219)

* Remove next_public_locale

* Ensure hostname is reset to detect language (#3242)

* Fix i18n domains (#3258)

* Fix config

* Fix next_public_locale

* Fix locale sanity issues (#3272)

* Remove domains config

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Allow larger y axis for vaccine chart (#3312)

# Conflicts:
#	packages/app/src/components/time-series-chart/time-series-chart.tsx

* Disable Next Link prefetching (#3314)

* Filter Behavior Chart Select Options (#3326)

* Fix empty/null sate choropleth on behavior page (#3329)

* Remove weeknumbers vaccine supplier chart (#3262)

* Add behavior changes to master

* Remove the accidentally added lokalize files

* Change to isDefined

* Add key mutations

* Clean key mutations file

* Add migration that fixes a document type and upgrade sanity to latest version (#3376)

* Add migration that fixes a document type and upgrade sanityto latest version

* Fix sanity import

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

* Remove custom sorting from the verantwoording page since we need to respect the incoming document order (#3377)

Set the group name as the subtitle for cijferverantwoording items, so that the order and grouping becomes apparent in Sanity studio

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

* Add variant name in area graph (#3378)

* WIP

* Fix typing

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

* Move variants chart to different folder (#3379)

* Filter out unused categories on overview page for the menu (#3382)

* Filter out unused categories

* Typo

* One liner

* Hotfix: difference displayed as percentage (#3390)

* Check if number is absolute for difference in %

* Do not show percentage after textual difference

* Fix feature flag schema support (#3453)

* Fix build errors

* Fix missing sewer data rounding

* Make vaccine coverage bits optional

* Add features flags to common package
Make the json validator disable the metrics for disabled feature flags

* Check feature flag datascopes

* Add missing export

* Fix validate features import

* Fix feature flag docs

* Skip the feature disabling during type generation

* Validate single won't disable features either

* Fix disbale for validate single
Re-require vaccine coverage in nl

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

* Remove validate features (#3455)

* Fix build errors

* Fix missing sewer data rounding

* Remove validate features from dockerfile

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

* Fix compile error (#3458)

* Fix build errors

* Fix missing sewer data rounding

* Remove reference

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

* Fix SSR logic for feature flags that are disabled (#3460)

* Fix build errors

* Fix missing sewer data rounding

* Add loads of null checks

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

* Add colors for the entire greek alphabet (#3472)

* Fix build errors

* Fix missing sewer data rounding

* Add colors for the entire greek alphabet

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

* New variant names and countries of origin (#3474)

* Fix build errors

* Fix missing sewer data rounding

* Add variant names and countries of origin for all remaining greek letters

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

* Add variant descriptions for remaining greek alphabet (#3475)

* Fix build errors

* Fix missing sewer data rounding

* Add variant descriptions for remaining greek alphabet

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

* Create choropleth image dir and set user rights (#3480)

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

* Don't redirect to image, just load it and push to the browser (#3483)

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

* Add archived to sidebar and homepage quicklinks (#3478)

# Conflicts:
#	packages/cms/src/lokalize/key-mutations.csv
#	packages/common/src/types/data.ts

* Fix types

* Add array check for sewer installations during data sorting (#3509)

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

* Remove estimates from vaccination page (#3510)

* Remove estimates from stacked area and stacked bar chart on vaccination page

* Fix lint errors

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
# Conflicts:
#	packages/app/src/pages/landelijk/vaccinaties.tsx

* Use base branch to determine which texts to export

* Add MD suport vaccination choropleth tiles (#3531)

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

* Add new icons for measurements  (#3582)

* Add icons

* Add new measurement icons

* Update NL/GM sewer to daily values (#3488)

* Change sewer schemas

* Change NL level

* Fix VR sewer

* Fix typescript error

* Undo deletes in ket mutations

* Fix linting errors

* Sewer accept nulls

* More nulls

* Generate typescript

* Fix null errors

* WIP national sewer

* Remove roundings

* Bring back fe roundings

* WIP

* Finish sewer

* Toggle between date range national sewer

* Remove log

* Remove daggemiddelde check

* Sidebar and choropleth roundings (#3602)

* Enable SSR fallback again so EN GM/VR pages do not 404 anymore (#3587)

* Render both locales for vr & gm pages during build

* Restore SSR fallback & catch NotFound errors

* Remove unneeded locale

* Schema change: Add rounded properties for moving averages for IC and hospitals (#3561)

* Add rounded properties for moving averages for IC and hospitals
Generate new types based on these changes

* Add new properties to required list

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

* Remove deletions

* Remove risk level related items from the codebase (#3539)

* Delete schemas related to escalation levels

Signed-off-by: denniswork <[email protected]>

* Remove everything related to safety region risk levels

* Add rewrite

* More cleanup and remove barscale

* Update redirect

* Bring back schemas escalation levels (#3547)

* bring back schemas

* make required

* Fix reproduction number last value (#3559)

* Update reproduction number sidebar (#3564)

* Remove risk level related items

* Add vaccination coverage choropleth to Actueel pages (#3540)

* Add vaccination coverage choropleth to Actueel

* Add vaccination coverage choropleth to Actueel

* Remove previous sprint mutations

* Use props.content
# Conflicts:
#	packages/app/src/pages/actueel/veiligheidsregio/[code].tsx
#	packages/cms/src/lokalize/key-mutations.csv

* Add risk level banner for national escalation level (#3546)

* WIP

* Work in progress move files around

* Add risk level banner

* Fix spacing issue

* Github feedback
# Conflicts:
#	packages/cms/src/lokalize/key-mutations.csv

* Show the municipality name on Actueel GM pages choropleth (#3556)

# Conflicts:
#	yarn.lock

* Also parse has_one_shot label for choropleth value (#3533)

* Implement general vaccine coverage percentage formatter (#3549)

* Implement general coverage percentage formatter

* Use new general formatter for coverage percentages

* Add type comments

* Fix actueel choropleth

* Fix rest of actueel choropleth

* Add new actueel mini trends (#3543)

* Refactor mini tiles to new designs

* formatting tweaks

* Add new mini tiles to GM and VR actueel pages
Refactor some of the vaccinated label logic into separate functions/hooks

* Add lokalize keys

* Use one shot percentage as title value on VR and GM

* Fix lint error

* Add grey color to no-data text for IC tiles

* Fix merge conflicts

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
# Conflicts:
#	packages/app/src/domain/topical/mini-trend-tile.tsx
#	packages/app/src/pages/actueel/veiligheidsregio/[code].tsx
#	packages/app/src/pages/index.tsx
#	packages/cms/src/lokalize/key-mutations.csv

* Show correct hospital value on actueel (#3562)

Fix municipality name placeholder

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

* Remove differences and dates for hospital and IC in sidebar and KPIs (#3563)

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
# Conflicts:
#	packages/app/src/components/sidebar-metric/sidebar-metric.tsx
#	packages/app/src/domain/layout/nl-layout.tsx
#	packages/app/src/pages/landelijk/intensive-care-opnames.tsx
#	packages/app/src/pages/landelijk/ziekenhuis-opnames.tsx

* Update visual feedback escalation banner (#3560)

* Update line width banner escalation level (#3566)

* Update topical header to make better use of spacing (#3565)

* Don't show hover state on area series minitrends (#3572)

* Move GM/VR toggle above map on smaller screens (#3569)

* Remove 'value from' metadata from all SidebarMetrics (#3580)

* Round IC & hospital KPI values

* Make DataDrivenText component more generic (#3558)

* Pass the correct variable

* Make DataDrivenText more generic

* Add lokalize keys

* Remove difference texts

* Update variable key
# Conflicts:
#	packages/app/src/pages/actueel/gemeente/[code].tsx
#	packages/app/src/pages/actueel/veiligheidsregio/[code].tsx
#	packages/app/src/pages/index.tsx
#	packages/cms/src/lokalize/key-mutations.csv

* Display right IC & hospital values (#3636)

* Use last accurate rounded 7 day avg for all KPIs

* Show inaccurate period for actueel IC & hospital

* Add lokalize key
# Conflicts:
#	packages/app/src/pages/actueel/gemeente/[code].tsx
#	packages/app/src/pages/actueel/veiligheidsregio/[code].tsx
#	packages/app/src/pages/index.tsx
#	packages/app/src/static-props/get-data.ts
#	packages/cms/src/lokalize/key-mutations.csv

* Switch back to fully vaccinated metrics on the topical page (#3642)

# Conflicts:
#	packages/app/src/domain/topical/mini-vaccination-coverage-tile.tsx
#	packages/app/src/pages/actueel/gemeente/[code].tsx
#	packages/app/src/pages/actueel/veiligheidsregio/[code].tsx
#	packages/app/src/pages/index.tsx

* Switch the topical vaccination bars back (#3645)

# Conflicts:
#	packages/app/src/domain/topical/mini-vaccination-coverage-tile.tsx

* Remove console.log

* Add risk level options in sanity (#3596)

* Update Sanity schema

* Add query

* Connect with data

* Convert to radio buttons

* Typo

* Rename document escalation level
# Conflicts:
#	packages/app/src/pages/index.tsx
#	packages/app/src/queries/topical-page-query.ts
#	packages/cms/src/schemas/documents/pages/topical-page.ts

* Fix sanity version to 2.20.0

* Support relative URLs in rich text (#3657)

* Add sanity dependencies

* Update mini-trend-vaccination-graph

Signed-off-by: denniswork <[email protected]>

* Set back to area

* Use the correct hospital admissions key

* Add schema ventilate home for behavior rule (#3651)

* Add ventilate home as behavior rule

Signed-off-by: denniswork <[email protected]>

* Add to lookup keys

* Fix compile error but adding text

* Update schema behavior per age group

* Change icon

Co-authored-by: VWSCoronaDashboard16 <[email protected]>
# Conflicts:
#	packages/cms/src/lokalize/key-mutations.csv

* Remove hardcoded inaccurate 7-day-average days (#3675)

* Remove hardcoded inaccurate 7-day-average days

* Split trailing null values logic into 2 files
# Conflicts:
#	packages/app/src/pages/index.tsx
#	packages/app/src/static-props/get-data.ts
#	packages/app/src/utils/adjust-data-to-last-accurate-value.ts

* Add 7-day-average dates to IC & hospital tiles (#3677)

* Replace GM sidebar last value

* Remove unused import

* Fix 7-day-average period being inclusive (#3683)

# Conflicts:
#	packages/app/src/pages/landelijk/intensive-care-opnames.tsx
#	packages/app/src/pages/landelijk/ziekenhuis-opnames.tsx

* Grab PageKpi from develop

* Remove VR escalation levels schema

* Remove VR escalation levels schema and regen types

* Fix tsc errors

* Remove unused import

* Lock Node.js to v16

* Change homepage article link urls (#3736) (#3737)

Co-authored-by: A <[email protected]>
Co-authored-by: VWSCoronaDashboard14 <[email protected]>
Co-authored-by: J <[email protected]>
Co-authored-by: TK <[email protected]>
Co-authored-by: K <[email protected]>
Co-authored-by: R <[email protected]>
Co-authored-by: VWSCoronaDashboard7 <[email protected]>
Co-authored-by: VWSCoronaDashboard13 <[email protected]>
Co-authored-by: VWSCoronaDashboard1 <[email protected]>
Co-authored-by: VWSCoronaDashboard16 <[email protected]>
* Upgrade all packages

* Icons?

* Rollup releases being messy

* Latest versions

* Dedupe yarn.lock
* Migrate to yarn v2

* Dedupe packages

* Update Dockerfile for yarn@3

* Fix resolves

* Upgrade packages

* Replace deprecated package

* Replace deprecated package

* Lock @types/prompts

* Remove unused environment variables
Co-authored-by: VWSCoronaDashboard1 <[email protected]>
* Resolve alias d3-array correctly

* Resolve alias d3-array correctly

* Update workflow module caching for Yarn@2

* Update example local Docker command

* Update example local Docker command once again

* Add yarn@2 caching to sync-sanity-lokalize workflow
* Fix

* Formatting

* Remove console

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
* fix: correct pointer-events property assignment

* remove unused import
…ev' script in the app package. (#3758)

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
* Separate label for total positive tests in tooltip

* Use new label for GM and VR as well
* Start adding icon

* Add a icon to the donut chart
* reorder hospital admissions page

* Reorder GM/VR hospital admissions pages
* Make the AgeDemographicChart more generic

* Remove unused import
`yarn start` doesn't do anything. It should be `yarn sanity start` or `yarn dev`, which is the same.
* Upgrade [email protected] and reduce bundle size

* Remove test content
* Set minimum range to 10 & make it configurable

* Set minimum range of R-number to 1

* Move range to metric config & support inline chart

* Use DataScope type
* Refactor tests in @corona-dashboard/app to use uvu

* Bail early on CI

* Fix the typechecks

* Add back optimized Next.js config

* Refactor tests in @corona-dashboard/cms to use uvu

* Add back downLevelIteration in TSConfig

* Remove jest references from ESLint configs

* Check for yarn cache hit in main workflow

* Remove cache hit checks

* Remove unused module

* Remove unnecessary duplicate tsconfig

* Make common tests future-proof

* Remove unused module

* Use snapshot for strings

* Add tests for assert
VWSCoronaDashboard14 and others added 25 commits November 5, 2021 09:30
…#3788)

* Change layout based on media query

* Add comment

* Update text

* Get rid of the ids
* Add a border to the spark bars

* Remove double colors

* Last change to use the variable

* Fix sparkbar border

Fix sparkbar border

* Change again
* Run yarn-deduplicate

* Sticky sidebar and scrollbar styling

* Only apply on >md screens

* Update on hover

Co-authored-by: denniswork <[email protected]>
* Make the total vaccinations in sync with the graph last value

* Fix typescript error
* Add schema vaccine incidence

* Update incidence schema's

* Regenerate types

* hospital admissions vaccine incidence schema

* Remove NL required IC vaccine incidence key

Co-authored-by: denniswork <[email protected]>
* Page parts, first bits and pieces

* Tweaks

* More bits and pieces

* Add migration and fieldsets

* Implement general query to retrieve page parts for a given page identifier

* Add page parts to sterfte pages

* Pull article selection into getstaticprops

* Add page parts to besmettelijke-mensen and brononderzoek pages

* Add page parts to gedrag page

* Add page parts to gehandicaptenzorg pages

* Add page parts to positief-geteste-mensen and intensive-care-opnames

* Default parts to null
Add parts to gehandicaptenzorg and thuiswonende-ouderen

* Add rich text page part

* Add rich text part
Add page parts to vaccinaties and varianten

* Add remaining page parts

* Remove unused query files
Fix typecheck errors

* Implement page parts on main topical page

* Implement page parts on vr and gm actueel

* Add document actions

* Simplify query

* Some moving and refactoring
Add documentation page

* Add code example for page part query projection

* Doc tweaks

* Text tweak

* Small refactor

* Remove console

* Change menu title

* Fixes

* Add helper functions

* Add more doc info

* Renaming

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
* Update schema vaccine status

* Add 2 donut charts on the vaccination page

* Remove partial and not vaccinated and make it 1 key

* Gitub feedback
* Add AgeDemographic charts to hospital and IC admissions pages

* Apply JSON edits

* Use the real data
* Implement & replace tiny trend charts

* Change color of mini tile selector percentage bar

* Improve name

* Use getDate helper where possible

* Add 70% opacity to percentage bar

* Lower minimum range of sparkline
* Fix page parts links in query

* Remove min and max settings in article migrations
Max no longer required in partArticle document

Co-authored-by: VWSCoronaDashboard1 <[email protected]>
… IC (#3802)

* Add incidence graph to vaccinations page

* Switch incidence & pie chart around

* Fix wrong properties for intensive care incidence
Co-authored-by: VWSCoronaDashboard1 <[email protected]>
# Conflicts:
#	Dockerfile
#	packages/app/src/components/spark-bars.tsx
#	packages/app/src/domain/restrictions/restriction-icons.ts
#	packages/app/src/domain/topical/mini-tile-selector-layout.tsx
#	packages/app/src/pages/index.tsx
#	packages/app/src/pages/landelijk/intensive-care-opnames.tsx
#	packages/app/src/pages/landelijk/vaccinaties.tsx
#	packages/app/src/pages/landelijk/ziekenhuis-opnames.tsx
#	packages/cms/src/components/restriction-icon/restriction-icons.ts
#	packages/cms/src/schemas/documents/pages/topical-page.ts
#	yarn.lock
@VWSCoronaDashboard7 VWSCoronaDashboard7 merged commit d762f43 into master Nov 11, 2021
@VWSCoronaDashboard7 VWSCoronaDashboard7 deleted the release/2.33.0 branch November 11, 2021 11:10
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.

6 participants