Upload images from the clipboard and by drag and drop (#53) #56
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/53-paste-and-drop-images"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #53.
Step, cover and category images can now be pasted or dropped, besides chosen as a file. All three ways go through one intake (
src/images/intake.ts,useImageIntake) and then the same type/size checks and 4:3 crop dialog.navigator.clipboard.read()), with messages for "no image" and "no access → use Ctrl/⌘+V".Tests: unit tests for the intake,
e2e/imageIntake.spec.ts(paste in a text field, real Ctrl+V on the focused cover, clipboard button, drops up to a full step). Full unit and e2e suites pass.🤖 Generated with Claude Code