-
Notifications
You must be signed in to change notification settings - Fork 443
Description
When a user creates a new note and immediately assigns a calendar event to it, the event association appears to be successful initially. However, the event link is lost very quickly, resulting in the note no longer being associated with the event in the UI (e.g., in the left sidebar's NotesList). This issue seems to be timing-sensitive, as navigating to another note before creating and assigning an event to a second new note prevents the problem.
Steps to Reproduce (Buggy Scenario):
Create a new note (e.g., "Note A").
Immediately open the event selector for "Note A" and assign a calendar event to it (e.g., "Event X").
Observe the NotesList in the left sidebar. "Note A" will briefly show "Event X" assigned and move to the correct date section.
Shortly after (often within a second or two, coinciding with UI updates/refreshes), "Note A" will lose its association with "Event X" and move back to the "No Date" or top section of the NotesList.
Steps to Reproduce (Working Scenario - Workaround):
Create a new note (e.g., "Note A").
Assign a calendar event to it (e.g., "Event X").
Navigate away from "Note A" to any other existing note.
Create another new note (e.g., "Note B").
Assign a calendar event to "Note B" (e.g., "Event Y").
Observe: "Note A" retains its link to "Event X", and "Note B" correctly links to "Event Y".
Expected Behavior: Once an event is assigned to a note, the association should persist reliably unless explicitly detached by the user. The note should remain in the correct date-sorted section of the NotesList.