Skip to content

Add thumbs up quick label button to annotation toolbar#588

Merged
backnotprop merged 2 commits intomainfrom
claude/add-thumbs-up-annotation-63yVy
Apr 19, 2026
Merged

Add thumbs up quick label button to annotation toolbar#588
backnotprop merged 2 commits intomainfrom
claude/add-thumbs-up-annotation-63yVy

Conversation

@backnotprop
Copy link
Copy Markdown
Owner

@backnotprop backnotprop commented Apr 19, 2026

Summary

Added a "Looks good" quick label button with a thumbs up emoji (👍) to the annotation toolbar, providing users with a quick way to mark content as approved.

Key Changes

  • Defined a new THUMBS_UP_LABEL constant with id, emoji, text, and green color styling
  • Added a new toolbar button that triggers the onQuickLabel callback with the thumbs up label
  • Positioned the button before the existing quick labels menu button
  • Applied green hover styling (hover:bg-green-500/10) to match the label's semantic meaning

Implementation Details

  • The button uses the same ToolbarButton component as other toolbar actions
  • The emoji is rendered as a centered span with appropriate sizing (w-4 h-4)
  • The button is only rendered when onQuickLabel callback is provided, maintaining existing conditional rendering patterns

claude and others added 2 commits April 19, 2026 04:30
A one-click "👍 Looks good" button joins the existing quick-label
system so users can approve a selection, code block, or diff hunk
without opening the picker. Covers plan, annotate, and plan-diff
modes (all share the same AnnotationToolbar).

https://claude.ai/code/session_01SDPAqLeAh41DLAzCkuGmKD
For provenance purposes, this commit was AI assisted.
@backnotprop backnotprop merged commit 104be99 into main Apr 19, 2026
7 checks passed
@backnotprop backnotprop deleted the claude/add-thumbs-up-annotation-63yVy branch April 19, 2026 15:45
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.

2 participants