fix(recordings): stop faking duration from file size + render edited content in search
The voice_recordings table has no duration column, but the backend aliased duration_bytes = size_bytes (file size in bytes) and RecordingCard divided it by 60 as if it were seconds — a 3MB MP3 rendered as a nonsensical '55924:3' fake timestamp. Drop the fabricated field and show real file size instead. Also render edited_content fallback in the analysis search results for consistency with message cards/detail.
This commit is contained in:
@@ -8,8 +8,6 @@ export interface VoiceRecording {
|
||||
channel_name?: string | null;
|
||||
filename: string;
|
||||
size_bytes: number;
|
||||
/** Present on REST rows; absent on WS voice_recording_uploaded events */
|
||||
duration_bytes?: number | null;
|
||||
download_url?: string | null;
|
||||
upload_status: string;
|
||||
upload_error?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user