Add per-photo movement and resize to Automate Framing - #7
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Add keyboard-accessible movement and preserve non-center crop alignment during scaling.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (2)
What changed in this PR
Adds per-photo movement and resizing to Automate Framing, preserving placement in previews and ZIP exports.
Changes:
- Adds drag, resize, slider, and reset controls.
- Applies transforms during rendering and export.
- Documents per-photo placement.
| File | Summary |
|---|---|
src/utils/zipExporter.js |
Exports per-photo transforms. |
src/utils/smartCrop.js |
Calculates transformed placement; edge alignment needs correction when scaling. |
src/utils/canvasRenderer.js |
Renders transformed photos. |
src/components/FrameCompositor/FrameEditor.jsx |
Adds placement controls; keyboard movement support is missing. |
README.md |
Documents per-photo placement. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+1498
to
+1500
| {isEditingPhoto && activeDocImgObj?.src === activeDoc?.src && ( | ||
| <div ref={photoInteractionRef} onPointerDown={(event) => handlePhotoPointerDown(event)} | ||
| className="absolute z-40 border-2 border-dashed border-cyan-400/80 bg-cyan-500/5 cursor-move touch-none select-none" |
Comment on lines
+57
to
+58
| const baseX = cover.offsetX - (renderWidth - cover.renderWidth) / 2; | ||
| const baseY = cover.offsetY - (renderHeight - cover.renderHeight) / 2; |
EruzaDev
deleted the
5-add-movement-and-resize-feature-for-the-image
branch
September 27, 2026 12:50
This branch was successfully 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.

Summary
Checks
npm run buildoxlinton changed source files