From cc47c6ae1e576b5306942df65c5b2f8493e01298 Mon Sep 17 00:00:00 2001 From: Ian Soares Date: Fri, 11 Sep 2026 14:57:23 -0300 Subject: [PATCH] fix(availability): add manual sync-from-calendar button in the edit sidebar Editing an already-submitted availability response never re-ran the Google Calendar auto-fill merge, only responding for the first time did. setAvailabilityAutomatically() was gated behind !userHasResponded in Event.vue and ScheduleOverlap.vue, so calendar events added after your first response never showed up in the availability grid unless you deleted your response and recreated it from scratch. This adds a button to explicitly re-run that merge while editing, without touching the existing automatic guards. --- .../schedule_overlap/ScheduleOverlap.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/frontend/src/components/schedule_overlap/ScheduleOverlap.vue b/frontend/src/components/schedule_overlap/ScheduleOverlap.vue index 1e0280820..98e5c07fe 100644 --- a/frontend/src/components/schedule_overlap/ScheduleOverlap.vue +++ b/frontend/src/components/schedule_overlap/ScheduleOverlap.vue @@ -674,6 +674,23 @@ " > + + mdi-calendar-sync + Sync from calendar + +