[Feature]: Select 'Keep' Option in Duplicate Workbench #136
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem or use case
Grant the user more autonomy when selecting which image to keep
Proposed solution
Replace the keep behavior in the duplicate workbench.
Implemented on branch
0.2.4/issue-136-keep-dropdown(stacked on0.2.4/issue-138-dupe-grid-view), pushed and awaiting PR/merge.What changed:
Resolution - Largest(matches the prior Keep Best behavior). NewKEEP_CRITERIA/DEFAULT_KEEP_CRITERION/pick_keep_path_by_criterion()/keep_by_criterion_delete_paths()incore/dupe_detector.py; ties break alphabetically by relative path.cis wired as the default shortcut for the newdupe_keepaction via the existing shortcut-registry/override mechanism (shown as "C" in Settings → Shortcuts), and overridable like other shortcuts.Testing: new unit coverage for the criterion-picking helpers and fallback-on-unknown-id behavior (
tests/test_pr11_dupe.py), the default shortcut (tests/test_pr13_config.py), and the new dropdown/AoK widgets +MainWindow._on_dupe_keep_bestintegration (tests/test_dupe_keep_criteria.py). Full suite (587 tests) passes;ruff check/ruff format --checkclean;scripts/smoke-ui-exit.shclean.Docs:
resources/help/USER_GUIDE.md,docs/DESIGN.md,docs/TECHNICAL_OUTLINE.mdupdated;VERSIONbumped to0.2.5per PR-prep policy with aCHANGELOG.mdentry.Commits:
19823a8(feature),400f0f9(tests),e3da1ba(PR-prep/docs/version).Follow-up after review feedback, pushed to the same branch (
0.2.4/issue-136-keep-dropdown):Still open pending PR/merge to
main.Closing — PR #141 is open against
main.