From b8035a7bc86dfb40af66f80e0564a41b8c6f7ba8 Mon Sep 17 00:00:00 2001 From: soryu Date: Thu, 15 Jan 2026 00:05:20 +0000 Subject: feat(listen): add transcript analysis UI panel Add UI integration for the transcript analysis feature: - Add TranscriptSaved WebSocket message type to notify client when transcript is saved - Create TranscriptAnalysisPanel component to display analysis results - Shows requirements grouped by category, decisions, action items with priorities - Displays speaker statistics and suggested contract name/description - Provides buttons to create new contract or add to existing contract - Update Listen page to show analysis panel as modal overlay after recording stops - Update useWebSocket hook to handle transcriptSaved message Co-Authored-By: Claude Opus 4.5 --- makima/src/server/messages.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'makima/src/server/messages.rs') diff --git a/makima/src/server/messages.rs b/makima/src/server/messages.rs index 401afb0..9c50334 100644 --- a/makima/src/server/messages.rs +++ b/makima/src/server/messages.rs @@ -73,6 +73,13 @@ pub enum ServerMessage { Ready { session_id: String }, /// Transcription result Transcript(TranscriptMessage), + /// Transcript has been saved to a file + TranscriptSaved { + /// The ID of the file where the transcript was saved + file_id: String, + /// The ID of the contract the file belongs to + contract_id: String, + }, /// Error occurred during processing Error { code: String, message: String }, /// Session has been stopped -- cgit v1.2.3