Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Switch to Summary tab when reprocessing starts for better UX

Murtaza Nasirbc4625a29d88
diff --git a/static/js/app.js b/static/js/app.js
index 3b3879e4..b8928fd2 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -1224,10 +1224,13 @@ document.addEventListener('DOMContentLoaded', async () => {
}
showToast('Transcription reprocessing started', 'fa-sync-alt');
-
+
+ // Switch to Summary tab to show progress
+ selectedTab.value = 'summary';
+
// Show progress modal for reprocessing
showProgressModalForReprocessing(recordingId, 'transcription');
-
+
// Start polling for status updates
startReprocessingPoll(recordingId);
@@ -1270,10 +1273,13 @@ document.addEventListener('DOMContentLoaded', async () => {
}
showToast('Summary reprocessing started', 'fa-sync-alt');
-
+
+ // Switch to Summary tab to show progress
+ selectedTab.value = 'summary';
+
// Show progress modal for reprocessing
showProgressModalForReprocessing(recordingId, 'summary');
-
+
// Start polling for status updates
startReprocessingPoll(recordingId);