NEC-112: A pointer returning to the same word after leaving the editor is drawn already faded #175

Merged
nectenda-agent merged 2 commits from worktree-nec-112-a-pointer-returning-to-the-same-word-aft into main 2026-09-25 17:43:10 +01:00
Collaborator

Task: NEC-112 — https://projectron.nerchure.com/tasks/112

A collaborator's pointer that was withdrawn and then pointed at the same character again was drawn already faded. The pointer layer returned early when there was nothing to draw, before it pruned the MoveClock, so the old move time survived. The new pointersToMark prunes the clock before that early return, and never from a pane bound to another note (SAFE-D5). Unit tests are mutation-checked in both directions. Accepted side effect, recorded in the spec: after our own reconnect, a peer's unmoved pointer shows for 3 s before it fades.

Spec: docs/changes/NEC-112-pointer-return-fade/spec.md

Changelog

A collaborator's pointer that leaves the note and comes back to the same word is shown again, instead of already faded.

Task: NEC-112 — https://projectron.nerchure.com/tasks/112 A collaborator's pointer that was withdrawn and then pointed at the same character again was drawn already faded. The pointer layer returned early when there was nothing to draw, before it pruned the MoveClock, so the old move time survived. The new pointersToMark prunes the clock before that early return, and never from a pane bound to another note (SAFE-D5). Unit tests are mutation-checked in both directions. Accepted side effect, recorded in the spec: after our own reconnect, a peer's unmoved pointer shows for 3 s before it fades. Spec: `docs/changes/NEC-112-pointer-return-fade/spec.md` ## Changelog A collaborator's pointer that leaves the note and comes back to the same word is shown again, instead of already faded.
The pointer layer returned early when nothing was left to draw, before it
pruned the move clock, so a pointer withdrawn and brought back to the same
character kept its old move time and arrived already faded. The prune now
runs before that return, and still never from a pane bound to another note.

Task: NEC-112

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QkHFMmCpCsXcZtgg6gk4fd
Record the reconnect side effect the review found
All checks were successful
Release note / release-note (pull_request) Successful in 13s
CI / build (pull_request) Successful in 4m51s
CI / e2e (pull_request) Successful in 5m20s
CI / promote (pull_request) Has been skipped
3b7c176542
Task: NEC-112

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QkHFMmCpCsXcZtgg6gk4fd
cruelacid force-pushed worktree-nec-112-a-pointer-returning-to-the-same-word-aft from 3b7c176542
All checks were successful
Release note / release-note (pull_request) Successful in 13s
CI / build (pull_request) Successful in 4m51s
CI / e2e (pull_request) Successful in 5m20s
CI / promote (pull_request) Has been skipped
to deb4cd1563
All checks were successful
Release note / release-note (pull_request) Successful in 13s
CI / build (pull_request) Successful in 4m31s
CI / e2e (pull_request) Successful in 5m12s
CI / promote (pull_request) Has been skipped
CI / build (push) Successful in 4m46s
CI / e2e (push) Successful in 5m10s
CI / promote (push) Successful in 31s
2026-09-25 17:37:09 +01:00
Compare
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Nectenda/nectenda!175
No description provided.