Files
PaperClipAI/ui/src
DottaandClaude Opus 4.8 b0f00f9334 Document comments: doc-order sort, hover + focus congruence (PAP-10960)
Follow-up to board feedback on the inline comment panel:

- Sort threads in document order (by normalizedStart/markdownStart), not
  recency, so the comment list stays congruent with the highlights.
- Scroll the focused thread card into view in the pane whenever a thread
  becomes focused — both when a new comment is added (optimistic focus)
  and when its highlight is clicked in the document.
- Strengthen the focused-thread outline (ring-2 ring-primary) so the
  selected comment is obvious in the list.
- Tint a highlight's run on hover in the document so it's clear which
  highlight you're pointing at.
- Carry the anchor's document position onto the optimistic thread so a
  freshly-posted comment sorts into the right spot immediately.

Adds a regression test asserting document-order rendering.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 10:02:03 +00:00
..
2026-06-11 14:02:09 -05:00
2026-05-06 06:30:44 -05:00