#42 - The Convert tab shows the latest scan's negatives, without adding them again #45
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
RollNote/rollscan!45
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/42-convert-after-scan"
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?
After a scan of negatives, the Convert tab already has the RAW files that scan saved: nothing to add again by hand. They come in on their own whenever Convert is open, during the scan as well as after it. When the scan ends, a Convert the N negatives button appears under Start scan and opens the tab.
Closes #42
How it works
POST /api/negatives/scannedgives the page those paths and then empties the list, so each file is handed over once. A negative you remove from the Convert list doesn't come back when you switch tabs or reload the page./api/negatives/path). They're read where they are, one at a time, each showing "reading…" until it's in. The app's state includesscanned_negatives(how many are waiting), and Convert takes them whenever it's open and that number isn't zero.Tested
cargo test: 309 passed. A new server test runs a 3-frame scan on the simulated rig and checks that the endpoint returns the 3 RAW files once, then nothing.cargo clippy --all-targetsandcargo fmt --checkare clean, andpnpm buildinsite/passes.Not tested
Changes in behaviour