diff --git a/src/App.vue b/src/App.vue index cce05c1..abbb023 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1014,8 +1014,8 @@ const sendWithEnter = ref(loadBoolPref(SEND_WITH_ENTER_KEY, true)) const inProgressSendMode = ref<'steer' | 'queue'>(loadInProgressSendModePref()) const darkMode = ref<'system' | 'light' | 'dark'>(loadDarkModePref()) const chatWidth = ref(loadChatWidthPref()) -const dictationClickToToggle = ref(loadBoolPref(DICTATION_CLICK_TO_TOGGLE_KEY, false)) -const dictationAutoSend = ref(loadBoolPref(DICTATION_AUTO_SEND_KEY, true)) +const dictationClickToToggle = ref(loadBoolPref(DICTATION_CLICK_TO_TOGGLE_KEY, true)) +const dictationAutoSend = ref(loadBoolPref(DICTATION_AUTO_SEND_KEY, false)) const dictationLanguage = ref(loadDictationLanguagePref()) const dictationLanguageOptions = computed(() => buildDictationLanguageOptions()) diff --git a/src/components/content/ThreadComposer.vue b/src/components/content/ThreadComposer.vue index a98311d..a58ae78 100644 --- a/src/components/content/ThreadComposer.vue +++ b/src/components/content/ThreadComposer.vue @@ -292,11 +292,12 @@ class="thread-composer-mic" :class="{ 'thread-composer-mic--active': dictationState === 'recording', + 'thread-composer-mic--transcribing': dictationState === 'transcribing', }" type="button" :aria-label="dictationButtonLabel" :title="dictationButtonLabel" - :disabled="isInteractionDisabled" + :disabled="isInteractionDisabled || dictationState === 'transcribing'" @click="onDictationToggle" @pointerdown="onDictationPressStart" @pointerup="onDictationPressEnd" @@ -306,6 +307,7 @@ v-if="dictationState === 'recording'" class="thread-composer-mic-icon thread-composer-mic-icon--stop" /> +