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
Commit 0ae40e7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(annotate): restore a restricted thumbs-up on comment-only HTML surfaces
The v0.27.5 comment-only ruling removed every label affordance from HTML
and live-app annotate surfaces, leaving no one-click positive feedback:
the only path was opening the composer and typing prose. Restore exactly
ONE affordance, the hardcoded 'Looks good' thumbs-up, on both input
routes:
- selection toolbar: commentOnly + a provided onQuickLabel now renders
only the thumbs-up (no Delete, no Zap picker, Alt+digit suppressed);
HtmlViewer passes a handler that filters by label id as defense in
depth
- pinpoint: the composer gains an optional one-click 'Looks good'
footer action (disabled once anything is typed, so it can never
discard a draft), emitting the same isQuickLabel comment shape with
the draft's multi-select targets
The trust-boundary clamp is untouched: redline/quickLabel modes stay
collapsed to selection, so a hostile page still cannot force a DELETION
or an arbitrary label. THUMBS_UP_LABEL moves to utils/quickLabels as
the canonical definition.
0 commit comments