feat(schedule): due date editing, notes Save/Edit, and notes persistence fix - #111
Merged
Conversation
Clicking × on the due date chip clears dueDate and the time slot, moving the task back into the Unscheduled tasks list and closing the edit panel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
dueDate+ time slot, moves task back to Unscheduled list<input type="date">so the date can be changed directly in the panel; × button still unschedulesTimeBlock.notestoTask.notes;updateTaskwas rebuilding the linkedTimeBlockfrom scratch on every category/title/time change, silently wiping any saved notesRoot cause (notes wipe)
updateTaskin the store reconstructs the linkedTimeBlockat lines 1118–1131 with an explicit field list that never includednotes. Any edit to category, description, due date, or times would overwrite the block — and notes — without warning.Taskupdates use{ ...current, ...updates }, so fields absent fromupdatesare always preserved.Test plan
🤖 Generated with Claude Code