Skip to content

Print sizing fix + auto-merge workflow for claude/* branches#3

Merged
jon-tidd merged 2 commits into
mainfrom
claude/reproduce-visual-flows-QS0Mn
May 19, 2026
Merged

Print sizing fix + auto-merge workflow for claude/* branches#3
jon-tidd merged 2 commits into
mainfrom
claude/reproduce-visual-flows-QS0Mn

Conversation

@jon-tidd
Copy link
Copy Markdown
Owner

Summary

Two commits left over on claude/reproduce-visual-flows-QS0Mn after PR #2 merged:

  • c18962e — Fix print sizing to fill full page, add virtue label under title. The print/PDF output was constrained to ~6×5in on letter paper because of a fixed 650px max-width with 40px padding. Replaced with proper @page rules (0.75in/1in margins) and a full-width body. Also adds a virtue name badge and short description under the story title both on screen and in print.
  • 24ff2a9 — Add GitHub Action that opens and auto-merges a PR for every push to a claude/** branch, so Claude Code pushes land on main (and therefore Vercel) without manual merging.

Heads-up on the auto-merge workflow

Worth eyes-on before merging. As written, any push to a claude/* branch will be merged into main with gh pr merge --auto. The --auto flag waits for required status checks before merging — so the safety here depends on whether main has branch protection rules requiring CI to pass. If main has no required checks, the merge happens immediately. Confirm branch protection is set up the way you want before relying on this.

Test plan

  • Print a story from the app on letter paper — content should fill the page with 0.75in/1in margins, not float in a ~6×5 box.
  • On-screen story view shows the virtue badge + description under the title.
  • After merge, push a trivial change to a new claude/* branch and verify the workflow opens and auto-merges a PR (subject to branch protection).

🤖 Generated with Claude Code

claude added 2 commits May 7, 2026 00:01
Print/PDF output was constrained to max-width 650px with 40px padding,
causing stories to print at ~6x5 on 8.5x11 paper. Now uses @page rules
with proper margins (0.75in/1in) and full-width body so content fills
the page naturally.

Also adds virtue name badge and description under the story title in
both the on-screen display and print output so readers know what virtue
the story is practicing.

https://claude.ai/code/session_01JTtoDiSYiPrcPrnACCB7wP
When Claude Code pushes to a claude/ branch, this workflow
automatically creates a PR and merges it into main, so changes
deploy to Vercel without manual merging.

https://claude.ai/code/session_01JTtoDiSYiPrcPrnACCB7wP
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

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

Project Deployment Actions Updated (UTC)
virtueforge Ready Ready Preview, Comment May 19, 2026 2:46am

@jon-tidd jon-tidd merged commit 642c819 into main May 19, 2026
3 checks passed
@jon-tidd jon-tidd deleted the claude/reproduce-visual-flows-QS0Mn branch May 19, 2026 02:48
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