From 723c8a5436d07b2d2a17df282e65ccb31f6c3395 Mon Sep 17 00:00:00 2001 From: Alex Kroman Date: Tue, 27 Jan 2026 13:23:15 -0800 Subject: [PATCH 1/9] chore: improve text area selection --- src/renderer/components/RecordingView.tsx | 49 +++++++++------------- src/renderer/components/RecordingsList.tsx | 11 ----- 2 files changed, 20 insertions(+), 40 deletions(-) diff --git a/src/renderer/components/RecordingView.tsx b/src/renderer/components/RecordingView.tsx index 855a277..907e5fe 100644 --- a/src/renderer/components/RecordingView.tsx +++ b/src/renderer/components/RecordingView.tsx @@ -44,7 +44,7 @@ export const RecordingView: React.FC = ({ const summaryRef = useRef(null); const hasAutoStarted = useRef(false); - const transcriptRef = useRef(null); + const transcriptRef = useRef(null); const isUserScrolled = useRef(false); const lastTranscriptLength = useRef(0); const audioRef = useRef(null); @@ -316,37 +316,28 @@ export const RecordingView: React.FC = ({

Transcript

-
-            {isNewRecording ? (
-              <>
-                {(transcript || '').trim() || (
-                  
-                    {recordingId
-                      ? ''
-                      : 'Click "Record" to begin transcribing audio from your microphone and system'}
-                  
-                )}
-                {partialTranscript && (
-                  
-                    {(transcript || '').trim()
-                      ? ` ${partialTranscript}`
-                      : partialTranscript}
-                  
-                )}
-              
-            ) : (
-              (currentRecording?.transcript ?? (
-                
-                  No transcript available for this recording
-                
-              ))
-            )}
-          
+ readOnly + value={ + isNewRecording + ? (transcript || '').trim() + + (partialTranscript + ? ((transcript || '').trim() ? ' ' : '') + partialTranscript + : '') + : (currentRecording?.transcript ?? '') + } + placeholder={ + isNewRecording + ? recordingId + ? '' + : 'Click "Record" to begin transcribing audio from your microphone and system' + : 'No transcript available for this recording' + } + />
diff --git a/src/renderer/components/RecordingsList.tsx b/src/renderer/components/RecordingsList.tsx index 061ea09..80e191f 100644 --- a/src/renderer/components/RecordingsList.tsx +++ b/src/renderer/components/RecordingsList.tsx @@ -196,17 +196,6 @@ export const RecordingsList: React.FC = ({ > New Recording -
+
+

Notes

+