Repository navigation
Conversation
|
@jatmn is attempting to deploy a commit to the Cap Software Inc Team on Vercel. A member of the Team first needs to authorize it. |
|
@jatmn thanks for digging into this! A few things before we can merge: 1) apps/desktop-gpui/src/editor_export.rs:136 |
# Conflicts: # apps/desktop-gpui/src/editor_export.rs
|
@greptileai review |
Selecting 1080p for an ultrawide Studio project currently fits the canvas inside 1920×1080, so a 3840×1080 canvas exports at 1920×540. The GPUI export picker now derives width from the configured canvas and selected height, using the same dimensions for previews, estimates, file/clipboard exports, and share-link exports.
The change reuses the renderer’s crop, padding, aspect-ratio, and codec-alignment behavior. Unsupported sizes and zero-height canvases produce recoverable errors before rendering; alignment cannot overflow. Supported presets retain their selected height. Saved presets receive the same validation, and stale preview/estimate results cannot replace an error. Pending sign-in cancellation is handled before size validation, so changing to an unsupported preset does not block Cancel Sign In.
Validation on Linux:
cargo check -p cap-desktop-gpui, andgit diff --checkpass using Rust 1.95.0.Fixes #274.
Reviewed commit:
2bc38acb54af329f3bcc73e2852251e116cfc0be.

Confidence Score: 5/5
The PR appears safe to merge; no actionable defects were found.Summary
The export picker now derives width from the project canvas and the selected height.
The previous commit is an ancestor of the current head, but their merge bases differ. This review therefore covered the full PR diff. No previous review threads were supplied.
git diff --checkpassed. Builds, tests, GUI checks, and encoded-video exports were not run during this review.Reviews (2) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile