Develop: crop like the loupe, and fix the folder-search build #23

Merged
spark merged 2 commits from task/develop-crop-lightroom into main 2026-10-18 10:06:50 +01:00
Owner

Ships the crop tool already committed locally, and the type annotation that stopped the app and desktop builds (the wait line was inferred as one literal).

Desktop version is 0.3.17 so a new installer can be published. 0.3.14 through 0.3.16 have no release assets because the app build failed before the binary was linked.

Ships the crop tool already committed locally, and the type annotation that stopped the app and desktop builds (the wait line was inferred as one literal). Desktop version is 0.3.17 so a new installer can be published. 0.3.14 through 0.3.16 have no release assets because the app build failed before the binary was linked.
spark added 2 commits 2026-10-18 10:06:49 +01:00
The photo turns under an upright crop while cropping (the engine still renders the
whole frame unturned; the loupe shows the angle), so the crop matches the result.
- Drag outside the crop rotates the photo with the pointer (grid and angle readout).
- Ctrl/Cmd + drag draws a line to level along (horizon or plumb lines).
- Corners and edges resize and stay on the rotated photo; Shift keeps the shape,
  Alt resizes about the centre.
- X swaps portrait/landscape keeping the aspect, A locks the aspect, O / Shift+O
  cycle and turn the guides, Enter done, Esc cancels, Ctrl/Cmd+Alt+R resets.
Geometry is a port of lightcraft-geom (crop.rs, crop_drag.rs) and the ui-egui
crop guides, in apps/app/src/develop/crop.ts, with tests.

Also fixes the app typecheck (CardScan waitLine) that broke the app build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
Desktop 0.3.17 so the installer can build after the app typecheck fix.
ci / rust (pull_request) Failing after 39s
ci / typescript (pull_request) Failing after 7m48s
94b03e76e0
0.3.16 failed in the Mac and Linux builds because the wait line did not typecheck.
spark merged commit 909f38d935 into main 2026-10-18 10:06:50 +01:00
Author
Owner

Merged. The app build was failing on the wait line (what inferred as one literal), so 4f98d1a never replaced the live interface (still 5961054) and desktop-v0.3.16 never published an installer. This merge is 909f38d. Tag desktop-v0.3.17 is the installer that can actually build. The API stays on 9e80ae2: nothing under apps/api changed.

Merged. The app build was failing on the wait line (`what` inferred as one literal), so 4f98d1a never replaced the live interface (still 5961054) and desktop-v0.3.16 never published an installer. This merge is 909f38d. Tag desktop-v0.3.17 is the installer that can actually build. The API stays on 9e80ae2: nothing under apps/api changed.
Sign in to join this conversation.