[Feature]: Sort into Folders by Multi-Tag #80
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#80
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
Tagging images with multiple tags blocks sorting
Proposed solution
Add a checkbox to the
Sort into Folder by Tagsdialog for "Create Multi-Tag Directories" which will create a directory with the name of all the applied tags sorted alphabetically and delimited by commas. An image with multiple tags would then get moved into a directory named[Tag1], [Tag2], [TagN]Alternatives considered
No response
Implemented on branch
0.1.43/issue-40-50-80-sort-into-folders(queued for PR tomain, not yet opened; version bumped to 0.1.44), alongside #40 and #50.New Create Multi-Tag Directories checkbox in the Sort into Folders dialog, off by default (DR-010's single-tag behavior is unchanged when unchecked). When enabled, images with more than one workspace tag become eligible too, and move into a folder named after every tag, sorted alphabetically and comma-separated (e.g.
Beach, Mountain) — exactly as proposed. The preview list and exclusion counts rebuild live when the checkbox is toggled.is_sort_eligible(),single_sort_tag(), andsort_exclusion_reason()(core/sort_into_folders.py) gained amulti_tagkeyword, threaded through the matchingWorkingDBquery methods andSortWorker. Recorded the relaxation of DR-010 as DR-024 indocs/DECISIONS.md(default behavior is unchanged; the new behavior is opt-in per run). Covered by new tests intests/test_pr12_actions.py(eligibility/destination-naming logic, dialog checkbox/rebuild, end-to-endSortWorkermove).Closing as implemented.