Skip to content

Feature/pages api update for theme subtheme - #3343

Draft
manubinary wants to merge 294 commits into
CDD-3451-BE-Make-sure-all-6-permission-fields-get-passed-with-every-charts-API-callfrom
feature/pages-api-update-for-theme-subtheme
Draft

manubinary wants to merge 294 commits into
CDD-3451-BE-Make-sure-all-6-permission-fields-get-passed-with-every-charts-API-callfrom
feature/pages-api-update-for-theme-subtheme

Conversation

@manubinary

@manubinary manubinary commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Description

This PR includes the following:
The Pages API is returning the theme and sub_theme for the page. The unit tests have not been updated yet, and testing is still in progress.
-

Fixes #CDD-<ISSUE_ID>


Type of change

Please select the options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Tech debt item (this is focused solely on addressing any relevant technical debt)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests at the right levels to prove my change is effective
  • I have added screenshots or screen grabs where appropriate
  • I have added docstrings in the correct style (google)

luketowell and others added 30 commits March 24, 2026 14:31
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
- [Commits](theskumar/python-dotenv@v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-version: 1.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
… and update to subthemes to handle querying db
dandammann and others added 27 commits June 10, 2026 19:46
…opying the most recent wagtail.fields.StreamField and inserting theme and sub_theme into it)
…e_topic_and_metric_id_by_name() and get_geography_type_id_and_code_by_name() so that any inconsistent combination is denied access
…ission-fields-get-passed-with-every-charts-API-call' into CDD-3451-BE-Make-sure-all-6-permission-fields-get-passed-with-every-charts-API-call
…s-get-passed-with-every-charts-API-call

# Conflicts:
#	common/auth/permissions.py
#	metrics/data/managers/core_models/geography.py
#	metrics/data/managers/core_models/topic.py
#	metrics/domain/models/charts/common.py
#	metrics/domain/models/headline.py
#	tests/integration/metrics/data/managers/core_models/test_geography.py
#	tests/integration/metrics/data/managers/core_models/test_geography_types.py
#	tests/integration/metrics/data/managers/core_models/test_metric.py
#	tests/integration/metrics/data/managers/core_models/test_topic.py
#	tests/unit/common/auth/test_permissions.py
#	tests/unit/metrics/interfaces/plots/test_access.py
…fields & the new strict permission name-to-id requirements
…d-with-every-charts-API-call' of https://github.com/UKHSA-Internal/data-dashboard-api into CDD-3451-BE-Make-sure-all-6-permission-fields-get-passed-with-every-charts-API-call
…d-with-every-charts-API-call' of https://github.com/UKHSA-Internal/data-dashboard-api into CDD-3451-BE-Make-sure-all-6-permission-fields-get-passed-with-every-charts-API-call
…d-with-every-charts-API-call' of https://github.com/UKHSA-Internal/data-dashboard-api into CDD-3451-BE-Make-sure-all-6-permission-fields-get-passed-with-every-charts-API-call
Pages API updated for theme and subtheme
@manubinary
manubinary requested a review from a team as a code owner September 11, 2026 11:09
@sonarqubecloud

Copy link
Copy Markdown

@manubinary
manubinary marked this pull request as draft September 11, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.