Skip to content

fix(ui): remove the annotation panel's per-row Copy button - #1520

Merged
backnotprop merged 1 commit into
mainfrom
fix/element-context-copy-gate
Sep 12, 2026
Merged

fix(ui): remove the annotation panel's per-row Copy button#1520
backnotprop merged 1 commit into
mainfrom
fix/element-context-copy-gate

Conversation

@backnotprop

@backnotprop backnotprop commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Follow-up to #1517. The per-row Copy button added to annotation cards was not part of the ask: the element context is meant to ride the annotation into the exported feedback the agent receives, which #1517 does. The card chrome goes back to Edit and Delete on every surface; no host-visible UI change ships on the next @plannotator/ui bump.

exportAnnotationEntry stays on @plannotator/ui/utils/parser as a pure helper (hosts that surface one annotation to an agent, and the tests that pin it against the full export).

Panel DOM suites and the parser suite pass; ui typecheck clean.

The panel's card chrome goes back to Edit and Delete. The element context
still rides every HTML and live-app pinpoint into the exported feedback;
exportAnnotationEntry stays as a pure helper for hosts and tests.
@backnotprop
backnotprop force-pushed the fix/element-context-copy-gate branch from 9de4475 to 991490e Compare September 12, 2026 23:48
@backnotprop backnotprop changed the title fix(ui): gate the annotation panel's Copy on element context, not the anchor fix(ui): remove the annotation panel's per-row Copy button Sep 12, 2026
backnotprop added a commit that referenced this pull request Sep 12, 2026
Element context on HTML and live-app pinpoints (#1517, #1520). Core stays
0.25.2; peer ranges unchanged from 0.38.2.
@backnotprop
backnotprop merged commit b8e64cb into main Sep 12, 2026
28 checks passed
@backnotprop
backnotprop deleted the fix/element-context-copy-gate branch September 12, 2026 23:57
backnotprop added a commit that referenced this pull request Sep 12, 2026
* fix(ui): remove the annotation panel's per-row Copy button

The panel's card chrome goes back to Edit and Delete. The element context
still rides every HTML and live-app pinpoint into the exported feedback;
exportAnnotationEntry stays as a pure helper for hosts and tests.

* chore(ui): bump @plannotator/ui to 0.39.0

Element context on HTML and live-app pinpoints (#1517, #1520). Core stays
0.25.2; peer ranges unchanged from 0.38.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant