Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots 📖

fix(onboarding): drop the duplicated narration do and don't card

Luis Ortiz2b768050b63c
diff --git a/src/locales/de.yml b/src/locales/de.yml
index 44f928f..12da8f0 100644
--- a/src/locales/de.yml
+++ b/src/locales/de.yml
@@ -314,10 +314,6 @@ onboarding:
aiGeneratedDescription: KI-generierte Beschreibung
voiceTitle: Sprich, dann handle
voiceMessage: Sag, was du als Nächstes tun wirst, und tu es dann. Mimik ordnet deinen Kommentar der Aktion zu, die darauf folgt — die Reihenfolge ist deshalb das Wichtigste.
- voiceDoTitle: Erst sprechen, dann klicken
- voiceDoSub: Deine Worte werden der nächsten Aktion zugeordnet, damit die Beschreibung beim gemeinten Schritt landet.
- voiceDontTitle: Nicht erst nach dem Klick sprechen
- voiceDontSub: Alles, was du nach einer Aktion sagst, wird dem folgenden Schritt zugeordnet — dadurch rutscht jede Beschreibung auf den falschen Schritt.
voiceRecordHint: "Die Sprachaufnahme bleibt aus, bis du sie einschaltest. Nutze die Mikrofontaste in der Seitenleiste während der Aufnahme, so entscheidest du pro Anleitung."
voiceDataNotice: Dein Audio wird mit deinem eigenen API-Schlüssel an den hier gewählten Anbieter gesendet. Sonst verlässt nichts in Mimik deinen Browser.
voiceDemoLabel: So landet dein Kommentar
diff --git a/src/locales/en.yml b/src/locales/en.yml
index 0049504..eb3305f 100644
--- a/src/locales/en.yml
+++ b/src/locales/en.yml
@@ -383,10 +383,6 @@ onboarding:
aiGeneratedDescription: AI-generated description
voiceTitle: Talk, then act
voiceMessage: Say what you are about to do, then do it. Mimik matches your narration to the action that follows it, so the order matters more than anything else.
- voiceDoTitle: Narrate first, then click
- voiceDoSub: Your words are attached to the next action you take, so the description lands on the step you meant.
- voiceDontTitle: Do not narrate after clicking
- voiceDontSub: Anything said after an action is matched to the following step, which shifts every description onto the wrong one.
voiceRecordHint: Narration stays off until you turn it on. Use the microphone button in the side panel while recording, so you choose per guide.
voiceDataNotice: Your audio is sent to the provider you pick here, using your own API key. Nothing else in Mimik leaves your browser.
voiceDemoLabel: How narration lands
diff --git a/src/locales/es.yml b/src/locales/es.yml
index 87f8d15..4741cc9 100644
--- a/src/locales/es.yml
+++ b/src/locales/es.yml
@@ -383,10 +383,6 @@ onboarding:
aiGeneratedDescription: "Descripción generada por IA"
voiceTitle: Habla y luego actúa
voiceMessage: "Di lo que vas a hacer y después hazlo. Mimik une tu narración con la acción que viene justo después, así que el orden es lo que más importa."
- voiceDoTitle: Narra primero, después haz clic
- voiceDoSub: "Tus palabras se asignan a la siguiente acción que hagas, así la descripción cae en el paso que querías."
- voiceDontTitle: No narres después de hacer clic
- voiceDontSub: "Lo que digas después de una acción se asigna al paso siguiente, y eso corre todas las descripciones al paso equivocado."
voiceRecordHint: "La narración permanece desactivada hasta que la actives. Usa el botón de micrófono en el panel lateral mientras grabas, así eliges guía por guía."
voiceDataNotice: "Tu audio se envía al proveedor que elijas aquí, con tu propia clave API. Nada más de Mimik sale de tu navegador."
voiceDemoLabel: "Cómo se asigna la narración"
diff --git a/src/locales/fr.yml b/src/locales/fr.yml
index 969a895..0a61da5 100644
--- a/src/locales/fr.yml
+++ b/src/locales/fr.yml
@@ -383,10 +383,6 @@ onboarding:
aiGeneratedDescription: "Description générée par IA"
voiceTitle: "Parlez, puis agissez"
voiceMessage: "Dites ce que vous allez faire, puis faites-le. Mimik rattache votre narration à l'action qui suit : l'ordre compte plus que tout le reste."
- voiceDoTitle: "Commentez d'abord, cliquez ensuite"
- voiceDoSub: "Vos mots sont rattachés à l'action suivante : la description tombe donc sur l'étape voulue."
- voiceDontTitle: "Ne commentez pas après avoir cliqué"
- voiceDontSub: "Ce qui est dit après une action est rattaché à l'étape suivante, ce qui décale toutes les descriptions."
voiceRecordHint: "La narration reste désactivée jusqu'à ce que vous l'activiez. Utilisez le bouton microphone dans le panneau latéral pendant l'enregistrement, pour choisir guide par guide."
voiceDataNotice: "Votre audio est envoyé au fournisseur choisi ici, avec votre propre clé API. Rien d'autre ne sort de votre navigateur."
voiceDemoLabel: "Comment la narration est rattachée"
diff --git a/src/locales/pt-BR.yml b/src/locales/pt-BR.yml
index b7728ec..47f0c60 100644
--- a/src/locales/pt-BR.yml
+++ b/src/locales/pt-BR.yml
@@ -383,10 +383,6 @@ onboarding:
aiGeneratedDescription: Descrição gerada por IA
voiceTitle: Fala e depois faz
voiceMessage: "Diz o que você vai fazer e só depois faz. O Mimik liga sua narração à ação que vem depois dela, então a ordem é o que mais importa."
- voiceDoTitle: Narra primeiro, clica depois
- voiceDoSub: "Suas palavras vão pra próxima ação que você fizer, então a descrição cai no passo certo."
- voiceDontTitle: "Não narra depois de clicar"
- voiceDontSub: "O que você fala depois de uma ação vai pro passo seguinte, e isso joga todas as descrições pro passo errado."
voiceRecordHint: "A narração fica desligada até você ativá-la. Use o botão de microfone no painel lateral enquanto grava, assim você escolhe guia a guia."
voiceDataNotice: "Seu áudio vai pro provedor que você escolher aqui, com sua própria chave API. Nada mais do Mimik sai do seu navegador."
voiceDemoLabel: "Como a narração é atribuída"
diff --git a/src/ui/onboarding/App.tsx b/src/ui/onboarding/App.tsx
index 9f6dff3..7ff87b5 100644
--- a/src/ui/onboarding/App.tsx
+++ b/src/ui/onboarding/App.tsx
@@ -1,4 +1,4 @@
-import { Mic, MousePointerClick, Shield, TriangleAlert } from 'lucide-react';
+import { Mic, MousePointerClick, Shield } from 'lucide-react';
import { useEffect, useState } from 'react';
import { browser, i18n } from '#imports';
import { PRESET_LABELS, type PresetKey } from '@/core/blur/regexes';
@@ -349,31 +349,6 @@ function VoiceStep({ onNext, onSkip, onBack, index, total }: StepProps) {
</h1>
<p className="text-sm text-muted-foreground leading-relaxed mb-6">{i18n.t('onboarding.voiceMessage')}</p>
- <div className="border border-border rounded-2xl divide-y divide-secondary mb-5">
- <div className="flex items-start gap-3 p-4">
- <div className="w-8 h-8 rounded-lg bg-secondary flex items-center justify-center shrink-0">
- <Mic size={15} className="text-accent" />
- </div>
- <div>
- <p className="text-sm font-semibold text-foreground">{i18n.t('onboarding.voiceDoTitle')}</p>
- <p className="text-xs text-muted-foreground leading-relaxed mt-0.5">
- {i18n.t('onboarding.voiceDoSub')}
- </p>
- </div>
- </div>
- <div className="flex items-start gap-3 p-4">
- <div className="w-8 h-8 rounded-lg bg-destructive/10 flex items-center justify-center shrink-0">
- <TriangleAlert size={15} className="text-destructive" />
- </div>
- <div>
- <p className="text-sm font-semibold text-foreground">{i18n.t('onboarding.voiceDontTitle')}</p>
- <p className="text-xs text-muted-foreground leading-relaxed mt-0.5">
- {i18n.t('onboarding.voiceDontSub')}
- </p>
- </div>
- </div>
- </div>
-
<div className="border border-border rounded-2xl p-4 space-y-3 mb-6">
<div className="flex gap-3">
<div className="flex-1">