Annotated screenshots in lightbox; region/whole-page capture in extension
- Extract shared shapeDraw.ts (pen/arrow/rect/text) used by both the
  annotation editor and the viewer.
- ScreenshotViewer lightbox now renders a canvas with the screenshot plus
  annotation shapes baked in, so opening a screenshot fullscreen shows the
  drawn version instead of the raw image.
- New RegionSelector step in the extension: after picking an element, the
  page is captured pristine (before any overlay renders) and the user can
  either drag a region on the page (cropped at devicePixelRatio) or take
  the whole page via the button / Enter.
- Whole-page capture scrolls and stitches viewport tiles, hiding the
  overlay and fixed/sticky elements; per-tile captures retry with backoff
  because captureVisibleTab is throttled.
- NoteComposer receives the screenshot from the region selector instead of
  capturing on its own; e2e updated (Enter = whole page).

Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent ebbae8c commit 56a55cdd59c8828c91804f6cc9cad2322605a634
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 23 hours ago
Showing 9 changed files
View
packages/extension/e2e.mjs
View
packages/extension/src/content/overlay/App.vue
View
packages/extension/src/content/overlay/NoteComposer.vue
View
packages/extension/src/content/overlay/RegionSelector.vue 0 → 100644
View
packages/extension/verify-region.mjs 0 → 100644
View
packages/ui/src/AnnotationEditor.vue
View
packages/ui/src/ScreenshotViewer.vue
View
packages/ui/src/shapeDraw.ts 0 → 100644
View
packages/web/verify-annot.mjs 0 → 100644