fix: don't lose tags typed before tapping Done #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/tag-save"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two ways an added tag appeared not to save:
TagInput only committed a tag on Add/return-key, so text still sitting in
the field was discarded when the editor closed. It now commits on blur,
which covers Done on the event screen and Start Timer on the new-timer
sheet. addTag() no-ops on an empty or duplicate draft, so submit-then-blur
can't double-add.
EventDetail also re-read the event from the API on every focus and rendered
that over the local row, so an edit still sitting in the sync queue visibly
reverted. Pending local metadata is now overlaid on the server response
while the row is dirty, and the screen flushes the queue on focus so the
server catches up.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com