Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
de06239
CDD-3451: add theme and sub_theme DB storage to a CMS page body (by c…
dandammann Jun 30, 2026
47a739f
CDD-3451: add theme and sub_theme drop-downs to the CMS page body
dandammann Jun 30, 2026
8f9564e
CDD-3451: refactor get_id_by_name() functions into get_theme_sub_them…
dandammann Jun 30, 2026
e5c7df6
CDD 3174 - Downloads v2 endpoint (#3221)
dandammann Jun 26, 2026
e8e6960
CDD-3451: amend tests to match the new mandatory theme and sub_theme …
dandammann Jun 30, 2026
6998429
CDD-3451: get test coverage up
dandammann Jun 30, 2026
bc024fa
CDD-3451: remove unused import
dandammann Jun 30, 2026
dc561f4
CDD-3451: get test coverage up to 100%
dandammann Jul 1, 2026
6b7023c
CDD-3451: make geography and geography_type mandatory across those 8 …
dandammann Jul 1, 2026
2ec2403
PR comments
itsthatianguy Jul 10, 2026
09bf75a
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
sahmed06 Jul 20, 2026
bcad387
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Aug 4, 2026
64690d9
Updating migration order following merge with main
itsthatianguy Aug 4, 2026
60112db
Fixing tests
itsthatianguy Aug 5, 2026
e613f0d
Migrations to backfill theme and sub_theme, updates to bootstrap data
itsthatianguy Aug 5, 2026
c81abd5
Lint fix
itsthatianguy Aug 5, 2026
0c6ffc0
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Aug 7, 2026
a516548
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Aug 12, 2026
d6623e8
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Aug 17, 2026
21c0753
Fixing up migrations
itsthatianguy Aug 17, 2026
c409c01
Addressing PR comments
itsthatianguy Aug 17, 2026
3826fdc
Linting
itsthatianguy Aug 17, 2026
bbf6ada
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
sahmed06 Sep 2, 2026
57692d2
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
sahmed06 Sep 3, 2026
e9f5b32
Updating backfill script to handle revisions
itsthatianguy Sep 4, 2026
cee3f7d
Formatting
itsthatianguy Sep 4, 2026
d143281
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Sep 4, 2026
b0442fd
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
sahmed06 Sep 10, 2026
37a71eb
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Sep 17, 2026
9650f0a
Removed duplicate value
itsthatianguy Sep 18, 2026
dd048cf
Merge branch 'main' into CDD-3451-BE-Make-sure-all-6-permission-field…
itsthatianguy Sep 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def create_landing_page_body_wih_page_links() -> list[dict]:
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_cases_countRollingMean",
"geography": "England",
Expand Down Expand Up @@ -65,6 +67,8 @@ def create_landing_page_body_wih_page_links() -> list[dict]:
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "Influenza",
"metric": "influenza_healthcare_ICUHDUadmissionRateByWeek",
"geography": "England",
Expand Down Expand Up @@ -95,6 +99,8 @@ def create_landing_page_body_wih_page_links() -> list[dict]:
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "RSV",
"metric": "RSV_testing_positivityByWeek",
"geography": "England",
Expand Down
62 changes: 62 additions & 0 deletions cms/dashboard/templates/cms_starting_pages/covid_19.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
{
"type": "headline_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_cases_7DayTotals",
"geography": "England",
Expand All @@ -57,6 +59,8 @@
{
"type": "trend_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_cases_7DayChange",
"geography": "England",
Expand All @@ -81,6 +85,8 @@
{
"type": "headline_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_ONSdeaths_7DayTotals",
"geography": "England",
Expand All @@ -95,6 +101,8 @@
{
"type": "trend_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_ONSdeaths_7DayChange",
"geography": "England",
Expand All @@ -119,6 +127,8 @@
{
"type": "headline_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_7DayAdmissions",
"geography": "England",
Expand All @@ -133,6 +143,8 @@
{
"type": "trend_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_7DayAdmissionsChange",
"geography": "England",
Expand All @@ -157,6 +169,8 @@
{
"type": "percentage_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_vaccines_autumn23Uptake",
"geography": "England",
Expand All @@ -180,6 +194,8 @@
{
"type": "percentage_number",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_headline_positivity_latest",
"geography": "England",
Expand Down Expand Up @@ -225,6 +241,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_cases_casesByDay",
"geography": "England",
Expand Down Expand Up @@ -268,6 +286,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_cases_countRollingMean",
"geography": "England",
Expand Down Expand Up @@ -303,6 +323,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_cases_rateRollingMean",
"geography": "England",
Expand All @@ -324,6 +346,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_cases_rateRollingMean",
"geography": "England",
Expand Down Expand Up @@ -376,6 +400,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_deaths_ONSByDay",
"geography": "England",
Expand Down Expand Up @@ -411,6 +437,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_deaths_ONSRollingMean",
"geography": "England",
Expand Down Expand Up @@ -463,6 +491,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_healthcare_admissionByDay",
"geography": "England",
Expand Down Expand Up @@ -498,6 +528,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_healthcare_occupiedBedsByDay",
"geography": "England",
Expand Down Expand Up @@ -550,6 +582,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_testing_PCRcountByDay",
"geography": "England",
Expand Down Expand Up @@ -585,6 +619,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_testing_positivity7DayRolling",
"geography": "England",
Expand Down Expand Up @@ -637,6 +673,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_spring23_dosesByDay",
"geography": "England",
Expand Down Expand Up @@ -672,6 +710,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_spring23_uptakeByDay",
"geography": "England",
Expand All @@ -693,6 +733,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_spring23_uptakeByDay",
"geography": "England",
Expand Down Expand Up @@ -736,6 +778,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_dosesByDay",
"geography": "England",
Expand Down Expand Up @@ -771,6 +815,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -792,6 +838,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -813,6 +861,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -834,6 +884,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -855,6 +907,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -876,6 +930,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -897,6 +953,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -918,6 +976,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand All @@ -939,6 +999,8 @@
{
"type": "plot",
"value": {
"theme": "infectious_disease",
"sub_theme": "respiratory",
"topic": "COVID-19",
"metric": "COVID-19_vaccinations_autumn22_uptakeByDay",
"geography": "England",
Expand Down
Loading
Loading