[Enhancement]: Reviewed Duplicate Groups Don't Persist Across Sessions #67

Closed
opened 2026-06-13 00:34:31 +00:00 by ValleyGeek · 1 comment
Owner

App version

0.1.25

Platform

Both

Steps to reproduce

  1. View a duplicate group to generate a blue checkmark
  2. Close the application
  3. Reopen the application
  4. Navigate to duplicate workbench

Expected behavior

Blue checkmarks next to reviewed groups

Actual behavior

no blue checkmarks present.

Additional context

Store review state for duplicate groups in the database. Ensure to delete the row when a duplicate group is removed so the state is reset if a new, identically named group is created later.

### App version 0.1.25 ### Platform Both ### Steps to reproduce 1. View a duplicate group to generate a blue checkmark 2. Close the application 3. Reopen the application 4. Navigate to duplicate workbench ### Expected behavior Blue checkmarks next to reviewed groups ### Actual behavior no blue checkmarks present. ### Additional context Store review state for duplicate groups in the database. Ensure to delete the row when a duplicate group is removed so the state is reset if a new, identically named group is created later.
ValleyGeek changed title from [Bug]: Reviewed Duplicate Groups Don't Persist Across Sessions to [Enhancement]: Reviewed Duplicate Groups Don't Persist Across Sessions 2026-06-19 22:04:33 +00:00
Member

Implemented on branch 0.1.45/issue-21-57-67-dupe-workbench-depth (chained off the previous dev branch, not merged to main yet).

Reviewed duplicate groups now persist in the per-directory workspace cache: WorkingDB gains a reviewed_dupe_groups table (schema bumped 1 → 2, with an additive migration for existing workspaces) and mark_dupe_group_reviewed() / get_reviewed_dupe_group_names(). The Duplicates panel reloads its reviewed-state from the DB on every refresh and writes through immediately when you open a group, so the blue checkmark now survives closing and reopening the app.

Per your note in the issue, the row is deleted whenever its dupe tag is removed (both in the "single-member cleanup" pass after a scan and in the "Clear File/Visual Dupes" actions), so if a tag name is later recycled for an unrelated group, that new group starts unreviewed rather than showing a stale checkmark.

Bundled with #57 and #21 in the same branch/PR since they all touch the Duplicates workbench.

Implemented on branch `0.1.45/issue-21-57-67-dupe-workbench-depth` (chained off the previous dev branch, not merged to `main` yet). Reviewed duplicate groups now persist in the per-directory workspace cache: `WorkingDB` gains a `reviewed_dupe_groups` table (schema bumped 1 → 2, with an additive migration for existing workspaces) and `mark_dupe_group_reviewed()` / `get_reviewed_dupe_group_names()`. The Duplicates panel reloads its reviewed-state from the DB on every refresh and writes through immediately when you open a group, so the blue checkmark now survives closing and reopening the app. Per your note in the issue, the row is deleted whenever its dupe tag is removed (both in the "single-member cleanup" pass after a scan and in the "Clear File/Visual Dupes" actions), so if a tag name is later recycled for an unrelated group, that new group starts unreviewed rather than showing a stale checkmark. Bundled with #57 and #21 in the same branch/PR since they all touch the Duplicates workbench.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ai-collab/bulk-image-organizer#67
No description provided.