Skip to content

Title a one page export with the site name on the path the editor uses - #435

Merged
singhharsh1708 merged 1 commit into
mainfrom
fix/single-page-title
Oct 3, 2026
Merged

singhharsh1708 merged 1 commit into
mainfrom
fix/single-page-title

Conversation

@singhharsh1708

Copy link
Copy Markdown
Owner

The fix in #434 only covered half the paths in, and the half nobody uses.

An export built from sections stopped saying "Home" in the browser tab. The editor does not send sections; it sends a page list whose lone page is called Home, so every export made the way people actually export still carried <title>Home</title> in the tab and in the share card. I found it by downloading a ZIP from the live editor and opening it, rather than by reading the diff I had just written.

The title is now set where the page list is final, so both paths get it, with a test for each.

vitest 717 of 717.

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
scrollcraft Ready Ready Preview Oct 3, 2026 2:06pm UTC

@singhharsh1708
singhharsh1708 merged commit 1da17e3 into main Oct 3, 2026
3 checks passed
@singhharsh1708
singhharsh1708 deleted the fix/single-page-title branch October 3, 2026 14:06

This branch was successfully deployed

1 active deployment
Preview — b02cede3 Deployed Oct 3, 2026 by vercel[bot]
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