feat(specs): add image annotation notes field and media-image-annotations spec#457
Merged
feat(specs): add image annotation notes field and media-image-annotations spec#457
Conversation
- add optional notes field to Attachment TypeSpec model and regenerate - add notes textarea in image preview dialog (AttachmentChip) so users can write notes directly in the modal when clicking on an image - notes shown read-only when onNotesChange is not provided - wire notes through DrawerActionBar and FeatureCreateDrawer attachment state so changes are tracked per-attachment - include image notes in composeUserInput as [Note: ...] suffix after each @/path reference, propagating into spec.yaml userQuery and all agent prompts - for rejection flow, append image notes to feedback text so the agent receives them via the rejection feedback channel - update AttachmentChip stories with ImageFileWithNotes example - add tests for composeUserInput notes behaviour Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ions spec - add optional notes field to Attachment json-schema for user annotations - scaffold spec 074 for media image annotations feature
Add amber sticky-note badge overlay on image thumbnails when notes exist, with a styled tooltip showing note content on hover. Improves the note preview UX from raw [Note: ...] text to a polished visual indicator. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
notesfield toAttachmentJSON schema, enabling users to attach text annotations to images074-media-image-annotationsdefining the feature lifecycle for image annotation notesContext
Feature #74 — users can add a textbox note to image previews in the media modal. Notes are attached to the image attachment object and flow through to agent prompts and spec storage.
Test plan
Attachment.yamlschema includesnotesas an optional string fieldspecs/074-media-image-annotations/is correctly scaffolded🤖 Generated with Claude Code