Commit graph

1008 commits

Author SHA1 Message Date
Research Assistant
e233dbd1ca fix: extract error message from subprocess stdout on non-zero exit 2026-05-21 00:02:25 +08:00
Research Assistant
ecbe505662 feat: instant delete, back navigation, undo pill 2026-05-21 00:00:20 +08:00
Research Assistant
180a3813fe docs: add annotation interaction polish spec and plan 2026-05-20 23:52:01 +08:00
Research Assistant
5fe729a600 perf: make annotation writes optimistic 2026-05-20 23:23:11 +08:00
Research Assistant
d864d26101 perf: narrow annotation hot paths 2026-05-20 23:10:00 +08:00
Research Assistant
57efd5af23 fix: call correct delete service path 2026-05-20 21:16:16 +08:00
Research Assistant
81de73b155 fix: treat multi-rect annotations as one delete target 2026-05-20 21:14:36 +08:00
Research Assistant
14cb7d6292 fix: commit before _write_cache to ensure visibility 2026-05-20 21:10:41 +08:00
Research Assistant
77b1cef6fe fix: merge chars by line only, not by horizontal continuity 2026-05-20 21:05:35 +08:00
Research Assistant
2b7d326994 feat: rewrite create annotation using DOM range -> PDF char rects 2026-05-20 21:03:39 +08:00
Research Assistant
ec96a61825 fix: use page.getTextContent with includeChars for Zotero-level precision 2026-05-20 19:46:36 +08:00
Research Assistant
13437a69e5 fix: per-span rects via textLayer span querySelector 2026-05-20 19:44:44 +08:00
Research Assistant
8616a3b05c fix: fallback to getClientRects if span matrix approach fails 2026-05-20 19:39:19 +08:00
Research Assistant
4b269d7626 fix: handle text node root in NodeIterator 2026-05-20 19:38:05 +08:00
Research Assistant
51388c48fd fix: read coords from CSS transform matrix, bypass getBoundingClientRect 2026-05-20 19:36:41 +08:00
Research Assistant
140137d9d3 fix: per-character rects using individual text layer spans 2026-05-20 19:31:24 +08:00
Research Assistant
7f1a6a02a0 chore: remove create diagnostic logging 2026-05-20 19:24:12 +08:00
Research Assistant
68532fb4fe fix: rename refRect to canvasBox 2026-05-20 19:22:45 +08:00
Research Assistant
0a1571bf13 chore: add comprehensive create diagnostic 2026-05-20 19:21:50 +08:00
Research Assistant
0b32219038 chore: add create coordinate diagnostic 2026-05-20 19:19:26 +08:00
Research Assistant
35626ea7c4 fix: use textLayer as reference rect for create coordinate conversion 2026-05-20 19:19:00 +08:00
Research Assistant
7baf7a7548 fix: use pageEl bounding rect instead of canvas for create conversion 2026-05-20 19:17:44 +08:00
Research Assistant
be7e0eab92 fix: use getClientRects per-line rects for create annotation 2026-05-20 19:15:43 +08:00
Research Assistant
e1e4a069e4 fix: pass viewBox dimensions to page render, mirror create rect to PDF format 2026-05-20 19:13:35 +08:00
Research Assistant
bbd910c0f2 fix: use rectEl instead of targetEl in delete handler 2026-05-20 19:08:02 +08:00
Research Assistant
6d2d761a31 fix: remove rect directly on delete, add rect directly on create 2026-05-20 19:06:51 +08:00
Research Assistant
51cc0fb0c4 fix: remove all overlays before rebuild in refresh 2026-05-20 19:01:19 +08:00
Research Assistant
a51de06330 diag: add viewBox probe for page 6 annotation 2026-05-20 18:54:57 +08:00
Research Assistant
774786d8ae fix: remove stray bracket, use viewport viewBox for dimensions 2026-05-20 18:52:05 +08:00
Research Assistant
9ee3c7b83a diag: add computed style probe 2026-05-20 18:45:59 +08:00
Research Assistant
0592aa44c1 diag: add DOM verification and test rect to rebuild path 2026-05-20 18:43:52 +08:00
Research Assistant
9062113a82 fix: use handle path in refresh when available 2026-05-20 18:42:20 +08:00
Research Assistant
492c87ac9b fix: refresh path uses DOM pages with setLayerDimensions alignment 2026-05-20 18:41:21 +08:00
Research Assistant
16a24cb14c debug: add rebuild visible layers counter log 2026-05-20 18:39:15 +08:00
Research Assistant
f6ac93859b fix: clean up dangling catch ghost code, add handle diagnostic log 2026-05-20 18:38:23 +08:00
Research Assistant
6618824253 fix: refresh overlays via _rebuildVisibleLayers on create/delete 2026-05-20 18:35:06 +08:00
Research Assistant
b228f4d472 fix: color swatch click creates annotation, overlay cleanup on file switch 2026-05-20 18:32:53 +08:00
Research Assistant
6642306262 feat: color picker, selection-to-create PDF coords, pypdf import guard 2026-05-20 18:31:02 +08:00
Research Assistant
489b29ff24 feat: overlay visible, fix popover dismiss, clean up debug code 2026-05-20 18:22:11 +08:00
Research Assistant
b7133b7ada feat: drive overlay repaint from PDF viewer events with internal handle resolution 2026-05-20 18:15:42 +08:00
Research Assistant
1b79c369ca feat: add PDF.js internal overlay guards and tests 2026-05-20 18:14:32 +08:00
Research Assistant
262541598f test: lock annotation cache and viewport helper contracts 2026-05-20 18:13:32 +08:00
Research Assistant
918e96f2c1 fix: use exact PDF page sizes for overlay mapping 2026-05-20 17:50:28 +08:00
Research Assistant
97b777ab8b fix: use PDF page dimensions for coordinate normalization 2026-05-20 17:11:45 +08:00
Research Assistant
a278637673 fix: use full field name in build_cache grouping 2026-05-20 17:07:39 +08:00
Research Assistant
8800a3c8b3 fix: use full field names in annotation cache, render only on new page 2026-05-20 17:05:41 +08:00
Research Assistant
d5e7b2a5be fix: debounce page observer to prevent render spam 2026-05-20 17:03:50 +08:00
Research Assistant
bbf34f22f7 fix: match cache pos key instead of position_json 2026-05-20 17:03:27 +08:00
Research Assistant
7068b38d26 fix: add missing _annotationCache declaration and match by attachmentKey 2026-05-20 17:01:46 +08:00
Research Assistant
f5a7bf3469 feat: JSON annotation cache for plugin (no subprocess on reads) 2026-05-20 17:00:34 +08:00