Skip to content

v0.4.3

Choose a tag to compare

@henryavila henryavila released this 16 Apr 13:19
· 14 commits to main since this release

What's Changed

Bug Fix: Annotation Highlight Expansion

  • Fixed annotation highlights expanding beyond selected text when inline code elements (backticks) are present
  • Replaced TreeWalker with recursive collectTextNodes for reliable DOM traversal
  • Fixed newline insertion between inline elements on the same markdown source line
  • Fixed whitespace normalization fallback to use overlap-based partial wrapping
  • Fixed endColumn calculation in text selection handler
  • Added prefix/suffix extraction from DOM context for better anchoring disambiguation

Improvement: Auto-focus Annotation Textarea

  • Popover textarea now receives focus immediately on open — select text and start typing, no extra click needed

Test Suite: 791 Total Tests

  • 68 new unit tests covering useAnnotations, useKeyboard, useWebSocket, and RightPanel
  • 23 new Playwright e2e tests across 6 scenarios:
    • Page load & rendering
    • Annotation CRUD full lifecycle
    • Keyboard navigation (j/k, panel toggles, focus mode)
    • Section approval workflow
    • Filters & panel interactions
    • Live reload via WebSocket