NEC-92: Show collaborators' mouse pointers in the note #166
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!166
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-92-show-collaborators-mouse-pointers-in-the"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: NEC-92 — https://projectron.nerchure.com/tasks/92
Collaborators' mouse pointers are drawn in the note, anchored to the character under the mouse (a Y.RelativePosition plus an offset in character widths) so they land on the same word whatever each vault's width, font or wrapping. Sends are throttled to the server's 50 ms relay window and cleared when the mouse leaves; touch sends nothing. When the pointed-at text is off-screen, a named indicator is pinned to that edge and keeps following the other coordinate; collaborators' text cursors get the same indicator, merged into one pill per person per edge. Two settings, both on: 'Share my mouse pointer' (privacy) and 'Show collaborators' mouse pointers' (noise). The look was reviewed with the user over three screenshot rounds and a live try: tip at the middle of the character, name below the line, pointer, name and the text-cursor label see-through at 0.72, a resting pointer fades after 3 s. Only the editor the note is bound to draws or sends pointers, since every editor shares one extension array (SAFE-D5). A fresh-context review found four issues, all fixed here: fades restarting when another marker came or went, un-merging restarting the fade, the status bar no longer repairing itself after a reconnect, and touch covered only by a pure-function test. Adds WIRE-090..093 (docs/v1/protocol/wire.md §10), updates sync-limitations and security-model. Unit rules and the SAFE-D5 guard and fade fix were mutation-checked in both directions.
Spec:
docs/changes/NEC-92-collaborator-pointers/spec.mdChangelog
Collaborators' mouse pointers now show in the note you share, with their name, and an indicator at the edge of the view points to them (and to their cursor) when they are off-screen; two new settings let you stop sharing yours or hide theirs.