Skip to content

fix: notify when an empty comment is confirmed - #31

Open
KEY60228 wants to merge 1 commit into
mainfrom
fix/comment-input-empty-feedback
Open

fix: notify when an empty comment is confirmed#31
KEY60228 wants to merge 1 commit into
mainfrom
fix/comment-input-empty-feedback

Conversation

@KEY60228

Copy link
Copy Markdown
Owner

Summary

Confirming the comment input with no text (e.g. clearing a comment while editing it) was silently treated as a cancel, giving no hint about whether anything was saved. Now a warning ("Empty comment discarded.") is emitted so the outcome is visible; the cancel semantics are unchanged.

Test plan

Code-reviewed branch addition; behavior unchanged except the added vim.notify on the empty-text path.

🤖 Generated with Claude Code

Confirming the comment input with no text (e.g. clearing a comment
while editing) was silently treated as a cancel, giving no hint about
whether anything was saved. Emit a warning so the outcome is visible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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