fix: an empty note is creatable -- placement is the capture - #234
Merged
Conversation
Blank text no longer refuses at any layer: the domain validator, the service create path, and the board's draft-commit flow all accept an empty note (Escape stays the cancel), because the place-then-type flow is the sticky convention and refusing it forced text before position. An empty sticky renders a muted placeholder until typed into; the existing blur-blank protection on an ALREADY-persisted note is unchanged. e2e pins place-empty -> placeholder -> click-select, click-commit edit -> typed text persists. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FW5GkkAG8du7tNdYLk2zSd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Live dogfood report from the beta: placing a note with no text silently discarded it, blocking the place-then-type sticky flow every canvas tool supports. Blank text now creates at every layer (domain validator, service, draft-commit — Escape remains the cancel); an empty sticky renders a muted "Empty note" placeholder until typed into via the click-commit edit. Blur-blank protection on existing notes unchanged. Regression pinned in Go (domain + service) and e2e (place-empty → placeholder → type-later round trip).
🤖 Generated with Claude Code
https://claude.ai/code/session_01FW5GkkAG8du7tNdYLk2zSd