You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui-feedback: a move-arrow note anchored from an element to where it should go #17803
A reviewer cannot say "move this element to there" on the prototype except in words. The note contract has three kinds, element, text and region (lib/ui-feedback/note.schema.json, kind), none with a destination. Today the owner marks up screenshots in Snagit and pastes them, which loses the link to the page.
Change
A fourth note kind, a move arrow: the reviewer picks the element to move, then the place it should go (an element, or a point when no element fits), and writes the note. The arrow is drawn from source to destination.
Each end stores its own anchor through the existing anchor ladder (test id, then path, then position), so the arrow follows the layout when the page changes and a re-locating script can find both ends.
The contract (docs/contracts/ui-feedback/README.md, note.schema.json) gains the kind and moves its x-version; the receiving session restates both ends when it acts on the note.
Basis: FigJam connectors snap to shapes so "a shape brings its lines along with it if it's moved around the board" (Create diagrams and flows with connectors); Snagit's arrow tool draws "attention to areas in an image" (Snagit arrow tool, modified 2026-07-24), so the arrow lives on a capture, not the page. An anchored arrow on a live page is not shipped by any tool checked; the owner asked for it (interview 2026-11-20).
Done when
A test draws an arrow between two elements, re-flows the page, and the arrow's ends still sit on both elements; the note the session receives names both anchors.
Part of the owner's feedback-tool fixes, needed before the /architecture:improve report prototype review (#17798).
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the ui-feedback note schema, contract doc, picker overlay (proto-pin.js), note model, notes bridge, relocate script and fixtures; read by the reviewer using the picker and by the receiving session.
Reversible: yes; revert the change, though notes already saved with the new kind would then fail validation.
Open questions: none
Understood: you want a fourth ui-feedback note kind, a move arrow, drawn from a source element to a destination (an element, or a point). Each end keeps its own anchor from the existing ladder. The schema, contract and x-version are updated, and a re-flow test checks that both ends stay on their elements. The design and done-when are exact, so no owner decision is needed. Related open issues touching the same picker code are #17800, #17801 and #17802, which may cause merge-order conflicts. #17798 waits on this one. I found no duplicate and no merged pull request that already covers it.
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.
melodic-automation-lanes commented on Nov 21, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add a fourth ui-feedback note kind, a move arrow whose source and destination each carry an anchor from the existing ladder, with the schema, contract and x-version updated and a re-flow test.
Acceptance criteria
lib/ui-feedback/note.schema.json kind enum lists element, text, region and a fourth value for the move arrow, and the schema description explains it
The schema stores the source end as an anchor and the destination as either an anchor or a percent point, each end using the existing anchor ladder (testid, cssPath, rect position)
note.schema.json x-version is raised from 5 to 6
docs/contracts/ui-feedback/README.md documents the new kind, both ends, and that the receiving session restates both ends when it acts on the note
proto-pin.js lets the reviewer pick the source element, then the destination (an element, or a point when none fits), then write the note, and draws the arrow from source to destination
note-model.mjs and notes_bridge.py accept and validate the new kind, and fixtures/notes.json gains a valid move-arrow note
relocate-note.mjs can find both ends of a move-arrow note
A test draws an arrow between two elements, re-flows the page, and asserts the arrow ends still sit on both elements
A test asserts the note the session receives names both anchors
The existing ui-feedback tests (note-model, relocate-note, notes bridge) still pass
External state: none
Dependencies
Informational only: #17798 (architecture:improve report prototype review) waits on this issue.
Overlaps in file with #17800, #17801 and #17802 (same picker and overlay code), so merge order may cause conflicts, but none blocks this.
lib/ui-feedback/note.schema.json:12: kind enum is element, text, region; x-version is 6? no, it is 5 (line 6); anchor def at line 65 has testid, cssPath, tag, role, textQuote; rect is percent box
docs/contracts/ui-feedback/README.md:53-62: describes region notes and their elements; line 178 says each schema carries its own version
lib/ui-feedback/relocate-note.test.mjs:1-9: node:test with node:vm, no browser dependency seen in imports
lib/ui-feedback/proto-pin.js: picks elements, text and regions in the frame (README.md:15)
Automated refinement by the lanes App. Intake triages the issue again with it.
Activity
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the ui-feedback note schema, contract doc, picker overlay (proto-pin.js), note model, notes bridge, relocate script and fixtures; read by the reviewer using the picker and by the receiving session.
Reversible: yes; revert the change, though notes already saved with the new kind would then fail validation.
Open questions: none
Understood: you want a fourth ui-feedback note kind, a move arrow, drawn from a source element to a destination (an element, or a point). Each end keeps its own anchor from the existing ladder. The schema, contract and x-version are updated, and a re-flow test checks that both ends stay on their elements. The design and done-when are exact, so no owner decision is needed. Related open issues touching the same picker code are #17800, #17801 and #17802, which may cause merge-order conflicts. #17798 waits on this one. I found no duplicate and no merged pull request that already covers it.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.melodic-automation-lanes commentedon Nov 21, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Add a fourth ui-feedback note kind, a move arrow whose source and destination each carry an anchor from the existing ladder, with the schema, contract and x-version updated and a re-flow test.
Acceptance criteria
External state: none
Dependencies
Related work
Sources read
Automated refinement by the lanes App. Intake triages the issue again with it.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"acc77f46762b767e4afaa05d874441294e35c65cb81b27fb6406703af234ff58","body_sha256":"9cd85142b9b5f03494332b4149f42fdcd9532b2114366923890f03542c65a91f"}
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"acc77f46762b767e4afaa05d874441294e35c65cb81b27fb6406703af234ff58","body_sha256":"9cd85142b9b5f03494332b4149f42fdcd9532b2114366923890f03542c65a91f"}
github-actions commentedon Nov 21, 2026
github-actions commentedon Nov 21, 2026