I've updated the documentation where appropriate to reflect the new
changes introduced for the new tag sorting feature
Unfortunately, I was only able to update one of the two impacted
images (ss05.png). I don't have access to the pictured sample dataset,
so I'll have to rely upon the author to update the image for ss06.png themselves
Apologies for the 外人の日本語. 日本語上手ないですよ
This implementation utilizes the pre-existing DatasetTagEditor.sort_tags method.
Currently sorting is hardcoded as ascending alphabetical ("123abc"), but
it should be trivial to provide a UI for the various other options
provided by the method if anyone particularly wants alternative sorting.
Tags may be sorted as a batch for all filtered tags via a new button
- Found under: Batch Edit Captions > Extras > Sort selected tags
- The "Extras" menu was created as part of this commit
There is also an option to automatically sort tags upon clicking the
"Apply changes to selected image" button when editing tags via the
"Edit Caption of Selected Image" menu
- Disabled by default
- Enabled via: "Sort caption on save" checkbox (same menu)
commit d445c1e15ded70cb511dfbf46ad414063d877294
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sat Feb 18 01:28:26 2023 +0900
Update dataset_tag_editor.py
commit 08342e87eb0501b2bd793ed91df0c2bc9e3ad9c9
Author: toshiaki1729 <116595002+toshiaki1729@users.noreply.github.com>
Date: Sat Feb 18 01:27:30 2023 +0900
Add file path info to image not for gallery to make temp file (#38)