Skip to content

Recognise pre-1.0 template About pages, and hide the upgrade offer once done - #64

Merged
juancobo merged 1 commit into
mainfrom
fix/about-pre-1.0
Oct 16, 2026
Merged

juancobo merged 1 commit into
mainfrom
fix/about-pre-1.0

Conversation

@juancobo

Copy link
Copy Markdown
Member

A site created before v1.0.0 that kept the template's About page now gets the Publish page's suggestion to make it its own, and imports no longer count that text as the author's. The Upgrade Telar page no longer says a newer version is available beside Upgrade complete. No D1 migrations, no new strings.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 22:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are narrowly scoped, the fixture hashes match, and no blocking issues remain.

No open issues 🎉

What changed in this PR

Extends template About-page recognition to pre-1.0 sites and removes the upgrade offer after completion.

Changes:

  • Adds three historical About-page hashes and fixtures.
  • Hides the newer-version subtitle when upgrading finishes.
  • Adds regression tests for both behaviors.
File Description
tests/​upgrade-sheet-flow-page.test.tsx Tests subtitle removal after upgrade completion.
tests/​fixtures/​pages/​telar-pre-1.0/​NOTES.md Documents historical fixture provenance.
tests/​fixtures/​pages/​telar-pre-1.0/​about-v0.9.1-beta.md Adds the v0.9.1 template fixture.
tests/​fixtures/​pages/​telar-pre-1.0/​about-v0.9.0-beta.md Adds the v0.9.0 template fixture.
tests/​fixtures/​pages/​telar-pre-1.0/​about-v0.6.0-beta.md Adds the v0.6.0 template fixture.
tests/​about-page-suggestion.test.ts Tests recognition of historical About pages.
app/​routes/​_app.upgrade.tsx Hides the subtitle in the completed stage.
app/​lib/​template-content.server.ts Registers historical template-body hashes.

Review effort: Balanced

@juancobo
juancobo merged commit de0a472 into main Oct 16, 2026
3 checks passed
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