pdftract/crates/pdftract-cli
jedarden 488d4ea230 feat(pdftract-3mdb7): fix tooltip implementation with correct selectors and events
- Change selector from [data-text], [data-kind] to .layer-spans rect, .layer-confidence-heatmap rect
- Use mouseenter/mouseleave instead of mouseover/mouseout per spec
- Handle heatmap cells (data-char) and span rects (data-text) separately
- Remove references to non-existent data attributes (bbox, blockRef, mcid, readingIdx)
- Add capture flag to event listeners for proper event delegation

This fixes the tooltip behavior to match the acceptance criteria:
- Tooltip shows text/font/confidence for spans
- Tooltip shows char/confidence for heatmap cells
- Tooltip appears on hover and disappears on leave
- Auto-repositions near viewport edges

Closes pdftract-3mdb7
2026-05-31 23:56:17 -04:00
..
benches feat(pdftract-3h9xo): implement threads JSON output + schema integration 2026-05-25 13:40:15 -04:00
src feat(pdftract-3mdb7): fix tooltip implementation with correct selectors and events 2026-05-31 23:56:17 -04:00
tests test(pdftract-5kqbl): fix TH-08 log audit test 2026-05-31 15:51:34 -04:00
build.rs feat(pdftract-1t5sj): implement book_chapter profile with fixtures and tests 2026-05-27 22:30:09 -04:00
Cargo.toml feat(profiles): add profile infrastructure and initial fixtures 2026-05-31 15:10:51 -04:00
header chore(pdftract-36glh): remove unused JpxDecoder import and add verification note 2026-05-28 05:23:13 -04:00
pdftract-cli.cdx.json feat(pdftract-67tm8): implement MCP stdio transport with integration tests 2026-05-23 00:16:42 -04:00