Skip to content

Add thread draft publishing#6

Open
Harrison-F wants to merge 3 commits into
dmnyc:mainfrom
Harrison-F:feat/thread-drafts
Open

Add thread draft publishing#6
Harrison-F wants to merge 3 commits into
dmnyc:mainfrom
Harrison-F:feat/thread-drafts

Conversation

@Harrison-F
Copy link
Copy Markdown

@Harrison-F Harrison-F commented May 13, 2026

Summary

  • adds thread mode for kind 1 drafts/submissions using a ghostr-thread marker and threadPosts payload
  • publishes submitted threads sequentially with NIP-10 root/reply tags and strips Ghostr-only tags
  • adds publisher review/edit support for thread cards
  • centralizes thread split/join helpers in src/lib/threadUtils.ts
  • avoids pre-splitting regular notes that merely contain --- when switching into thread mode
  • surfaces sequential publish progress and partial-publish failures in both submission publishing and direct publisher thread publishing
  • keeps delegate submission notes visible to reviewers as private review metadata

Feedback addressed

  • Mid-thread failure now reports how many posts went live before the error.
  • Publish buttons show Publishing post N of M… during sequential publishing.
  • Duplicate thread delimiter helpers were extracted into a shared util.
  • Redundant re-splitting in PublishDialog was removed.
  • Existing non-thread notes are no longer auto-split on thread mode switch; explicit split remains available through the split action.
  • Direct publisher thread publishing now has the same partial-failure context as submission publishing.
  • Delegate notes are restored in ReviewPane.

Test Plan

  • git diff --check origin/main...HEAD
  • npm run build

Notes

Rollback is not possible once a Nostr note is published, so partial thread failures now report which prefix of posts is already live.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

@Harrison-F is attempting to deploy a commit to the The Daniel's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Harrison-F Harrison-F changed the title Add thread draft submission workflow Add thread draft publishing May 13, 2026
@Harrison-F Harrison-F force-pushed the feat/thread-drafts branch from f2c14f6 to 1549878 Compare May 14, 2026 03:58
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