π¬ 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
refactor(ui): replace remaining native title tooltips with the Tooltip primitive
Luis Ortizf0c264015bad
diff --git a/src/ui/fullview/GuideContent.tsx b/src/ui/fullview/GuideContent.tsxindex 5ff9618..858cd0d 100644--- a/src/ui/fullview/GuideContent.tsx+++ b/src/ui/fullview/GuideContent.tsx@@ -21,6 +21,7 @@ import { logger } from '@/lib/logger';import { sendMessage } from '@/lib/messaging';import { formatDate, getMostCommonDomain } from '@/lib/utils';import { useFullview } from '@/stores/fullview';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/ui/components/ui/tooltip';import AnnotationEditor from '@/ui/shared/AnnotationEditor';import { useAskAi } from '@/ui/shared/AskAi';import FaviconImg from '@/ui/shared/FaviconImg';@@ -402,23 +403,36 @@ export default function GuideContent({ guideId, initialStepId, initialTool }: GuclassName="flex-1 resize-none overflow-hidden bg-transparent p-0 text-[15px] leading-relaxed text-muted-foreground placeholder:text-muted-foreground/60 border-b-2 border-transparent hover:border-border focus:outline-none focus:border-accent"/>{hasApiKey && <span className="shrink-0 mt-0.5">{askAi.trigger}</span>}- {hasApiKey && (- <button- type="button"- onClick={handleGenerateDescription}- disabled={generating || metaGenerating}- title={- description ? i18n.t('editor.regenerateDescription') : i18n.t('editor.generateDescription')- }- className="shrink-0 mt-0.5 p-1 rounded-md text-muted-foreground hover:text-accent hover:bg-secondary transition-colors disabled:cursor-not-allowed"- >- {generating || metaGenerating ? (- <Loader2 size={15} className="animate-spin text-accent" />- ) : (- <Sparkles size={15} />- )}- </button>- )}+ {hasApiKey &&+ (() => {+ const busy = generating || metaGenerating;+ const label = description+ ? i18n.t('editor.regenerateDescription')+ : i18n.t('editor.generateDescription');+ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <button+ type="button"+ onClick={() => {+ if (busy) return;+ void handleGenerateDescription();+ }}+ aria-disabled={busy}+ aria-label={label}+ className="shrink-0 mt-0.5 p-1 rounded-md text-muted-foreground hover:text-accent hover:bg-secondary transition-colors aria-disabled:cursor-not-allowed aria-disabled:hover:text-muted-foreground aria-disabled:hover:bg-transparent"+ >+ {busy ? (+ <Loader2 size={15} className="animate-spin text-accent" />+ ) : (+ <Sparkles size={15} />+ )}+ </button>+ </TooltipTrigger>+ <TooltipContent>{label}</TooltipContent>+ </Tooltip>+ );+ })()}<Toast message={descriptionError} onDismiss={() => setDescriptionError(null)} /></div>) : (diff --git a/src/ui/fullview/TopNav.tsx b/src/ui/fullview/TopNav.tsxindex ba80a2a..1733f86 100644--- a/src/ui/fullview/TopNav.tsx+++ b/src/ui/fullview/TopNav.tsx@@ -129,12 +129,7 @@ export default function TopNav({ route }: TopNavProps) {{editing ? <Check size={14} /> : <Pencil size={14} />}{editing ? i18n.t('editor.done') : i18n.t('editor.edit')}</Button>- <Button- size="sm"- variant="secondary"- onClick={() => setHistoryOpen(!historyOpen)}- title={i18n.t('editor.versionHistory')}- >+ <Button size="sm" variant="secondary" onClick={() => setHistoryOpen(!historyOpen)}><History size={14} />{i18n.t('editor.versionHistory')}</Button>diff --git a/src/ui/shared/AnnotationEditor.tsx b/src/ui/shared/AnnotationEditor.tsxindex f2251d8..a503f51 100644--- a/src/ui/shared/AnnotationEditor.tsx+++ b/src/ui/shared/AnnotationEditor.tsx@@ -108,7 +108,7 @@ function clampNumber(raw: string | number, min: number, max: number): number {}interface StepperProps {- title: string;+ label: string;value: number;min: number;max: number;@@ -120,35 +120,38 @@ interface StepperProps {onChange: (value: number) => void;}-function Stepper({ title, value, min, max, step, decimals = 0, width, prefix, suffix, onChange }: StepperProps) {+function Stepper({ label, value, min, max, step, decimals = 0, width, prefix, suffix, onChange }: StepperProps) {const round = (n: number) => Number(n.toFixed(decimals));return (- <div className="flex items-center gap-0.5 rounded-md bg-primary-foreground/10 h-6 px-1" title={title}>- {prefix}- <button- type="button"- aria-label="-"- onClick={() => onChange(round(clampNumber(value - step, min, max)))}- className="w-4 h-5 rounded text-primary-foreground/70 hover:bg-primary-foreground/15 text-[13px] leading-none"- >- −- </button>- <input- value={value}- inputMode="decimal"- onChange={(e) => onChange(round(clampNumber(e.target.value, min, max)))}- className={`${width} bg-transparent text-center text-[11px] tabular-nums text-primary-foreground outline-none`}- />- <button- type="button"- aria-label="+"- onClick={() => onChange(round(clampNumber(value + step, min, max)))}- className="w-4 h-5 rounded text-primary-foreground/70 hover:bg-primary-foreground/15 text-[13px] leading-none"- >- +- </button>- {suffix}- </div>+ <Tip label={label}>+ <div className="flex items-center gap-0.5 rounded-md bg-primary-foreground/10 h-6 px-1">+ {prefix}+ <button+ type="button"+ aria-label="-"+ onClick={() => onChange(round(clampNumber(value - step, min, max)))}+ className="w-4 h-5 rounded text-primary-foreground/70 hover:bg-primary-foreground/15 text-[13px] leading-none"+ >+ −+ </button>+ <input+ value={value}+ inputMode="decimal"+ aria-label={label}+ onChange={(e) => onChange(round(clampNumber(e.target.value, min, max)))}+ className={`${width} bg-transparent text-center text-[11px] tabular-nums text-primary-foreground outline-none`}+ />+ <button+ type="button"+ aria-label="+"+ onClick={() => onChange(round(clampNumber(value + step, min, max)))}+ className="w-4 h-5 rounded text-primary-foreground/70 hover:bg-primary-foreground/15 text-[13px] leading-none"+ >+ ++ </button>+ {suffix}+ </div>+ </Tip>);}@@ -1117,7 +1120,7 @@ export default function AnnotationEditor({ screenshot, tool, onDone, onCancel }:)}{selected.type === 'box' && (<Stepper- title={i18n.t('annotationEditor.cornerRadius')}+ label={i18n.t('annotationEditor.cornerRadius')}value={Math.round(selected.radius ?? 0)}min={0}max={60}@@ -1144,17 +1147,22 @@ export default function AnnotationEditor({ screenshot, tool, onDone, onCancel }:{selected.type === 'text' && (<><DropdownMenu>- <DropdownMenuTrigger asChild>- <button- type="button"- title={i18n.t('annotationEditor.font')}- className="flex items-center gap-1.5 h-6 rounded-md bg-primary-foreground/10 px-2 text-[11px] text-primary-foreground hover:bg-primary-foreground/20"- style={{ fontFamily: FONT_FAMILIES[selected.fontFamily ?? 'sans-serif'] }}- >- <span className="text-[13px] leading-none">Ag</span>- <ChevronDown size={10} className="opacity-60" />- </button>- </DropdownMenuTrigger>+ <Tooltip>+ <TooltipTrigger asChild>+ <DropdownMenuTrigger asChild>+ <button+ type="button"+ aria-label={i18n.t('annotationEditor.font')}+ className="flex items-center gap-1.5 h-6 rounded-md bg-primary-foreground/10 px-2 text-[11px] text-primary-foreground hover:bg-primary-foreground/20"+ style={{ fontFamily: FONT_FAMILIES[selected.fontFamily ?? 'sans-serif'] }}+ >+ <span className="text-[13px] leading-none">Ag</span>+ <ChevronDown size={10} className="opacity-60" />+ </button>+ </DropdownMenuTrigger>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('annotationEditor.font')}</TooltipContent>+ </Tooltip><DropdownMenuContent align="start" className="min-w-[150px]">{FONT_FAMILY_ORDER.map((f) => (<DropdownMenuItem@@ -1189,7 +1197,7 @@ export default function AnnotationEditor({ screenshot, tool, onDone, onCancel }:</Tip></div><Stepper- title={i18n.t('annotationEditor.fontSize')}+ label={i18n.t('annotationEditor.fontSize')}prefix={<span className="text-[9px] text-primary-foreground/60">A</span>}suffix={<span className="text-[13px] text-primary-foreground/60">A</span>}value={Math.round(selected.size)}@@ -1200,7 +1208,7 @@ export default function AnnotationEditor({ screenshot, tool, onDone, onCancel }:onChange={(v) => setTextProp({ size: v })}/><Stepper- title={i18n.t('annotationEditor.lineHeight')}+ label={i18n.t('annotationEditor.lineHeight')}prefix={<MoveVertical size={11} className="text-primary-foreground/60" />}value={selected.lineHeight ?? DEFAULT_LINE_HEIGHT}min={MIN_LINE_HEIGHT}diff --git a/src/ui/shared/AskAi.tsx b/src/ui/shared/AskAi.tsxindex 10d37f1..e6b227c 100644--- a/src/ui/shared/AskAi.tsx+++ b/src/ui/shared/AskAi.tsx@@ -4,6 +4,7 @@ import { createPortal } from 'react-dom';import { i18n } from '#imports';import { REWRITE_PRESETS, type RewritePreset } from '@/core/capture/ai/prompts';import { sendMessage } from '@/lib/messaging';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/ui/components/ui/tooltip';import { rewriteErrorMessage } from '@/ui/shared/rewrite-error';import Toast from '@/ui/shared/Toast';@@ -105,6 +106,7 @@ export function useAskAi(value: string, onReplace: (next: string) => void, enabl}, []);const open = useCallback(() => {+ if (!value.trim()) return;const target = span ?? readSpan(value, 0, value.length);if (!target) return;setResult(null);@@ -224,17 +226,21 @@ export function useAskAi(value: string, onReplace: (next: string) => void, enablconst trigger = !enabled ? null : (<>- <button- ref={triggerRef}- type="button"- onClick={open}- disabled={!value.trim()}- title={i18n.t('editor.rewriteAskAi')}- aria-label={i18n.t('editor.rewriteAskAi')}- className={`p-1 rounded-md transition-colors disabled:opacity-40 ${active ? 'text-accent' : 'text-border hover:text-accent'}`}- >- <Wand2 size={14} />- </button>+ <Tooltip>+ <TooltipTrigger asChild>+ <button+ ref={triggerRef}+ type="button"+ onClick={open}+ aria-disabled={!value.trim()}+ aria-label={i18n.t('editor.rewriteAskAi')}+ className={`p-1 rounded-md transition-colors aria-disabled:opacity-40 aria-disabled:cursor-not-allowed ${active ? 'text-accent' : 'text-border hover:text-accent'}`}+ >+ <Wand2 size={14} />+ </button>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('editor.rewriteAskAi')}</TooltipContent>+ </Tooltip>{panel}<Toast message={error} onDismiss={() => setError(null)} /></>diff --git a/src/ui/shared/BlockCard.tsx b/src/ui/shared/BlockCard.tsxindex 88aab1f..df7c056 100644--- a/src/ui/shared/BlockCard.tsx+++ b/src/ui/shared/BlockCard.tsx@@ -4,6 +4,7 @@ import { i18n } from '#imports';import { CALLOUT_VARIANTS, calloutAccent, DEFAULT_CALLOUT_COLOR, tint, variantLabel } from '@/core/guides/blocks';import { updateCallout } from '@/core/guides/service';import type { CalloutVariant, Step } from '@/core/guides/types';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/ui/components/ui/tooltip';import ConfirmDialog from '@/ui/shared/ConfirmDialog';interface DragHandleProps {@@ -98,44 +99,59 @@ export default function BlockCard({<div className="flex items-center gap-1 mt-1">{!isHeading &&CALLOUT_VARIANTS.map((option) => (- <button- key={option}- type="button"- onClick={() => pickVariant(option)}- title={variantLabel(option)}- aria-label={variantLabel(option)}- aria-pressed={variant === option}- className={`w-3.5 h-3.5 rounded-full border ${variant === option ? 'border-foreground' : 'border-border'}`}- style={{- background:- option === 'custom' && variant !== 'custom'- ? 'linear-gradient(135deg,#DC2626,#4F46E5,#059669)'- : calloutAccent({ ...step, calloutVariant: option }),- }}- />+ <Tooltip key={option}>+ <TooltipTrigger asChild>+ <button+ type="button"+ onClick={() => pickVariant(option)}+ aria-label={variantLabel(option)}+ aria-pressed={variant === option}+ className={`w-3.5 h-3.5 rounded-full border ${variant === option ? 'border-foreground' : 'border-border'}`}+ style={{+ background:+ option === 'custom' && variant !== 'custom'+ ? 'linear-gradient(135deg,#DC2626,#4F46E5,#059669)'+ : calloutAccent({ ...step, calloutVariant: option }),+ }}+ />+ </TooltipTrigger>+ <TooltipContent>{variantLabel(option)}</TooltipContent>+ </Tooltip>))}{!isHeading && variant === 'custom' && (- <input- type="color"- value={accent}- onChange={(e) => pickColor(e.target.value)}- title={variantLabel('custom')}- className="w-5 h-4 bg-transparent border-0 p-0 cursor-pointer"- />+ <Tooltip>+ <TooltipTrigger asChild>+ <input+ type="color"+ value={accent}+ onChange={(e) => pickColor(e.target.value)}+ aria-label={variantLabel('custom')}+ className="w-5 h-4 bg-transparent border-0 p-0 cursor-pointer"+ />+ </TooltipTrigger>+ <TooltipContent>{variantLabel('custom')}</TooltipContent>+ </Tooltip>)}- <button- type="button"- onClick={() => setConfirmDelete(true)}- className="ml-auto p-1 rounded-md transition-colors text-border hover:text-destructive"- title={isHeading ? i18n.t('blocks.deleteHeading') : i18n.t('blocks.deleteCallout')}- >- <Trash2 size={13} />- </button>+ <Tooltip>+ <TooltipTrigger asChild>+ <button+ type="button"+ onClick={() => setConfirmDelete(true)}+ aria-label={isHeading ? i18n.t('blocks.deleteHeading') : i18n.t('blocks.deleteCallout')}+ className="ml-auto p-1 rounded-md transition-colors text-border hover:text-destructive"+ >+ <Trash2 size={13} />+ </button>+ </TooltipTrigger>+ <TooltipContent>+ {isHeading ? i18n.t('blocks.deleteHeading') : i18n.t('blocks.deleteCallout')}+ </TooltipContent>+ </Tooltip></div>)}<ConfirmDialogopen={confirmDelete}- title={isHeading ? i18n.t('blocks.deleteHeading') : i18n.t('blocks.deleteCallout')}+ heading={isHeading ? i18n.t('blocks.deleteHeading') : i18n.t('blocks.deleteCallout')}destructiveonConfirm={() => {setConfirmDelete(false);diff --git a/src/ui/shared/ConfirmDialog.tsx b/src/ui/shared/ConfirmDialog.tsxindex fdcfbfb..6460278 100644--- a/src/ui/shared/ConfirmDialog.tsx+++ b/src/ui/shared/ConfirmDialog.tsx@@ -11,7 +11,7 @@ import {interface ConfirmDialogProps {open: boolean;- title: string;+ heading: string;description?: string;confirmLabel?: string;destructive?: boolean;@@ -21,7 +21,7 @@ interface ConfirmDialogProps {export default function ConfirmDialog({open,- title,+ heading,description,confirmLabel,destructive = false,@@ -32,7 +32,7 @@ export default function ConfirmDialog({<Dialog open={open} onOpenChange={(next) => !next && onCancel()}><DialogContent className="sm:max-w-[360px]"><DialogHeader>- <DialogTitle>{title}</DialogTitle>+ <DialogTitle>{heading}</DialogTitle>{description && <DialogDescription>{description}</DialogDescription>}</DialogHeader><DialogFooter>diff --git a/src/ui/shared/InsertBlockMenu.tsx b/src/ui/shared/InsertBlockMenu.tsxindex a5aed49..e525be3 100644--- a/src/ui/shared/InsertBlockMenu.tsx+++ b/src/ui/shared/InsertBlockMenu.tsx@@ -2,6 +2,7 @@ import { Circle, Heading, Plus, StickyNote } from 'lucide-react';import { useEffect, useRef, useState } from 'react';import { i18n } from '#imports';import type { BlockType } from '@/core/guides/types';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/ui/components/ui/tooltip';interface InsertBlockMenuProps {onInsert: (blockType: BlockType) => void;@@ -38,17 +39,21 @@ export default function InsertBlockMenu({ onInsert, onRecord }: InsertBlockMenuPclassName="group relative flex items-center justify-center gap-1 h-6 my-1"><span aria-hidden="true" className="absolute inset-x-0 top-1/2 border-t border-dashed border-border" />- <button- type="button"- ref={triggerRef}- onClick={() => setOpen((prev) => !prev)}- title={i18n.t('blocks.add')}- aria-label={i18n.t('blocks.add')}- aria-expanded={open}- className={`relative flex items-center justify-center w-5 h-5 rounded-full border border-border bg-card transition-colors hover:text-accent hover:border-accent ${open ? 'text-accent border-accent' : 'text-purple'}`}- >- <Plus size={13} />- </button>+ <Tooltip>+ <TooltipTrigger asChild>+ <button+ type="button"+ ref={triggerRef}+ onClick={() => setOpen((prev) => !prev)}+ aria-label={i18n.t('blocks.add')}+ aria-expanded={open}+ className={`relative flex items-center justify-center w-5 h-5 rounded-full border border-border bg-card transition-colors hover:text-accent hover:border-accent ${open ? 'text-accent border-accent' : 'text-purple'}`}+ >+ <Plus size={13} />+ </button>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('blocks.add')}</TooltipContent>+ </Tooltip>{open &&choices.map((choice) => (<buttondiff --git a/src/ui/shared/ScreenshotView.tsx b/src/ui/shared/ScreenshotView.tsxindex 59e59e1..a999490 100644--- a/src/ui/shared/ScreenshotView.tsx+++ b/src/ui/shared/ScreenshotView.tsx@@ -17,6 +17,7 @@ import {DropdownMenuTrigger,} from '@/ui/components/ui/dropdown-menu';import { Popover, PopoverContent, PopoverTrigger } from '@/ui/components/ui/popover';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/ui/components/ui/tooltip';import ConfirmDialog from '@/ui/shared/ConfirmDialog';import ImagePlaceholder from '@/ui/shared/ImagePlaceholder';import ReplaceImageDialog from '@/ui/shared/ReplaceImageDialog';@@ -363,16 +364,20 @@ export default function ScreenshotView({{showTopControls && (<div className="absolute top-2 right-2 z-10 flex items-center gap-1"><Popover>- <PopoverTrigger asChild>- <button- type="button"- onClick={(e) => e.stopPropagation()}- className="flex items-center justify-center h-7 px-2 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm text-[10px] font-semibold tracking-wide transition-colors hover:bg-secondary hover:text-accent"- title={i18n.t('screenshotView.altLabel')}- >- {i18n.t('screenshotView.altButton')}- </button>- </PopoverTrigger>+ <Tooltip>+ <TooltipTrigger asChild>+ <PopoverTrigger asChild>+ <button+ type="button"+ onClick={(e) => e.stopPropagation()}+ className="flex items-center justify-center h-7 px-2 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm text-[10px] font-semibold tracking-wide transition-colors hover:bg-secondary hover:text-accent"+ >+ {i18n.t('screenshotView.altButton')}+ </button>+ </PopoverTrigger>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('screenshotView.altLabel')}</TooltipContent>+ </Tooltip><PopoverContent align="end" onClick={(e) => e.stopPropagation()}><p className="text-xs font-semibold text-foreground mb-2">{i18n.t('screenshotView.altLabel')}</p><textarea@@ -385,16 +390,21 @@ export default function ScreenshotView({</PopoverContent></Popover><DropdownMenu>- <DropdownMenuTrigger asChild>- <button- type="button"- onClick={(e) => e.stopPropagation()}- className="flex items-center justify-center w-7 h-7 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm transition-colors hover:bg-secondary hover:text-accent"- title={i18n.t('screenshotView.editMenu')}- >- <Pencil size={14} />- </button>- </DropdownMenuTrigger>+ <Tooltip>+ <TooltipTrigger asChild>+ <DropdownMenuTrigger asChild>+ <button+ type="button"+ onClick={(e) => e.stopPropagation()}+ aria-label={i18n.t('screenshotView.editMenu')}+ className="flex items-center justify-center w-7 h-7 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm transition-colors hover:bg-secondary hover:text-accent"+ >+ <Pencil size={14} />+ </button>+ </DropdownMenuTrigger>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('screenshotView.editMenu')}</TooltipContent>+ </Tooltip><DropdownMenuContent align="end" onClick={(e) => e.stopPropagation()}><DropdownMenuItem onSelect={() => onOpenEditor?.('annotate')}><Pencil size={14} />@@ -429,7 +439,7 @@ export default function ScreenshotView({<ReplaceImageDialog open={replaceOpen} onSelect={handleReplaceFile} onCancel={() => setReplaceOpen(false)} /><ConfirmDialogopen={confirmDelete}- title={i18n.t('screenshotView.deleteImage')}+ heading={i18n.t('screenshotView.deleteImage')}description={i18n.t('screenshotView.deleteConfirm')}destructiveonConfirm={handleDeleteImage}@@ -445,28 +455,38 @@ export default function ScreenshotView({<div className="absolute bottom-2 right-2 z-10 flex items-center gap-1">{showZoomControls && (<>- <button- type="button"- onClick={(e) => {- e.stopPropagation();- handleZoom(ZOOM_IN_FACTOR);- }}- className="flex items-center justify-center w-7 h-7 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm transition-colors hover:bg-secondary hover:text-accent"- title={i18n.t('screenshotView.zoomIn')}- >- <ZoomIn size={14} />- </button>- <button- type="button"- onClick={(e) => {- e.stopPropagation();- handleZoom(ZOOM_OUT_FACTOR);- }}- className="flex items-center justify-center w-7 h-7 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm transition-colors hover:bg-secondary hover:text-accent"- title={i18n.t('screenshotView.zoomOut')}- >- <ZoomOut size={14} />- </button>+ <Tooltip>+ <TooltipTrigger asChild>+ <button+ type="button"+ onClick={(e) => {+ e.stopPropagation();+ handleZoom(ZOOM_IN_FACTOR);+ }}+ aria-label={i18n.t('screenshotView.zoomIn')}+ className="flex items-center justify-center w-7 h-7 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm transition-colors hover:bg-secondary hover:text-accent"+ >+ <ZoomIn size={14} />+ </button>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('screenshotView.zoomIn')}</TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <button+ type="button"+ onClick={(e) => {+ e.stopPropagation();+ handleZoom(ZOOM_OUT_FACTOR);+ }}+ aria-label={i18n.t('screenshotView.zoomOut')}+ className="flex items-center justify-center w-7 h-7 rounded-md border border-border bg-card/90 text-foreground backdrop-blur-sm transition-colors hover:bg-secondary hover:text-accent"+ >+ <ZoomOut size={14} />+ </button>+ </TooltipTrigger>+ <TooltipContent>{i18n.t('screenshotView.zoomOut')}</TooltipContent>+ </Tooltip></>)}</div>diff --git a/src/ui/sidepanel/GuideEditor.tsx b/src/ui/sidepanel/GuideEditor.tsxindex 65d0f2b..cdf7fe3 100644--- a/src/ui/sidepanel/GuideEditor.tsx+++ b/src/ui/sidepanel/GuideEditor.tsx@@ -363,7 +363,6 @@ export default function GuideEditor({ guideId, onBack, onGuideMe, onInsertRecordtype="button"onClick={handleGenerateDescription}disabled={generating || metaGenerating}- title={description ? i18n.t('editor.regenerateDescription') : i18n.t('editor.generateDescription')}className="flex items-center gap-1 text-[11px] font-medium text-accent hover:text-deep disabled:opacity-50 disabled:cursor-not-allowed">{generating || metaGenerating ? <Loader2 size={11} className="animate-spin" /> : <Sparkles size={11} />}diff --git a/src/ui/sidepanel/StepCard.tsx b/src/ui/sidepanel/StepCard.tsxindex 3a6f12f..a075ef2 100644--- a/src/ui/sidepanel/StepCard.tsx+++ b/src/ui/sidepanel/StepCard.tsx@@ -200,7 +200,7 @@ export default function StepCard({</div><ConfirmDialogopen={confirmDelete}- title={i18n.t('editor.deleteThisStep')}+ heading={i18n.t('editor.deleteThisStep')}destructiveonConfirm={handleDelete}onCancel={() => setConfirmDelete(false)}