Skip to content

feat: editable teasers, and subscribe and tip links on public pages - #12

Draft
tee8z wants to merge 3 commits into
masterfrom
feat/edit-teaser
Draft

tee8z wants to merge 3 commits into
masterfrom
feat/edit-teaser

Conversation

@tee8z

@tee8z tee8z commented Oct 3, 2026

Copy link
Copy Markdown
Owner

The teaser's post text was read-only, so the generated title and description were the only text that could be shared to Substack.

  • The sharing page's post text is an editable field with Save text. The first line is the title, which Substack uses as the headline; the rest is the summary.
  • An edit is validated, never clipped: text that no longer fits one 280-character X post with its link is refused and nothing changes.
  • Only an enabled Owner with a fresh session can save, and each save is audited and idempotent like the other sharing actions.
  • The article link field is shown at full width.

Validation: new unit and page tests cover the parse (first line, CRLF, blank), refusal of oversized and empty text, an exact retry, and an unknown article. This branch was not compiled locally; CI is the first build.

tee8z added 2 commits October 3, 2026 16:50
The sharing page's post text is now an editable field with a Save
button. The first line is the title, which Substack uses as the
headline, and the rest is the summary. Text that no longer fits one X
post with its link is refused rather than clipped. The article link is
shown at full width.
Public pages had no link to newsletter signup, and the tip link appeared
only under articles. The home page and every article now end with one
row of reader actions: Subscribe, and the tip link when a recipient is
active. The row reuses the existing muted tip styling, so the frontend
bundle and site identity are unchanged; the actions are presentation.

Without a configured email provider the signup route was missing. It now
answers with a page that offers the RSS feed.
@tee8z tee8z changed the title feat(sharing): edit a teaser's post text before sharing it feat: editable teasers, and subscribe and tip links on public pages Oct 3, 2026

This branch has not been deployed

No deployments
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