stable-diffusion-webui-data.../scripts
Christopher Crockett 952bd8f119 Added tag sorting to UI
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)
2023-02-23 14:51:52 -05:00
..
dataset_tag_editor Added tag sorting to UI 2023-02-23 14:51:52 -05:00
dynamic_import.py enable hotreload with "Apply and restart UI" on Extensions tab 2022-12-29 19:44:46 +09:00
main.py Added tag sorting to UI 2023-02-23 14:51:52 -05:00