Skip to content

Add save draft button to compose screen#203

Merged
barrydeen merged 1 commit intomainfrom
feat/compose-save-draft-button
Mar 10, 2026
Merged

Add save draft button to compose screen#203
barrydeen merged 1 commit intomainfrom
feat/compose-save-draft-button

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Adds a "Save draft" text button on the right side of the compose toolbar, opposite the existing media/NSFW/PoW icons
  • Button appears only when the user has typed content, and triggers the same NIP-37 draft save that happens automatically on back navigation
  • Makes draft saving more discoverable and explicit for users

Test plan

  • Open compose screen, verify no "Save draft" button when text field is empty
  • Type some content, verify "Save draft" button appears on the right
  • Tap "Save draft", verify it saves and navigates back
  • Open drafts list, verify the saved draft appears

Adds a "Save draft" text button on the right side of the compose toolbar
(opposite the media/nsfw/pow icons) that saves the current note as a
NIP-37 draft and navigates back, making the draft-saving action more
discoverable to users.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@barrydeen barrydeen merged commit 4820179 into main Mar 10, 2026
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