Repository navigation
Saved categories and flags carried between cases; Processing options section on the ingest screen - #268
Merged
Conversation
…ases "Save as my set..." in the category and flag editors copies the case's own categories (never the locked Project VIC presets) and, if ticked, its flags into categories.json in the settings folder. The New case form offers "Start with my saved categories / flags", each its own box, and "Add my saved set..." adds them to an open case: names already there are skipped, a hidden one is shown again, and a category keeps its saved code unless the case already uses it, in which case it takes the next free one and the result says so. Saves and adds go to the case audit log. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t screen Co-Authored-By: Claude Opus 5.5 <[email protected]>
…aved set boxes start unticked The saved categories / flags boxes no longer remember their last state: both start unticked and the examiner chooses each time. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e open; Copy media option moved to the end of Processing options Co-Authored-By: Claude Opus 5.5 <[email protected]>
… above your own Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts (0-5) above your own" This reverts commit fd93ddd.
Reverts 5847243 except moving "Copy media out of extraction/acquisition into the case" to the end of Processing options, which stays. Co-Authored-By: Claude Opus 5.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.
Saved set: carry your own categories and, optionally, flags to other cases
categories.jsonin the settings folder (appconfig.config_dir(), soGLEAPP_CONFIG_DIRisolates it). Categories and flags each have their own box. The locked Project VIC presets (0–5) are never saved, because every case already has them. Saving one part replaces what was saved of it before, and the dialog warns first. A part left unticked keeps what was saved.New module
gleapp/savedset.py;CaseDB.insert_categoryadds a category at a chosen code. Endpoints:GET /api/savedset,POST /api/savedset/save,POST /api/savedset/apply;/api/case/createacceptsuse_categoriesanduse_flags.Ingest screen
The branch history includes a launcher ☰ Menu → Categories editor that was added and then removed (
5847243,fd93ddd, then reverted inf60d133and9cbe1ea). The net diff has none of it.Docs: MANUAL.md, help.html and the README feature table are updated.
Testing
tests/test_saved_set.py(15 tests) covers:test_the_installed_opencv_reads_the_bundled_modelwith "Unknown C++ exception" from OpenCV. It passes on its own onmainand on this branch, and passed in the two later full runs. This change doesn't touch OpenCV.🤖 Generated with Claude Code