[Feature]: Add Grid View to Duplicate Workbench #138
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#138
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
Allow the user to quickly browse duplicate groups by thumbnail in a grid.
Proposed solution
Add a new vertical separator then button to the left of "Multi" on the duplicate workbench called "Dupe Grid" to enter a grid view comprised of duplicate groups.
Alternatives considered
No response
Implemented on branch
0.2.4/issue-138-dupe-grid-view(pushed, awaiting PR tomain):E/double-click now bounces between the last two distinct dupe views used (Grid/Multi/Single), defaulting to Grid ↔ Multi.W/Smove the grid selection up/down (next/previous group is preserved in Multi/Single).Deletekey marks the whole selected group DELETE (reuses the existing Delete Group undo/advance logic).Added unit/widget tests (
tests/test_dupe_group_grid.py,tests/test_dupe_grid_view.py); full suite (566 passed), ruff, and the UI-exit smoke all pass. This is the first branch in the v0.3.0 tranche (VERSIONbumped 0.2.4 → 0.3.0).Follow-up after real-world testing at scale (2,200 images / 270 duplicate groups), pushed to the same branch (
0.2.4/issue-138-dupe-grid-view):_refresh_dupe_group_grid()issued one DB query per visible group; replaced with a single batchedWorkingDB.get_dupe_group_representatives()call (~12x faster on a synthetic benchmark at this scale).select_tag()only scrolls (minimally, viaEnsureVisible) when actually entering/returning to the view; routine resyncs leave the viewport alone.W/Snot working as group-navigation shortcuts when Single view is opened directly from Dupe Grid (skipping Multi) — the shortcut re-enable was only wired on the Multi-entry path.Still open pending PR/merge to
main.Fixed another bug found in testing, pushed to the same branch (
0.2.4/issue-138-dupe-grid-view) and propagated forward through the stack (#136, #113, #131, #116 all rebased and re-verified):Double-clicking an image tile inside the Multi comparison grid always opened Single, ignoring the "bounce to whichever of the last two distinct views isn't active" rule that double-click/
Ealready use correctly everywhere else (Dupe Grid↔Single and Single↔Grid/Multi both consult that history). So if your last two views were Dupe Grid and Multi, double-clicking an image in Multi should land back in Dupe Grid, not Single — that case was hardcoded to Single. Fixed by routing it through the sametoggle_target_view()check.Still open pending PR/merge to
main.Closing — PR #140 is open against
main.