🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots 📖
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
fix(onboarding): keep the star step open and refresh the finish screen features
Luis Ortiz02ef37d65db5
diff --git a/src/locales/de.yml b/src/locales/de.ymlindex da03b8e..beddd85 100644--- a/src/locales/de.yml+++ b/src/locales/de.yml@@ -340,10 +340,14 @@ onboarding:starMessage: "Mimik ist kostenlos und quelloffen. Ein Stern ist der einfachste Weg, Danke zu sagen, und hilft anderen, Mimik zu finden."starAction: Auf GitHub mit Stern markierenstarLater: "Vielleicht später"+ starThanks: "Wir haben das Repository in einem neuen Tab geöffnet. Vergib dort einen Stern und komm zum Weitermachen zurück."doneTitle: "Alles bereit!"doneMessage: "Mimik ist bereit, deine Workflows aufzunehmen. Klicke in der Erweiterung auf \"Aufnahme starten\", um deine erste Anleitung aufzunehmen."featureAutoCapture: Auto-Aufnahme- featureAIDescriptions: KI-Beschreibungen+ featureAIAssist: KI-Assistent+ featureVoice: Sprachaufnahme+ featureAnnotate: "Markieren & schwärzen"+ featureExports: "Überall exportieren"featureSmartBlur: Smart BluropenMimik: Mimik öffnendiff --git a/src/locales/en.yml b/src/locales/en.ymlindex 1b424e5..45204d4 100644--- a/src/locales/en.yml+++ b/src/locales/en.yml@@ -409,10 +409,14 @@ onboarding:starMessage: "Mimik is free and open source. A star is the easiest way to say thanks, and it helps other people find it."starAction: Star on GitHubstarLater: Maybe later+ starThanks: "We opened the repo in a new tab. Give it a star there, then come back and continue."doneTitle: "You're all set!"doneMessage: "Mimik is ready to capture your workflows. Click \"Start Capture\" in the extension to record your first guide."featureAutoCapture: Auto-capture- featureAIDescriptions: AI descriptions+ featureAIAssist: AI assist+ featureVoice: Voice narration+ featureAnnotate: Annotate & redact+ featureExports: Export anywherefeatureSmartBlur: Smart bluropenMimik: Open Mimikdiff --git a/src/locales/es.yml b/src/locales/es.ymlindex b3ad1cb..479b9ab 100644--- a/src/locales/es.yml+++ b/src/locales/es.yml@@ -409,10 +409,14 @@ onboarding:starMessage: "Mimik es gratuito y de código abierto. Una estrella es la forma más fácil de dar las gracias, y ayuda a que otras personas lo encuentren."starAction: Dar una estrella en GitHubstarLater: "Quizá más tarde"+ starThanks: "Abrimos el repositorio en una pestaña nueva. Dale una estrella allí y vuelve para continuar."doneTitle: "¡Ya estás listo!"doneMessage: "Mimik está listo para capturar. Dale clic a \"Empezar a capturar\" en la extensión para grabar tu primera guía."featureAutoCapture: Captura automática- featureAIDescriptions: Descripciones con IA+ featureAIAssist: Asistente de IA+ featureVoice: "Narración por voz"+ featureAnnotate: Anotar y ocultar+ featureExports: Exportar a todofeatureSmartBlur: Desenfoque inteligenteopenMimik: Abrir Mimikdiff --git a/src/locales/fr.yml b/src/locales/fr.ymlindex 31c2b2c..3d8ba4f 100644--- a/src/locales/fr.yml+++ b/src/locales/fr.yml@@ -409,10 +409,14 @@ onboarding:starMessage: "Mimik est gratuit et open source. Une étoile est le moyen le plus simple de nous remercier, et elle aide d'autres personnes à le découvrir."starAction: "Mettre une étoile sur GitHub"starLater: Plus tard+ starThanks: "Nous avons ouvert le dépôt dans un nouvel onglet. Mettez-y une étoile, puis revenez pour continuer."doneTitle: "Tout est prêt !"doneMessage: "Mimik est prêt à capturer. Cliquez sur « Lancer la capture » pour enregistrer votre premier guide."featureAutoCapture: Capture automatique- featureAIDescriptions: Descriptions IA+ featureAIAssist: Assistant IA+ featureVoice: Narration vocale+ featureAnnotate: Annoter et masquer+ featureExports: Exporter partoutfeatureSmartBlur: Flou intelligentopenMimik: Ouvrir Mimikdiff --git a/src/locales/pt-BR.yml b/src/locales/pt-BR.ymlindex ac01969..a6e9ec3 100644--- a/src/locales/pt-BR.yml+++ b/src/locales/pt-BR.yml@@ -409,10 +409,14 @@ onboarding:starMessage: "O Mimik é gratuito e de código aberto. Uma estrela é o jeito mais fácil de agradecer, e ajuda outras pessoas a encontrarem o projeto."starAction: Deixar uma estrela no GitHubstarLater: Talvez depois+ starThanks: "Abrimos o repositório em uma nova aba. Deixe a estrela por lá e volte para continuar."doneTitle: "Tudo pronto!"doneMessage: "O Mimik tá pronto pra capturar. Clica em \"Começar a capturar\" na extensão pra gravar seu primeiro guia."featureAutoCapture: Captura automática- featureAIDescriptions: Descrições com IA+ featureAIAssist: Assistente de IA+ featureVoice: "Narração por voz"+ featureAnnotate: Anotar e ocultar+ featureExports: Exportar em tudofeatureSmartBlur: Desfoque inteligenteopenMimik: Abrir Mimikdiff --git a/src/ui/onboarding/App.tsx b/src/ui/onboarding/App.tsxindex 1eb1149..d616c97 100644--- a/src/ui/onboarding/App.tsx+++ b/src/ui/onboarding/App.tsx@@ -716,8 +716,6 @@ function MascotWithStar({ size = 300 }: { size?: number }) {fill="#FACC15"/></g>- <path d="M50 152 Q32 110 68 68" stroke="#C7D2FE" strokeWidth="14" fill="none" strokeLinecap="round" />- <path d="M150 152 Q168 110 132 68" stroke="#C7D2FE" strokeWidth="14" fill="none" strokeLinecap="round" /><circle cx="100" cy="110" r="55" fill="#C7D2FE" /><rect x="55" y="110" width="90" height="44" rx="5" fill="#1E1B4B" /><path d="M55 110 L55 98 Q55 80 100 80 Q145 80 145 98 L145 110Z" fill="#4F46E5" />@@ -730,9 +728,11 @@ function MascotWithStar({ size = 300 }: { size?: number }) {}function GitHubStarStep({ onNext, onSkip, onBack, index, total }: StepProps) {+ const [starred, setStarred] = useState(false);+const handleStar = () => {- browser.tabs.create({ url: REPO_URL });- onNext();+ browser.tabs.create({ url: REPO_URL, active: true });+ setStarred(true);};return (@@ -745,7 +745,9 @@ function GitHubStarStep({ onNext, onSkip, onBack, index, total }: StepProps) {<h1 className="text-3xl font-extrabold text-foreground leading-tight mb-2">{i18n.t('onboarding.starTitle')}</h1>- <p className="text-sm text-muted-foreground leading-relaxed mb-8">{i18n.t('onboarding.starMessage')}</p>+ <p className="text-sm text-muted-foreground leading-relaxed mb-8">+ {i18n.t(starred ? 'onboarding.starThanks' : 'onboarding.starMessage')}+ </p><div className="flex items-center gap-3"><button@@ -754,18 +756,29 @@ function GitHubStarStep({ onNext, onSkip, onBack, index, total }: StepProps) {>{i18n.t('common.back')}</button>- <button- onClick={handleStar}- className="px-8 py-3 bg-accent text-white rounded-xl font-semibold text-sm hover:bg-accent/90 transition-colors"- >- {i18n.t('onboarding.starAction')}- </button>- <button- onClick={onSkip}- className="ml-2 px-6 py-3 text-muted-foreground rounded-xl font-semibold text-sm hover:text-foreground transition-colors"- >- {i18n.t('onboarding.starLater')}- </button>+ {starred ? (+ <button+ onClick={onNext}+ className="px-8 py-3 bg-accent text-white rounded-xl font-semibold text-sm hover:bg-accent/90 transition-colors"+ >+ {i18n.t('common.continue')}+ </button>+ ) : (+ <>+ <button+ onClick={handleStar}+ className="px-8 py-3 bg-accent text-white rounded-xl font-semibold text-sm hover:bg-accent/90 transition-colors"+ >+ {i18n.t('onboarding.starAction')}+ </button>+ <button+ onClick={onSkip}+ className="ml-2 px-6 py-3 text-muted-foreground rounded-xl font-semibold text-sm hover:text-foreground transition-colors"+ >+ {i18n.t('onboarding.starLater')}+ </button>+ </>+ )}</div><div className="mt-6">@@ -808,61 +821,72 @@ function DoneStep() {{i18n.t('onboarding.doneMessage')}</p>- <div className="flex gap-4 justify-center mb-8">+ <div className="grid grid-cols-3 gap-3 mb-8">{[{label: i18n.t('onboarding.featureAutoCapture'),icon: (- <svg- width="28"- height="28"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- >+ <><rect x="2" y="3" width="20" height="14" rx="2" /><path d="M8 21h8M12 17v4" />- </svg>+ </>),},{- label: i18n.t('onboarding.featureAIDescriptions'),+ label: i18n.t('onboarding.featureVoice'),icon: (- <svg- width="28"- height="28"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- >- <path d="M12 2L14 10L22 12L14 14L12 22L10 14L2 12L10 10Z" />- </svg>+ <>+ <path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z" />+ <path d="M19 10v2a7 7 0 0 1-14 0v-2M12 19v3" />+ </>+ ),+ },+ {+ label: i18n.t('onboarding.featureAIAssist'),+ icon: <path d="M12 2L14 10L22 12L14 14L12 22L10 14L2 12L10 10Z" />,+ },+ {+ label: i18n.t('onboarding.featureAnnotate'),+ icon: (+ <>+ <path d="M12 20h9" />+ <path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z" />+ </>),},{label: i18n.t('onboarding.featureSmartBlur'),icon: (+ <>+ <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" />+ <circle cx="12" cy="12" r="3" />+ </>+ ),+ },+ {+ label: i18n.t('onboarding.featureExports'),+ icon: (+ <>+ <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />+ <path d="M7 10l5 5 5-5M12 15V3" />+ </>+ ),+ },+ ].map((f) => (+ <div key={f.label} className="bg-secondary rounded-xl px-3 py-4 text-center">+ <div className="text-accent flex justify-center mb-2"><svg- width="28"- height="28"+ width="24"+ height="24"viewBox="0 0 24 24"fill="none"stroke="currentColor"strokeWidth="2"strokeLinecap="round">- <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" />- <circle cx="12" cy="12" r="3" />+ {f.icon}</svg>- ),- },- ].map((f) => (- <div key={f.label} className="bg-secondary rounded-xl p-5 flex-1 max-w-[140px] text-center">- <div className="text-accent flex justify-center mb-2">{f.icon}</div>+ </div><p className="text-xs font-semibold text-foreground">{f.label}</p></div>))}