Create tags from sub-directories (fixes #31) #48

Merged
ValleyGeek merged 7 commits from 0.1.20/issue-31-create-tags-from-subdirs into main 2026-06-12 05:32:51 +00:00
Member

Summary

Adds Create from Sub-directories to the tag toolbox so users can derive workspace tags from folder names and optionally auto-assign them to scanned images.

Closes #31 / DR-020. Release 0.1.21.

Features

  • Options dialog: images-only dirs, auto-tag, first-level naming, replace user tags
  • Modal Building Tag List progress (comma-formatted counts) with Cancel Generate (keeps partial work)
  • Tag toolbox: bold Tags heading; New Tag row one; Create from Sub-directories + Bulk Create right-aligned row two
  • Reuses existing tags matching directory names; creates only missing tags
  • Directory scan status counts also use American thousands separators

Tests

  • tests/test_subdir_tags.py, tests/test_subdir_tag_build_dialog.py, tests/test_scan_progress.py, tests/test_format_utils.py

Threading notes

No worker changes; incremental apply runs on the main thread with processEvents between steps.

## Summary Adds **Create from Sub-directories** to the tag toolbox so users can derive workspace tags from folder names and optionally auto-assign them to scanned images. Closes #31 / DR-020. Release **0.1.21**. ## Features - Options dialog: images-only dirs, auto-tag, first-level naming, replace user tags - Modal **Building Tag List** progress (comma-formatted counts) with **Cancel Generate** (keeps partial work) - Tag toolbox: bold **Tags** heading; **New Tag** row one; **Create from Sub-directories** + **Bulk Create** right-aligned row two - Reuses existing tags matching directory names; creates only missing tags - Directory scan status counts also use American thousands separators ## Tests - `tests/test_subdir_tags.py`, `tests/test_subdir_tag_build_dialog.py`, `tests/test_scan_progress.py`, `tests/test_format_utils.py` ## Threading notes No worker changes; incremental apply runs on the main thread with `processEvents` between steps.
Add a tag-panel action and dialog to derive workspace tags from
sub-directory names, with options to limit scope, auto-assign tags,
use first-level directory names, and replace existing user tags.
Includes pure planner logic, TagManager integration, and unit tests.
docs: PR-prep for issue #31 (release 0.1.21)
All checks were successful
CI / lint (pull_request) Successful in 12s
CI / test (pull_request) Successful in 3m4s
CI / nuitka-smoke (pull_request) Successful in 19m1s
31a2f626a9
Document Create from Sub-directories in the user guide, changelog,
README, and design specs; record DR-020; bump VERSION to 0.1.21.
Bold the Tags heading; move Create from Sub-directories and Bulk Create
to a second row. Show a modal Building Tag List progress dialog during
the operation with Cancel Generate support that keeps partial results.
Add format_count for American thousands separators in scan status text
and the sub-directory tag build dialog. Reuse workspace tags whose names
already match directory names instead of treating them as conflicts.
ui: shorten replace-tags tooltip on subdir dialog
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / nuitka-smoke (pull_request) Has been cancelled
343047edbb
docs: PR-prep for issue #31 (release 0.1.21)
All checks were successful
CI / lint (pull_request) Successful in 7s
CI / test (pull_request) Successful in 1m25s
CI / nuitka-smoke (pull_request) Successful in 8m32s
e7d30dfb87
Document final sub-directory tag UX (toolbox layout, progress dialog,
tag reuse, comma-formatted counts) and bump VERSION to 0.1.21.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!48
No description provided.