mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[PR #93] [MERGED] Umi suggestion filtering #255
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#255
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?
📋 Pull Request Information
Original PR: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/93
Author: @ctwrs
Created: 12/24/2022
Status: ✅ Merged
Merged: 12/26/2022
Merged by: @DominikDoom
Base:
main← Head:umi-suggestions📝 Commits (3)
d2b5142Umi filtering - initial version0c3397aFix umi tag autocomplete filtering logic1620160Merge branch 'DominikDoom:main' into umi-suggestions📊 Changes
2 files changed (+117 additions, -13 deletions)
View changed files
📝
javascript/tagAutocomplete.js(+114 -8)📝
scripts/tag_autocomplete_helper.py(+3 -5)📄 Description
This is implementing an initial version of tag filtering. The goal is to get suggestions that take previous tags into account. This will make Umi prompting viable for widespread use. Right now debugging prompts it a bit tedious because we have to run the prompt to get debug info about what keywords get matched.
I still have to find a good solution for optional tags, so that it will match all other tags no matter where they are defined and only limit the selection to what's filtered through neg and pos parts.
https://user-images.githubusercontent.com/116893749/209415626-0444e51d-27b4-4fac-9928-c82dbb9d4f02.mov
Code quality and naming feedback appreciated. Wrote it late at night and I'm surprised it even works.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.