Skip to content

PPHA 516: Pilot Give Feedback phase banner#361

Merged
stephhou merged 15 commits intomainfrom
PPHA-516-pilot-give-feedback
Mar 16, 2026
Merged

PPHA 516: Pilot Give Feedback phase banner#361
stephhou merged 15 commits intomainfrom
PPHA-516-pilot-give-feedback

Conversation

@stephhou
Copy link
Contributor

@stephhou stephhou commented Mar 12, 2026

What is the change?

  • Created a phase banner jinja template
  • Added phase banner to the header in layout.jinja

Why are we making this change?

To indicate to users that this service is in Pilot phase at the top of the page using a GDS style phase banner.

image

@stephhou stephhou changed the title Feat: added phase banner to layout.jinja PPHA 516: Pilot Give Feedback phase banner Mar 12, 2026
@stephhou stephhou marked this pull request as ready for review March 16, 2026 14:36
Copilot AI review requested due to automatic review settings March 16, 2026 14:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GDS/NHS.UK-style “Pilot” phase banner across the site to prompt users for feedback.

Changes:

  • Added a new reusable phase_banner.jinja template for the Pilot phase banner.
  • Included the phase banner in the global layout header.
  • Added Sass styling for the phase banner and updated static-page BDD checks to assert its presence.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
lung_cancer_screening/core/jinja2/phase_banner.jinja New Jinja partial that renders the Pilot phase banner and feedback link
lung_cancer_screening/core/jinja2/layout.jinja Includes the phase banner in the shared layout header
lung_cancer_screening/assets/sass/main.scss Forwards the new phase banner component Sass
lung_cancer_screening/assets/sass/components/_phase_banner.scss Adds custom styling for the phase banner layout
features/steps/page_assertion_steps.py Adds Behave/Playwright steps to assert phase banner content and feedback link
features/static.feature Extends static-page scenarios to check for the phase banner and feedback link
Comments suppressed due to low confidence (1)

lung_cancer_screening/assets/sass/main.scss:9

  • main.scss is missing a semicolon after @forward "components/numbered_lists". This will cause Sass compilation to fail because @forward statements must be terminated with ; (and the new @forward should follow the same convention).
@forward 'components/phase_banner';
@forward "components/numbered_lists"


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@stephhou stephhou enabled auto-merge March 16, 2026 16:12
@stephhou stephhou merged commit 8965110 into main Mar 16, 2026
25 checks passed
@stephhou stephhou deleted the PPHA-516-pilot-give-feedback branch March 16, 2026 16:14
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.

3 participants