Searched hist:"563 f3b4cdab433de36fec30ddf346093d60b9ccd" (Results 1 – 2 of 2) sorted by relevance
| /plugin/annotations/ |
| H A D | style.css | 563f3b4cdab433de36fec30ddf346093d60b9ccd Wed Jun 03 05:12:58 UTC 2026 tracker-user <82045103+tracker-user@users.noreply.github.com> Rework annotation UI: threaded replies, polish, and fixes
Builds the threaded-reply UI on the new parentId backend and tidies up the front-end overlay.
Threaded replies: - Render replies as an indented tree (buildReplyTree / appendReplyTree) with an inline "reply to this reply" form on each entry.
Fixes: - Keep gutter markers aligned with their highlights. A marker lives in document.body at absolute coordinates, so opening or closing a panel, or resizing the window, used to leave it stranded away from its text; repositionMarkers() now re-aligns them on those events. - Stop stealing focus when a panel is re-opened after an action (resolve, edit, delete), which previously jumped the viewport down to the reply box. - Preserve panel position after replies and edits by merging the client render state (_highlightEl, _markerEl, _range) onto server responses.
Polish: - Show a busy spinner on buttons while an AJAX request is in flight. - Layout: position the counter bar and orphan drawer correctly around the floated TOC; fix highlight hover colours and the marker column position.
Cleanup / dedup: - Fold the four near-identical thread mutation handlers (reply, edit, edit-reply, delete-reply) into one submitThreadAction() helper. - De-duplicate wrapHighlight()'s two branches and make its title null-safe. - Remove the unused refreshAnnotation() left over from before the server returned the full annotation.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
| H A D | script.js | 563f3b4cdab433de36fec30ddf346093d60b9ccd Wed Jun 03 05:12:58 UTC 2026 tracker-user <82045103+tracker-user@users.noreply.github.com> Rework annotation UI: threaded replies, polish, and fixes
Builds the threaded-reply UI on the new parentId backend and tidies up the front-end overlay.
Threaded replies: - Render replies as an indented tree (buildReplyTree / appendReplyTree) with an inline "reply to this reply" form on each entry.
Fixes: - Keep gutter markers aligned with their highlights. A marker lives in document.body at absolute coordinates, so opening or closing a panel, or resizing the window, used to leave it stranded away from its text; repositionMarkers() now re-aligns them on those events. - Stop stealing focus when a panel is re-opened after an action (resolve, edit, delete), which previously jumped the viewport down to the reply box. - Preserve panel position after replies and edits by merging the client render state (_highlightEl, _markerEl, _range) onto server responses.
Polish: - Show a busy spinner on buttons while an AJAX request is in flight. - Layout: position the counter bar and orphan drawer correctly around the floated TOC; fix highlight hover colours and the marker column position.
Cleanup / dedup: - Fold the four near-identical thread mutation handlers (reply, edit, edit-reply, delete-reply) into one submitThreadAction() helper. - De-duplicate wrapHighlight()'s two branches and make its title null-safe. - Remove the unused refreshAnnotation() left over from before the server returned the full annotation.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|