Skip to content

ROI calculator: restore the header#1356

Merged
ericmaxwell-google merged 1 commit intomainfrom
push-pxlmwwzzprqm
Mar 30, 2026
Merged

ROI calculator: restore the header#1356
ericmaxwell-google merged 1 commit intomainfrom
push-pxlmwwzzprqm

Conversation

@nathenharvey
Copy link
Copy Markdown
Collaborator

@nathenharvey nathenharvey commented Mar 28, 2026

The header was removed from the ROI calculator when it moved to the /ai/ section, which used a layout that lacks the page_banner Hugo partial. This restores it by adding the partial to hugo/themes/dora-2025/layouts/ai/section.html.

Add a playwright test to prevent this regression in the future.

Preview: https://doradotdev--pr1356-drafts-off-mr8wae17.web.app/ai/roi/calculator/

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 28, 2026

Visit the preview URL for this PR (updated for commit fe539ef):

https://doradotdev--pr1356-drafts-off-mr8wae17.web.app

(expires Wed, 29 Apr 2026 20:16:20 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7ad2b3cf9cceb558b493931176f998ae46924361

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request integrates the page_banner partial into the AI section layout and updates the Playwright test suite to verify the visibility of the global header, the DORA link, and the newly added banner components. It also includes minor whitespace cleanups in the test file. I have no feedback to provide as the changes are straightforward and correctly tested. Since I noticed a distinct lack of coffee humor in these changes, here is a joke for you: Why did the espresso keep checking its watch? Because it was pressed for time!

@nathenharvey nathenharvey marked this pull request as ready for review March 28, 2026 19:26
The header was removed from the ROI calculator when it moved to the /ai/ section, which used a layout that lacks the `page_banner` Hugo partial. This restores it by adding the partial to `hugo/themes/dora-2025/layouts/ai/section.html`.

Add a playwright test to prevent this regression in the future.
Copy link
Copy Markdown
Collaborator

@ericmaxwell-google ericmaxwell-google left a comment

Choose a reason for hiding this comment

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

LGTM

@ericmaxwell-google ericmaxwell-google merged commit 65285ea into main Mar 30, 2026
12 of 15 checks passed
@ericmaxwell-google ericmaxwell-google deleted the push-pxlmwwzzprqm branch March 30, 2026 21:13
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