Skip to content

Distinguish PR previews with a DEV PREVIEW title and banner - #15

Merged
jonabur merged 1 commit into
mainfrom
feat/preview-banner
Oct 9, 2026
Merged

jonabur merged 1 commit into
mainfrom
feat/preview-banner

Conversation

@jonabur

@jonabur jonabur commented Oct 9, 2026

Copy link
Copy Markdown
Member

PR previews previously looked like the production dashboard, making them easy to confuse during review. The publisher now adds a [DEV PREVIEW] PR #<number> browser title, a sticky amber banner with links to the PR and main dashboard, a brown header, and a warm background to both preview dashboards and demos.

Apply the appearance from the trusted publisher to every authorized preview, including retained builds whose artifacts have expired. Reconciliation is idempotent, and production files remain unchanged. The banner is a visual cue; the existing OWNERS authorization policy is unchanged.

Validation:

  • Full python3 -m tests.check, including Chrome checks for the title, banner, links, different header color, persistence while scrolling, and layout at 390px width.
  • Publisher regressions cover repeated decoration, retained artifacts, content preservation, and unchanged production bytes.
  • Local screenshot review and read-only rehearsal against actual stored Pages previews.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Preview closed

This PR is closed and its preview has been removed.

@jonabur
jonabur merged commit f03bf36 into main Oct 9, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
github-pages — ed06e78d Deployed Oct 9, 2026 by jonabur via publish #16
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.

1 participant