Skip to content

fix(render): footer leads with siteLabel before footerNote#8

Merged
mattdecrevel merged 3 commits into
mainfrom
claude/footer-site-first
Jun 1, 2026
Merged

fix(render): footer leads with siteLabel before footerNote#8
mattdecrevel merged 3 commits into
mainfrom
claude/footer-site-first

Conversation

@mattdecrevel

Copy link
Copy Markdown
Owner

Small tweak: the context footer renders the site URL first, then the optional footerNote (typically the Anthropic budget line).

Before: Anthropic budget: $0.00 of $25.00 this month · prflio.com
After: prflio.com · Anthropic budget: $0.00 of $25.00 this month

The site URL is the 'where am I' anchor and reads more naturally first. Existing assertions use .toContain, so they still pass; a positive ordering test was added.

🤖 Generated with Claude Code

Reorders the context footer from '<footerNote> · <siteLabel>' to
'<siteLabel> · <footerNote>'. The site URL is the 'where am I'
anchor for the reader; the footerNote (e.g. 'Anthropic budget: $X
of $Y this month') is secondary detail that trails it.

Existing tests use .toContain so they still pass. Adds a positive
ordering test that asserts siteLabel appears before footerNote.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
loop Error Error Jun 1, 2026 2:47pm

Request Review

The error renderer printed the message in the section AND the full stack as
a code block; since a JS stack's first line is `Error: <message>`, the text
duplicated. Now the section leads with the message and the code block carries
only the call frames. Route + source move from a middle meta line into the
footer next to the site: `site · route · source` (via richMessage footerExtra).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Preview/branch deploys don't have DATABASE_URL — production owns the
only DB. Without this guard, every PR's preview deploy fails the build
on 'No DATABASE_URL', even when the PR has nothing to do with the DB
(see e.g. claude/footer-site-first). Skips cleanly when VERCEL_ENV is
set to anything other than 'production', so 'next build' still runs and
the preview URL is browseable for visual review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mattdecrevel mattdecrevel merged commit 77dbf72 into main Jun 1, 2026
2 of 3 checks passed
@mattdecrevel mattdecrevel deleted the claude/footer-site-first branch June 1, 2026 14:47
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