Feature/pages api update for theme subtheme - #3343
Draft
manubinary wants to merge 294 commits into
Draft
manubinary wants to merge 294 commits into
manubinary wants to merge 294 commits into
Conversation
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>
…he metrics interface.
… and update to subthemes to handle querying db
…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
…s-get-passed-with-every-charts-API-call
…s-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
…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
marked this pull request as draft
September 11, 2026 11:10
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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.
Checklist: