Skip to content

Standardize History pages#5632

Draft
KludgeKML wants to merge 13 commits into
mainfrom
history-deflexible
Draft

Standardize History pages#5632
KludgeKML wants to merge 13 commits into
mainfrom
history-deflexible

Conversation

@KludgeKML

Copy link
Copy Markdown
Contributor

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Replaces FlexiblePage version of History pages with standardized version (with its own controller, a presenter to contain presentational methods previously in the model, and its own view based on the header_sidebar_content layout).

Why

Jira card: https://gov-uk.atlassian.net/browse/[CARD-ID]

Visual changes

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-5632 June 25, 2026 14:52 Inactive
KludgeKML added 8 commits July 7, 2026 10:40
- This allows derived presenters to get a standard set of options they can expose as `breadcrumb_option`, overriding the breadcrumbs value if necessary (or if they just need home, they can delegate to the default method)
- Adding a standard content_presenter method (which will return the value of
  @content_presenter or a default content presenter) allows us to devolve certain
  view choices to a presenter but also override it easily for specific cases.
@KludgeKML KludgeKML force-pushed the history-deflexible branch from 6bea926 to 397c0f7 Compare July 7, 2026 09:40
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-5632 July 7, 2026 09:40 Inactive
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.

2 participants