Skip to content

fix: an empty note is creatable -- placement is the capture - #234

Merged
alicoding merged 1 commit into
mainfrom
empty-notes
Aug 18, 2026
Merged

fix: an empty note is creatable -- placement is the capture#234
alicoding merged 1 commit into
mainfrom
empty-notes

Conversation

@alicoding

Copy link
Copy Markdown
Owner

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

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
@alicoding
alicoding enabled auto-merge (squash) August 18, 2026 13:26
@alicoding
alicoding merged commit da7e221 into main Aug 18, 2026
26 of 27 checks passed
@alicoding
alicoding deleted the empty-notes branch August 18, 2026 13:34
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