fix(render): footer leads with siteLabel before footerNote#8
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.comAfter:
prflio.com · Anthropic budget: $0.00 of $25.00 this monthThe 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