From 3cd267f737a92f52be230b0242358b26197eba24 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Mon, 6 Jul 2026 15:10:58 -0500 Subject: [PATCH] feat(meetings): add renameMeeting; refresh the list after attach/rename attachEvent and renameMeeting can both change a meeting's title now, so both refresh the list (not just the selected-detail view) to keep the sidebar in sync. --- src/lib/stores/meetings.svelte.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/stores/meetings.svelte.ts b/src/lib/stores/meetings.svelte.ts index a2090b7..9bbcf86 100644 --- a/src/lib/stores/meetings.svelte.ts +++ b/src/lib/stores/meetings.svelte.ts @@ -224,7 +224,17 @@ class MeetingsStore { /** Link a recording to a calendar event (T6.3/T6.6, FR-CAL-2/4). */ async attachEvent(id: MeetingId, eventId: string) { await api.attachMeetingToEvent(id, eventId); + // Attaching mirrors the event's subject onto the title server-side + // (FR-CAL-2) — refresh the list too, not just the detail view. if (this.selectedId === id) await this.select(id); + await this.load(); + } + + /** Manual rename (T2.2) — recordings otherwise default to "Untitled meeting". */ + async renameMeeting(id: MeetingId, title: string) { + await api.renameMeeting(id, title); + if (this.selectedId === id) await this.select(id); + await this.load(); } /** Free-text speaker rename (T4.4, FR-SPK-2) — the "add new name" escape