feat(events): align Update modal with Create; extract shared form fields

- ux: close Update modal immediately on Save; run API in background
- fix: remove stale single-instance when converting to repeating
- test: adjust EventDisplay expectations
- refactor: share form via components/Event/EventFormFields (used by Create/Update)
This commit is contained in:
lenhanphung
2025-10-06 17:28:49 +07:00
committed by Benoit TELLIER
parent 770257c03b
commit 42c953ccf9
9 changed files with 2129 additions and 731 deletions
+2
View File
@@ -12,7 +12,9 @@ import ICAL from "ical.js";
export async function getEvent(event: CalendarEvent, isMaster?: boolean) {
const response = await api.get(`dav${event.URL}`);
const eventData = await response.text();
const eventical = ICAL.parse(eventData);
const eventjson = parseCalendarEvent(
eventical[2][1][1],
event.color ?? "",