feat: add Zoom Lens annotation tool#4657
Open
N1et wants to merge 1 commit into
Open
Conversation
Add a new annotation tool that magnifies a selected area into a repositionable and resizable popup with a colored connector line. Features: - Select source area with click-and-drag, zoom popup appears in real-time - Popup auto-positions to the right (or left/below/above if no space) - Connector line from source center to popup center, hidden behind both rects - Independent popup movement (drag inside popup) - Proportional popup resize via mid-right handle - Source area resize via corner and edge midpoint handles - Red border by default, configurable via toolbar color picker - HiDPI-aware rendering - Click anywhere on source or popup to select the tool Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
|
@N1et thanks for clarifying in the comment under the issue that this is AI assisted. We don't have a policy against AI, but we appreciate the transparency and honesty. I would be thankful if you xan also add a sentence about it in this PR too for the sake of transparency. I haven't managed to go through the code fully yet, but just wanted to comment that perhaps we should design the SVG ourselves or get it from a known source with Creative Commons license to avoid potential copyright issues. |
Author
|
I added the same observation about AI on PR description. |
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.
Add a new annotation tool that magnifies a selected area into a repositionable and resizable popup with a colored connector line.
I'm not a dev, just warning about it, i used claude to help me
Features: