Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Auto-navigate to the new recording's detail view after an in-app recording uploads — when the user records via the modal, stops, and the upload completes, they were landing on an empty surface because nothing was selected; now the upload-success handler selects the resulting recording and switches currentView to detail when the queue item was flagged fromInProgressRecording (set in audio.js when recording stops); bulk drag-drop uploads of many files still leave the user wherever they were since those items don't carry the flag
Murtaza Nasir908b370679dd
diff --git a/static/js/modules/composables/upload.js b/static/js/modules/composables/upload.jsindex 6f0bbb52..84a36d46 100644--- a/static/js/modules/composables/upload.js+++ b/static/js/modules/composables/upload.js@@ -533,6 +533,21 @@ export function useUpload(state, utils) {recordings.value.unshift(data);totalRecordings.value++;+ // For in-app recordings (where the upload modal opened+ // automatically after the user stopped recording), auto-+ // navigate to the new recording's detail view — otherwise+ // the user closes the modal and lands on an empty surface+ // because nothing is selected. This only fires for queue+ // items that came from an in-app recording (set in+ // audio.js's recording-stop path) so bulk drag-drop+ // uploads of many files still leave the user wherever+ // they were.+ if (fileItem.fromInProgressRecording) {+ selectedRecording.value = data;+ currentView.value = 'detail';+ if (showUploadModal) showUploadModal.value = false;+ }+// Handle duplicate warningif (data.duplicate_warning) {const warning = data.duplicate_warning;