Repository navigation
Add evidence to an already-open case - #112
Merged
Merged
Conversation
POST /api/case/ingest already accepted an ingest on a case with files in it already - the only thing missing was a way to reach it once a case is open. The launcher's "New case" screen was the only caller. Adds a "+ Add evidence..." button in the header, between Menu and Close case, opening a dialog with the same source-adding UX as the launcher (paste a path or native-browse to a folder, extraction archive, E01 acquisition, or Project VIC/job JSON; add as many sources as needed) and the same processing options (screening, keyframes, stage, carve). Submits to the existing endpoint and tracks the background job with the standard trackJob()/#taskProg bar, then reloads the gallery. No backend or pipeline changes: process()'s skip-if-already-done logic already leaves previously-processed files alone, and the hashset/dedup/cluster passes already re-scan the whole case, so newly added files are correctly checked against everything already there. Co-Authored-By: Claude Sonnet 5 <[email protected]>
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.
What
Adds a "+ Add evidence…" button to the case header, between Menu and Close case. It opens a dialog to ingest another folder, extraction archive (
.zip/.tar), E01 acquisition, or Project VIC/job.jsoninto the case that's currently open — including one that's already been fully processed.Why
POST /api/case/ingestalready worked on a case with files in it (it only checks that a case is open and no job is running) — the launcher's "New case" screen was simply the only place in the UI that called it. There was no way to add a second dataset to a case after the fact without going around the GUI.How it behaves
/api/case/ingestendpoint and tracks the job with the standardtrackJob()/#taskProgbar, then reloads the gallery.process()'s skip-if-already-done logic already leaves previously-processed files alone (only new rows get hashed/thumbnailed), and the hashset-match/dedup/cluster passes already re-scan the whole case each run, so newly added files are correctly checked against everything already there.Verified manually end to end: an 11-file case was fully processed, then a second folder (7 files, some exact/near duplicates of the first) was added through the new button. Processing history confirmed 11 files were skipped, only the 7 new ones were processed, and duplicate detection correctly found matches spanning both batches.
Testing
python -m pytest tests -q— 408 passed, 3 skippedbash tools/check_line_endings.sh— all LF🤖 Generated with Claude Code