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: simplify completion text, scrollable checklist for many steps

Luis Ortiz77e2eb44f26c
diff --git a/src/ui/sidepanel/GuideMeCompletion.tsx b/src/ui/sidepanel/GuideMeCompletion.tsx
index 0df0b3a..67a68a3 100644
--- a/src/ui/sidepanel/GuideMeCompletion.tsx
+++ b/src/ui/sidepanel/GuideMeCompletion.tsx
@@ -40,27 +40,29 @@ export default function GuideMeCompletion({ guideId, onDone, onRunAgain }: Guide
}, [guideId]);
return (
- <div className="min-h-screen bg-card flex flex-col items-center justify-center px-7 text-center">
- <CoolMascot />
-
- <h1 className="text-[22px] font-[800] text-foreground mb-2">All done, champ!</h1>
-
- <p className="text-[13px] text-muted-foreground max-w-[260px] mb-6">
- All {steps.length} steps completed. You've just mastered this workflow like a pro.
- </p>
+ <div className="min-h-screen bg-card flex flex-col px-7">
+ <div className="flex flex-col items-center text-center pt-10 pb-4">
+ <CoolMascot />
+ <h1 className="text-[22px] font-[800] text-foreground mb-2">All done, champ!</h1>
+ <p className="text-[13px] text-muted-foreground">
+ All {steps.length} step{steps.length !== 1 ? 's' : ''} completed.
+ </p>
+ </div>
- <div className="w-full flex flex-col gap-2.5 mb-8">
- {steps.map((step) => (
- <div key={step.id} className="flex items-center gap-2.5 text-left">
- <div className="w-[22px] h-[22px] rounded-full bg-[#059669] flex items-center justify-center shrink-0">
- <CheckIcon />
+ <div className="flex-1 overflow-y-auto py-2">
+ <div className="flex flex-col gap-2">
+ {steps.map((step) => (
+ <div key={step.id} className="flex items-center gap-2.5 text-left">
+ <div className="w-[22px] h-[22px] rounded-full bg-[#059669] flex items-center justify-center shrink-0">
+ <CheckIcon />
+ </div>
+ <span className="text-[13px] text-muted-foreground">{step.description}</span>
</div>
- <span className="text-[13px] text-muted-foreground">{step.description}</span>
- </div>
- ))}
+ ))}
+ </div>
</div>
- <div className="w-full flex gap-2.5">
+ <div className="flex gap-2.5 py-5">
<button
onClick={onDone}
className="flex-1 py-3.5 rounded-xl font-semibold text-sm bg-secondary border border-border text-foreground"