Commit Graph

118 Commits

Author SHA1 Message Date
Dominik Reh
9fc9f1ab7d Don't capture keydown if CTRL or ALT is held
Prevents the script from blocking weight editing and prompt submit shortcuts
Fixes #19
2022-10-17 13:56:15 +02:00
DominikDoom
1d12fdcc6a Merge pull request #16 from sgmklp/dev
Ability to add translations in the main csv or additional files.
2022-10-17 11:07:49 +02:00
sgmklp
1387351d4d add match by class 2022-10-17 11:07:54 +08:00
sgmklp
4593a9a4e1 Update javascript/tagAutocomplete.js
Co-authored-by: DominikDoom <34448969+DominikDoom@users.noreply.github.com>
2022-10-17 10:46:44 +08:00
sgmklp
d5636f9026 also add Tags in extra file without translation 2022-10-17 03:47:26 +08:00
sgmklp
59ccb7ac19 will add new Tag in translation to tag list 2022-10-17 03:30:22 +08:00
sgmklp
d8ec8793fa keep the old match function avaliable 2022-10-17 02:03:45 +08:00
sgmklp
b0bc2d9b0b change the match function of translation 2022-10-17 01:57:21 +08:00
DominikDoom
c67fd336fd Add note about caching issues to README 2022-10-16 14:31:30 +02:00
Dominik Reh
5bf0451432 Support nested wildcards 2022-10-16 13:42:50 +02:00
sgmklp
046e2d99fb add a config option to show all result 2022-10-16 19:02:33 +08:00
sgmklp
cb31b072b4 chang maxResults to default 2022-10-16 13:51:08 +08:00
sgmklp
b858370acf allow use extra translation file 2022-10-16 13:43:03 +08:00
sgmklp
854b1952db . 2022-10-16 01:50:07 +08:00
sgmklp
f77283342e add search by translation 2022-10-16 01:47:53 +08:00
sgmklp
ae1ed19b7d suppost only show the translation to result 2022-10-16 00:00:39 +08:00
sgmklp
5f1b8c8da3 . 2022-10-15 23:06:19 +08:00
sgmklp
db6dcc9568 Make the tranlation in csv adding to result, also support Tag without tranlation. 2022-10-15 22:57:04 +08:00
DominikDoom
53899093c8 Merge pull request #15 from sgmklp/dev 1.5.1 2022-10-15 16:07:18 +02:00
Dominik Reh
f9d98740f4 Fix negative prompt autocomplete after UI change 2022-10-15 16:05:49 +02:00
sgmklp
534f07225e fix write wildcard files with Chinese name with wrong coding to wc.txt 2022-10-15 21:43:57 +08:00
Dominik Reh
b8b0673e2d Formatting 2022-10-15 15:32:23 +02:00
DominikDoom
2f0d18a73f Update README.md 1.5.0 2022-10-15 15:15:24 +02:00
Dominik Reh
e68e7389dd Fix for empty wildcard or embed lines showing in results list 2022-10-15 15:15:13 +02:00
Dominik Reh
b5cecc4e8d Fix for wildcard & embedding file extensions 2022-10-15 14:53:34 +02:00
Dominik Reh
96828c241c Enable wildcards and embeds by default
Since we now search automatically, the script also doesn't try to load anything if none are found
2022-10-15 14:39:26 +02:00
Dominik Reh
07d7eddf66 Move script to js folder for easier install 2022-10-15 14:32:41 +02:00
Dominik Reh
08c10928f8 Automatic wildcard & embed discovery 2022-10-15 14:32:02 +02:00
Dominik Reh
a628d96a41 Added UI checkbox to turn off/on without restart
Also helps with #14
2022-10-15 13:23:03 +02:00
Dominik Reh
3a47a9b010 Insert results as textContent instead of innerHtml
Fixes #7
1.4.3
2022-10-14 09:38:51 +02:00
Dominik Reh
fbfc988fe5 Fix for broken RegEx with tags containing parentheses
Have I mentioned that all my homies hate RegEx?
1.4.2
2022-10-13 23:37:28 +02:00
Dominik Reh
a93a209e7e Update README.md 2022-10-13 22:37:23 +02:00
Dominik Reh
f5c00d8de4 Update README.md 2022-10-13 22:06:31 +02:00
Dominik Reh
0b7bb146a5 Fixed text insertion & curser position
This time for real (hopefully)
All my homies hate RegEx
1.4.1
2022-10-13 21:31:37 +02:00
Dominik Reh
f098b14248 Update README.md 2022-10-13 17:36:56 +02:00
Dominik Reh
9710eef4cc Added wildcard info to README 2022-10-13 17:26:17 +02:00
Dominik Reh
db29a6a84a Support completion for the wildcard script
Also some reworks for text insertion, should now work no matter where in the word your cursor is
1.4.0
2022-10-13 17:10:35 +02:00
Dominik Reh
4785142549 Added link wrap to badge 2022-10-13 10:58:21 +02:00
Dominik Reh
cddd9da700 Added release badge to README 2022-10-13 10:53:06 +02:00
Dominik Reh
ae02c749e9 Negative prompts now exclusive to their category
They now only autocomplete if their parent category is active in the config as well
1.3.0
2022-10-13 10:35:08 +02:00
Dominik Reh
fca985ba39 Update README.md 2022-10-13 10:19:47 +02:00
Dominik Reh
fff756cb86 Added functionality for img2img & negative prompts 2022-10-13 10:15:21 +02:00
Dominik Reh
7c21452560 Default to danbooru tag colors 2022-10-13 08:30:28 +02:00
Dominik Reh
4de62638b3 Merge pull request #3 from HalfMAI/fix_input_event 1.2.2 2022-10-13 08:06:22 +02:00
Halfmai
d99bfb7c48 formatting 2022-10-13 11:52:06 +08:00
Halfmai
61e74154b6 fix missing dispatch event to gradio 2022-10-13 11:44:17 +08:00
Dominik Reh
6548775f36 Merge branch 'main' of https://github.com/DominikDoom/a1111-sd-webui-tagcomplete into main 1.2.1 2022-10-12 18:31:38 +02:00
Dominik Reh
fada5a76c3 Config option to escape parentheses 2022-10-12 18:31:32 +02:00
Dominik Reh
aa80ed5c7c Update README.md 2022-10-12 14:52:12 +02:00
Dominik Reh
8ddc737e80 Update README.md 2022-10-12 14:41:55 +02:00