feat: add quick annotation labels for one-click preset feedback#268
feat: add quick annotation labels for one-click preset feedback#268backnotprop merged 2 commits intobacknotprop:mainfrom
Conversation
Add preset label chips (Needs tests, Security concern, Break this up, etc.) that allow instant annotation without typing. Includes ⚡ toolbar button, Alt+1..8 keyboard shortcuts, label customization in Settings, and label summary in export output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Looks cool |
|
@grubmanItay we could add a selection mode for Quick Labels as well. Like, you're either in select text or pinpoint mode. I could click on a part of the plan and then just see a dropdown of labels I want to attach to that part of the plan. This would be in addition to the markup selection or comment or red line. Possibly, maybe we'll do this in a new PR. I have a bunch of stacked PRs now I need to deal with, all pertaining to the UI. EDIT: I suggest a new PR because there's some ergonomics and then things like the quick keyboards, where we need to figure out better cycling and inform the user which mode they're on if they're down in the plan. |
|
Nice addition, I will open a new PR for this later |
QA Checklist Results ✅All 10 items passed.
Notes
🤖 Generated with Claude Code via Plannotator checklist |
Keep matchMedia('(pointer: coarse)') from PR over ontouchstart check —
avoids false positives on desktop Chrome with touchscreens.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
Adds preset label chips that allow one-click annotations without typing — aimed at experienced reviewers who give similar feedback repeatedly.
⚡ Quick Labels
⚙️ Customization
📤 Export & Sharing
[🧪 Needs tests]prefixes, with a grouped Label Summary section at the bottomFiles changed
packages/ui/utils/quickLabels.tspackages/ui/components/AnnotationToolbar.tsxpackages/ui/components/Viewer.tsxpackages/ui/components/Settings.tsxpackages/ui/components/KeyboardShortcuts.tsxpackages/ui/types.tsisQuickLabeloptional flag on Annotationpackages/ui/utils/parser.tspackages/ui/utils/sharing.ts