π¬ 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(guideme): treat a cleared click target as a manual step for existing guides
Luis Ortiz39036271c359
diff --git a/src/entrypoints/background/index.ts b/src/entrypoints/background/index.tsindex f17a8f7..d5a7a7f 100644--- a/src/entrypoints/background/index.ts+++ b/src/entrypoints/background/index.ts@@ -62,7 +62,10 @@ async function stepRequiresManual(step: Step): Promise<boolean> {if (!step.elementMeta) return true;if (!step.screenshotId) return false;const screenshots = await getScreenshotsForSteps([step.screenshotId]);- return screenshots.get(step.id)?.edits?.requiresManual === true;+ const screenshot = screenshots.get(step.id);+ if (!screenshot) return false;+ if (screenshot.edits?.requiresManual === true) return true;+ return screenshot.edits?.target === null && Boolean(screenshot.bounds);}export default defineBackground(() => {