From 1b2cae5ff848c17dca6010544ba0f3426fdbf310 Mon Sep 17 00:00:00 2001 From: Vince Broz Date: Tue, 6 Dec 2022 07:06:59 -0500 Subject: [PATCH] Fix up changelog and add entry in alerts section for #1421 (#1678) The calculator changelog formatting was not showing up correctly, and there was no entry in the alerts section for the covid19-projections.com update. --- src/locales/en.json | 3 ++- src/pages/Calculator.tsx | 12 ++++++++++++ src/posts/paper/99-changelog.ts | 6 +++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 8f56b70c1d..69b7ca434d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -33,7 +33,8 @@ "delta_numbers": "<0>July 26th, 2021: Updated for the Delta variant. Risks have increased substantially, including for vaccinated people. <2>Technical details here.", "full_changelog": "see all updates…", "omicron_numbers": "<0>January 4th, 2022: Updated for the Omicron variant. Vaccines without boosters are much less effective than before (but still prevent serious or fatal illness). <2>Technical details here.", - "sputnik_added": "<0>April 10th, 2021: Added the Sputnik V vaccine to the calculator. Learn more about our calculation of its efficacy <2>here." + "sputnik_added": "<0>April 10th, 2021: Added the Sputnik V vaccine to the calculator. Learn more about our calculation of its efficacy <2>here.", + "under_reporting_constants_changed": "<0>December 5th, 2022: Updated constants for under-reporting factor. New numbers from <2>COVID 19 Projections March 2021 update." }, "baseline_risk": "baseline risk", "baseline_risk_short": "baseline", diff --git a/src/pages/Calculator.tsx b/src/pages/Calculator.tsx index 5f67f17423..2ea98ca783 100644 --- a/src/pages/Calculator.tsx +++ b/src/pages/Calculator.tsx @@ -221,6 +221,18 @@ export const Calculator = (): React.ReactElement => { + + + DATE_PLACEHOLDER{' '} + + HERE_PLACEHOLDER + + + DATE_PLACEHOLDER{' '} diff --git a/src/posts/paper/99-changelog.ts b/src/posts/paper/99-changelog.ts index 15be675b78..a0984308d0 100644 --- a/src/posts/paper/99-changelog.ts +++ b/src/posts/paper/99-changelog.ts @@ -11,9 +11,9 @@ const changes: Change[] = [ { date: new Date(2022, 3, 12), content: ` - * Updated constants for under-reporting factor - * New numbers from [COVID 19 Projections](https://covid19-projections.com/estimating-true-infections-revisited/) March 2021 update. - `, +* Updated constants for under-reporting factor + * New numbers from [COVID 19 Projections](https://covid19-projections.com/estimating-true-infections-revisited/) March 2021 update. + `, }, { date: new Date(2022, 0, 4),