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 toggle that shows or hides every note marker on the prototype #17802
Once notes are sent, their numbered markers stay drawn over the prototype (lib/ui-feedback/proto-pin.js, draw() draws every pin). With many notes they crowd the page, and there is no way to hide them to look at or use the mockup as it is.
Change
One toggle in the dock, with a key, shows or hides every marker. It is separate from the pick modes: hiding markers never ends a pick, and the page works normally whenever no pick mode is on.
The toggle's state lasts for the run, across reloads.
Basis: Figma enters comment mode with C (Add comments to files); Markup.io separates Comment and Browse modes and shows pins while browsing only when "Show pins in browse" is on (Markup anything, March 2023). The owner asked for annotations as a layer that can be turned off (interview 2026-11-20).
Done when
A test hides markers, clicks a page control under where a marker was and sees the control act; shows them again after a reload.
Part of the owner's feedback-tool fixes, needed before the /architecture:improve report prototype review (#17798).
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the ui-feedback prototype pin library and dock (proto-pin.js and its test); people using the feedback tool on prototypes.
Reversible: yes; revert the change.
Open questions: none
Understood: add one dock toggle, with a key, that shows or hides all note markers. It is independent of the pick modes. Markers pass clicks through outside a pick mode. The toggle state persists across reloads for the run. Done when a test hides the markers, clicks a page control beneath where one was and sees it act, then shows them again after a reload. No duplicate or merged fix found. Related open issues touching ui-feedback are separate requests.
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: A dock toggle with a key in the ui-feedback host page hides or shows every note marker the frame helper draws, independent of pick modes, with the state kept across reloads for the run.
Which host page carries the toggle? lib/ui-feedback/host.html has the dock (line 51) but never posts a pins message to the frame, so it draws no markers today; only the planning shared page's proto.js appears to send pins. Add marker drawing to host.html, or put the toggle in the planning page's dock?
RECOMMENDED: Put the toggle in host.html and have host.html send the pins message for sent notes, since the issue names the dock and the bridge hands host.html the page. Basis: lib/ui-feedback/host.html:51
The issue says a marker is clicked only to open its note, but markers sit in a layer with pointerEvents none and have no click handler, so they are not clickable now. Should this issue make markers open their note, or only guarantee they never take page clicks outside a pick mode?
RECOMMENDED: Only guarantee markers never take page clicks outside a pick mode; opening a note from a marker is a separate feature needing a new message and handler. Basis: lib/ui-feedback/proto-pin.js:204
What does 'lasts for the run, across reloads' mean as storage? The frame is sandboxed without allow-same-origin so it has no usable storage, and the host page has no storage code today. Where should the state live: host page sessionStorage, localStorage, or the notes bridge server?
RECOMMENDED: Host page sessionStorage, re-sent to the frame as a message on ready, so it survives a reload of the tab and needs no bridge change. Basis: lib/ui-feedback/host.html:5
Which key toggles the markers? N, P, R and T are taken in the host keydown handler.
RECOMMENDED: M, as in markers, handled in the host keydown handler beside the other keys and skipped in text fields. Basis: lib/ui-feedback/host.html:513
Which test file and harness checks the done-when? Existing tests run proto-pin.js in a vm context with no layout, so they cannot click a control under a marker.
RECOMMENDED: Add a browser-driven test through the notes bridge, such as a Playwright page that clicks the control and reloads, or accept a vm test that asserts the layer is hidden and pointer-events stay none. Basis: lib/ui-feedback/note-model.test.mjs:73
Sources read
/home/runner/work/claude-code-plugins/claude-code-plugins/refine-data/context.json: issue 17802, no comments, no duplicate or fixed-by candidate
lib/ui-feedback/proto-pin.js:204: the marker layer is pointerEvents none
lib/ui-feedback/proto-pin.js:231: draw() draws every pin, with no show or hide state
lib/ui-feedback/proto-pin.js:343: pins arrive by a pins message from the parent
lib/ui-feedback/host.html:51: the dock button toggles the notes panel only (N)
lib/ui-feedback/host.html:501: the host keydown handler uses N, P, R and T
lib/ui-feedback/host.html:5: the frame is sandboxed without allow-same-origin
lib/ui-feedback/note-model.test.mjs:73: tests run proto-pin.js in a vm context
To answer, post a comment that starts with this line:
**Decision recorded.** <answer>
Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.
Correction to this issue's problem statement: on the notes host, sent notes draw no markers today, because the host never sends the frame a pins message (found while landing #17812). The show/hide toggle needs markers to exist first. That arrives with #17801, so this issue moves after it.
Activity
github-actions commentedon Nov 21, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the ui-feedback prototype pin library and dock (proto-pin.js and its test); people using the feedback tool on prototypes.
Reversible: yes; revert the change.
Open questions: none
Understood: add one dock toggle, with a key, that shows or hides all note markers. It is independent of the pick modes. Markers pass clicks through outside a pick mode. The toggle state persists across reloads for the run. Done when a test hides the markers, clicks a page control beneath where one was and sees it act, then shows them again after a reload. No duplicate or merged fix found. Related open issues touching ui-feedback are separate requests.
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: A dock toggle with a key in the ui-feedback host page hides or shows every note marker the frame helper draws, independent of pick modes, with the state kept across reloads for the run.
Related work
Open questions
RECOMMENDED: Put the toggle in host.html and have host.html send the pins message for sent notes, since the issue names the dock and the bridge hands host.html the page. Basis: lib/ui-feedback/host.html:51
RECOMMENDED: Only guarantee markers never take page clicks outside a pick mode; opening a note from a marker is a separate feature needing a new message and handler. Basis: lib/ui-feedback/proto-pin.js:204
RECOMMENDED: Host page sessionStorage, re-sent to the frame as a message on ready, so it survives a reload of the tab and needs no bridge change. Basis: lib/ui-feedback/host.html:5
RECOMMENDED: M, as in markers, handled in the host keydown handler beside the other keys and skipped in text fields. Basis: lib/ui-feedback/host.html:513
RECOMMENDED: Add a browser-driven test through the notes bridge, such as a Playwright page that clicks the control and reloads, or accept a vm test that asserts the layer is hidden and pointer-events stay none. Basis: lib/ui-feedback/note-model.test.mjs:73
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 21, 2026
Correction to this issue's problem statement: on the notes host, sent notes draw no markers today, because the host never sends the frame a
pinsmessage (found while landing #17812). The show/hide toggle needs markers to exist first. That arrives with #17801, so this issue moves after it.kyle-sexton commentedon Nov 21, 2026
Update: markers exist on the notes host once #17812 merges, since it sends
pinsafter every list change. The toggle can follow #17812 directly.