Repository navigation
Add editable pointer annotations to screenshots - #698
Open
jamesmontemagno wants to merge 11 commits into
Open
jamesmontemagno wants to merge 11 commits into
jamesmontemagno wants to merge 11 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Lay out the pointer Nudge and resize buttons in an equal-width grid so Make pointer larger is no longer clipped in the 277px inspector. - Label the pointer style picker Style, matching Redact, instead of repeating the Pointer inspector title. - Restore the assertion that invalid default-tool values leave the setting unchanged, and revert an unrelated SettingIds reformat. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Active issues cause Windows preview shadows to differ from exported images and allow macOS pointer resizing to exceed the Size inspector’s limits.
2 open issues
What changed in this PR
Adds editable Arrow, Hand, and I-beam annotations to TinyClips’ macOS and Windows screenshot editors. This offers an alternative for documentation screenshots; capturing the actual cursor via a hotkey remains outside this PR, so #692 stays open.
Changes:
- Adds pointer placement, styling, resizing, rotation, undo support, and rendering.
- Extends Agent Control with pointer annotations and shared geometry fixtures.
- Updates editor controls, regression coverage, documentation, and changelogs.
| File | Description |
|---|---|
| windows/tests/TinyClips.Core.Tests/ScreenshotFixtureTests.cs | Tests pointer geometry and hotspot-preserving resizing. |
| windows/tests/TinyClips.Core.Tests/ScreenshotExportTests.cs | Tests pointer appearance snapshots. |
| windows/tests/TinyClips.Core.Tests/AutomationSettingsCatalogTests.cs | Tests the pointer default-tool setting. |
| windows/tests/TinyClips.Core.Tests/AutomationCaptureTargetingTests.cs | Tests pointer parsing and validation. |
| windows/tests/TinyClips.App.Tests/SettingsViewModelTests.cs | Updates expected default-tool choices. |
| windows/tests/TinyClips.App.Tests/ScreenshotEditorTextMarkupTests.cs | Checks pointer inspector controls and labels. |
| windows/src/TinyClips.Core/Editing/ScreenshotRenderState.cs | Adds pointer tool and snapshot state. |
| windows/src/TinyClips.Core/Editing/PointerGeometry.cs | Defines pointer appearance, outlines, and sizing. |
| windows/src/TinyClips.Core/Editing/EmojiAnnotationMath.cs | Exposes reusable maximum-size calculation. |
| windows/src/TinyClips.Core/Automation/AutomationAnnotationParser.cs | Parses and validates pointer annotations. |
| windows/src/TinyClips.App/Views/ScreenshotEditorWindow.xaml.cs | Adds the P tool shortcut. |
| windows/src/TinyClips.App/ViewModels/SettingsViewModel.cs | Adds pointer to default-tool choices. |
| windows/src/TinyClips.App/Controls/Settings/ScreenshotSettingsSection.xaml | Displays the pointer default-tool option. |
| windows/src/TinyClips.App/Controls/ScreenshotEditor/EditorToolbar.xaml.cs | Connects pointer toolbar selection. |
| windows/src/TinyClips.App/Controls/ScreenshotEditor/EditorToolbar.xaml | Adds pointer button and updates Select icon. |
| windows/src/TinyClips.App/Controls/ScreenshotEditor/EditorInspector.xaml.cs | Connects pointer controls and state synchronization. |
| windows/src/TinyClips.App/Controls/ScreenshotEditor/EditorInspector.xaml | Adds pointer styling and placement controls. |
| windows/src/TinyClips.App/Controls/ScreenshotEditor/EditorController.cs | Implements pointer editing, undo, and export. |
| windows/src/TinyClips.App/Controls/ScreenshotEditor/EditorCanvas.xaml.cs | Adds pointer previews and canvas interaction. |
| windows/CHANGELOG.md | Documents Windows pointer editing. |
| skills/tinyclips-capture/SKILL.md | Adds Agent pointer-annotation guidance. |
| shared/screenshot/tools/generate_fixtures.py | Generates shared pointer fixtures. |
| shared/screenshot/README.md | Documents pointer fixture coordinates. |
| shared/screenshot/fixtures/pointer/pointer.json | Supplies shared silhouettes and hotspots. |
| shared/automation/commands.json | Extends the annotation command schema. |
| mac/TinyClipsTests/ScreenshotFixtureTests.swift | Tests shared pointer geometry. |
| mac/TinyClipsTests/ScreenshotEditorViewModelTests.swift | Tests placement, resizing, undo, and rendering. |
| mac/TinyClipsTests/CaptureSettingsTests.swift | Tests pointer default-tool persistence. |
| mac/TinyClipsTests/AutomationCaptureTargetsTests.swift | Tests pointer parsing and validation. |
| mac/TinyClips/Views/ScreenshotEditorWindow.swift | Adds pointer controls and reorganizes sliders. |
| mac/TinyClips/Views/ScreenshotEditorViewModel.swift | Implements pointer editing and export. |
| mac/TinyClips/Views/ScreenshotEditorModels.swift | Defines pointer models and geometry. |
| mac/TinyClips/Views/ScreenshotEditorCanvas.swift | Adds pointer placement and preview rendering. |
| mac/TinyClips/Automation/AutomationAnnotations.swift | Parses Agent pointer annotations. |
| docs/agent-integration.md | Documents pointer parameters and settings. |
| CHANGELOG.md | Records macOS pointer and slider changes. |
| agent/CHANGELOG.md | Records Agent pointer support. |
Review effort: Balanced
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.

Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
0198cb35ece444b93319c2e7a1cd22813e9df390↓ Latest editor UI changes have not been manually verified on both platforms.
Pointer annotations help people highlight where to click in screenshots used for documentation. This adds editable Arrow, Hand, and I-beam pointers to the macOS and Windows screenshot editors, with color, stroke, opacity, and shadow controls.
Validation
Relates to #692