Repository navigation
feat(client): annotate draft images before sending - #1
Draft
PriyanshuMallick wants to merge 5 commits into
Draft
PriyanshuMallick wants to merge 5 commits into
PriyanshuMallick wants to merge 5 commits into
Conversation
Add crop and shape handles, inline text, smooth strokes, and tooltips. Keep the canvas stable and allow restyling selected marks with undo. Preserve crop boundaries and saved image proportions.
Thread transfer impact
This comment will update automatically after the next completed run. |
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.
Edit images already attached to a chat draft without exporting them to another app. Clicking a draft image opens tools for cropping, drawing, text, boxes, ellipses, erasing and mosaic. Saved edits return to the same attachment; reopening preserves the original and undo/redo history.
This is a draft in the personal fork, against
image-annotations-base, which excludes the unrelated agent-panel commits underneath the prototype. It is not an upstream submission or a claim of maintainer approval.Web and desktop share the web editor. Mobile uses separate live gesture previews, tracks the initiating finger, supports crop pinch and handle double-tap reset, and preserves tracked edits on native interruption. No new editor dependency is added.
Validation: 19 focused image-annotation tests pass, including extra-finger tracking, crop pinch limits/transitions, reset, reversible styling and overlapping-mark erasing. Web and mobile typechecks pass. The Android development APK was installed and Metro built its bundle successfully during setup; the latest pinch/double-tap interactions have not been verified on a device. Before/after images and a motion recording remain required before marking this draft ready.
Upstream already merged pingdotgg#44657 for web/desktop draw and erase. This older prototype must be adapted to the current upstream editor and file-backed mobile attachment APIs before any upstream follow-up. The current upstream contribution rules require a maintainer request for an unvouched contributor's feature PR.
Related: pingdotgg#19126