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