Commit Graph

148 Commits

Author SHA1 Message Date
Sj-Si
26b0416611 fix more bugs and improve stability of code. 2024-03-22 16:16:45 -04:00
Sj-Si
ef29f65a25 fix more bugs. clean up more. 2024-03-21 16:03:27 -04:00
Sj-Si
8c8536f34e fix remaining known bugs. clean up code. 2024-03-20 14:01:38 -04:00
missionfloyd
6e420c7be2
Merge branch 'dev' into extra-networks-buttons 2024-03-19 19:03:53 -06:00
missionfloyd
d7f48472cc Fix extra networks buttons when filename contains an apostrophe 2024-03-19 18:50:25 -06:00
Sj-Si
9194c0b8b2 fix more bugs. clean up more. 2024-03-18 21:59:41 -04:00
Sj-Si
fb07a60690 clean up presentation of dirs view. need to resolve issue with initial load of tree view. 2024-03-15 19:11:30 -04:00
Sj-Si
08da356a2f fix more bugs. clean up more. 2024-03-15 14:31:58 -04:00
Sj-Si
f490498396 Fix bugs. clean up. Need to finish code cleanup. 2024-03-14 16:51:52 -04:00
Sj-Si
83e85ad0e9 add clusterize lists. need to debug. 2024-03-13 17:11:44 -04:00
Alexandre Macabies
0085e719a9 Add model description to searched terms.
This adds the model description to the searchable terms.
This is particularly useful since the description can be used to store
arbitrary tags, independently from the filename, which is imposed by the
model publisher.
2024-03-09 21:53:38 +01:00
AUTOMATIC1111
6136db1409 linter 2024-03-09 12:21:46 +03:00
AUTOMATIC1111
18d801a13d stylistic changes for extra network sorting/search controls 2024-03-09 08:25:01 +03:00
AUTOMATIC1111
5251733c0d use natural sort in extra networks when ordering by path 2024-03-09 07:24:51 +03:00
AUTOMATIC1111
7d1368c51c lint 2024-03-08 17:11:56 +03:00
AUTOMATIC1111
530fea2bc4 optimization for extra networks sorting 2024-03-08 17:09:11 +03:00
AUTOMATIC1111
3bd75adb1c optimization for extra networks filtering 2024-03-08 16:54:39 +03:00
AUTOMATIC1111
a551a43164 add an option to have old-style directory view instead of tree view 2024-03-08 09:52:25 +03:00
catboxanon
ecffe8513e
Lint 2024-03-04 18:46:25 -05:00
catboxanon
801461eea2 Re-use profiler visualization for extra networks 2024-03-04 18:33:22 -05:00
Aarni Koskela
e3fa46f26f Fix various typos with crate-ci/typos 2024-03-04 08:42:07 +02:00
Andray
b4c44e659b fix on reload with changed show all loras setting 2024-02-27 23:17:52 +04:00
Andray
de7604fa77 lint 2024-02-27 18:38:38 +04:00
Andray
44bce3c74e resize handle for extra networks 2024-02-27 18:31:36 +04:00
AUTOMATIC1111
dd1641ecc4 fix an exception when filtering extra networks very early 2024-02-17 09:46:04 +03:00
AUTOMATIC1111
7dae6bb3b5 fix search UI invisible in an extra network tab that just loaded 2024-02-17 09:45:48 +03:00
AUTOMATIC1111
2e1b61e590 change condition for scheduleAfterScriptsCallbacks() to properly reflect the needed amount of search fields 2024-02-17 09:45:03 +03:00
Kohaku-Blueleaf
23f03d4796 Update extraNetworks.js 2024-02-16 16:43:43 +08:00
AUTOMATIC1111
1ff1c5be64 fix refresh button forgetting sort order for extra networks #14588 2024-02-02 20:51:54 +03:00
AUTOMATIC1111
5904e3f6b3 fix page refresh not re-applying sort/filter for #14588
fix path sortkey not including the filename for #14588
2024-02-02 19:30:59 +03:00
AUTOMATIC1111
94d4b3c8e7 lint 2024-01-23 00:36:31 +03:00
AUTOMATIC1111
f4e931f18f put extra networks controls row into the tabs UI element for #14588 2024-01-22 23:20:30 +03:00
Sj-Si
2310cd66e5 Add toggle button for tree view. Use default settings for sortmode and direction. 2024-01-20 11:43:45 -05:00
Sj-Si
69f4f148dc Fix various bugs including refresh bug. 2024-01-18 12:13:33 -05:00
Sj-Si
f25c81a744 Fix embeddings add/remove to/from prompt on click bugs. 2024-01-17 22:38:51 -05:00
Sj-Si
ccee26b065 fix bugs 2024-01-16 14:54:07 -05:00
Sj-Si
4f96267033 Finish cleanup. 2024-01-16 13:35:01 -05:00
Sj-Si
f49c220c03 Move extra network tab buttons into tree view; 2024-01-15 17:34:44 -05:00
Sj-Si
d88424ef2a fix bugs. introduce new ones. 2024-01-15 13:40:47 -05:00
Sj-Si
019f6e3c5a fix linting 2024-01-14 13:49:39 -05:00
Sj-Si
261972f929 fix search box handling. sort maybe broken not sure. need to bug test and finish cleanup. 2024-01-14 13:39:01 -05:00
Sj-Si
02e6963325 continue cleanup and redesign. 2024-01-13 13:16:39 -05:00
Sj-Si
036500223d Merge changes from dev 2024-01-11 16:37:35 -05:00
Sj-Si
0726a6e12e Finish base layout. Fix bugs. Need to test for stability and clean up. 2024-01-11 15:06:57 -05:00
Sj-Si
3db6938caa begin redesign of tree module. 2024-01-10 18:11:48 -05:00
Sj-Si
df8aa69a99 Add tree-view display for extra networks. 2024-01-08 14:10:03 -05:00
Learwin
a2f23f9d22 Code Style fixes 2023-12-30 22:16:51 +01:00
Learwin
bc5ae74c7d Added negative prompts to extra networks lora 2023-12-30 21:52:27 +01:00
missionfloyd
01c8f1803a
Close popups with escape key 2023-11-30 22:36:12 -07:00
AUTOMATIC1111
2a40d3c603 compact prompt layout: preserve scroll when switching between lora tabs 2023-11-26 14:58:56 +03:00
AUTOMATIC1111
4d4a9e7332 added compact prompt option 2023-11-05 19:19:55 +03:00
AUTOMATIC1111
d9499f4301 properly apply sort order for extra network cards when selected from dropdown
allow selection of default sort order in settings
remove 'Default' sort order, replace with 'Name'
2023-11-05 10:12:50 +03:00
AUTOMATIC1111
c4ffeb857e
Merge pull request #13480 from AUTOMATIC1111/popup-fix
Fix accidentally closing popup dialogs
2023-10-03 12:37:46 +03:00
missionfloyd
e5381320b9 Lint 2023-10-02 22:33:03 -06:00
missionfloyd
86a46e8189 Fix accidentally closing popup dialogs 2023-10-02 22:22:15 -06:00
AUTOMATIC1111
fcfe5c179b
Merge pull request #12877 from zixaphir/removeExtraNetworksFromPrompt_fix
account for customizable extra network separators in remove code
2023-09-30 09:49:37 +03:00
missionfloyd
99aa702015 Update card on correct tab 2023-09-26 21:08:55 -06:00
zixaphir
26d0d87f5b Remove extra spaces 2023-09-09 17:26:46 -07:00
zixaphir
d6478a60aa Remove extra network separator without regex 2023-09-09 17:22:10 -07:00
zixaphir
78c1a74660 Account for edge case where user deleted leading separator. 2023-08-31 14:18:35 -07:00
zixaphir
41196ccbf7 account for customizable extra network separators in remove code
previous behavior only searched for leading spaces
2023-08-30 20:20:19 -07:00
AUTOMATIC1111
66d7630705 lint 2023-08-27 10:11:22 +03:00
AUTOMATIC1111
63d3150dc4 lint 2023-08-27 10:11:14 +03:00
AUTOMATIC1111
6139b145f0 fix style editing dialog breaking if it's opened in both img2img and txt2img tabs 2023-08-27 09:45:08 +03:00
AUTOMATIC1111
23c6b5f124 fix style editing dialog breaking if it's opened in both img2img and txt2img tabs 2023-08-27 09:39:49 +03:00
AUTOMATIC1111
5daf7983d1 when refreshing cards in extra networks UI, do not discard user's custom resolution 2023-08-14 19:27:04 +03:00
AUTOMATIC1111
c74c708ed8 add checkbox to show/hide dirs for extra networks 2023-08-05 09:15:18 +03:00
AUTOMATIC1111
ef1698fd6d Merge branch 'dev' into extra-networks-always-visible 2023-08-05 08:01:38 +03:00
AUTOMATIC1111
699108bfbb hide cards for networks of incompatible stable diffusion version in Lora extra networks interface 2023-07-17 18:56:22 +03:00
w-e-w
543ea5730b fix extra search button 2023-07-17 16:35:41 +09:00
AUTOMATIC1111
5ef7590324 always show extra networks tabs in the UI 2023-07-16 11:38:59 +03:00
AUTOMATIC1111
a1d6ada69a allow refreshing single card after editing user metadata instead of all cards 2023-07-16 08:38:23 +03:00
AUTOMATIC1111
11f339733d add lora user metadata editor dialog inspired by MrKuenning's mockup from #7458 2023-07-16 00:57:45 +03:00
AUTOMATIC1111
5decbf184b eslint 2023-07-15 21:05:33 +03:00
AUTOMATIC1111
e5d3ae2bf4 user metadata system for custom networks 2023-07-15 20:39:10 +03:00
catboxanon
4cc0cede6d lint fixes 2023-06-02 04:12:08 +00:00
catboxanon
7dca8e7698 Support dynamic sort of extra networks 2023-06-02 04:08:45 +00:00
AUTOMATIC
57b75f4a03 eslint related file edits 2023-05-18 09:59:10 +03:00
Aarni Koskela
9c54b78d9d Run eslint --fix (and normalize tabs to spaces) 2023-05-17 16:09:06 +03:00
Weiming
e378590d33 Fix remove textual inversion prompt 2023-05-17 10:20:11 +08:00
AUTOMATIC
083dc3c76a directory hiding for extra networks: dirs starting with . will hide their cards on extra network tabs unless specifically searched for
create HTML for extra network pages only on demand
allow directories starting with . to still list their models for lora, checkpoints, etc
keep "search" filter for extra networks when user refreshes the page
2023-05-08 11:33:45 +03:00
Aarni Koskela
f6a40a2ffa Fix unused variables 2023-04-30 22:26:11 +03:00
Aarni Koskela
8ccc27127b Fix a whole bunch of implicit globals 2023-04-30 22:08:52 +03:00
AUTOMATIC
b7c14ed041 final part of merging #8749 2023-03-25 12:10:03 +03:00
AUTOMATIC1111
8dbe793af5
Merge branch 'master' into extra-network-info 2023-03-25 12:08:24 +03:00
AUTOMATIC
9ed04e759d use HTTP request to fetch metadata for Lora cards instead of including it into the main page 2023-03-25 10:11:04 +03:00
missionfloyd
8e3ced73a8 Add event.stopPropagation() to extraNetworksShowMetadata()
Prevent bubbling the same way "replace preview" does
2023-03-20 18:04:22 -06:00
AUTOMATIC
c19530f1a5 Add view metadata button for Lora cards. 2023-03-14 09:10:26 +03:00
AUTOMATIC1111
6106f6d0a0
Merge pull request #7965 from Kilvoctu/extranet-buttons
Use emojis for extra network buttons
2023-03-12 08:25:03 +03:00
Kilvoctu
247a34498b restore text, remove 'close'
don't use emojis for extra network buttons; remove 'close'
2023-03-11 13:11:26 -06:00
AUTOMATIC
aaa367e35c new setting: Extra text to add before <...> when adding extra network to prompt 2023-03-11 14:18:18 +03:00
AUTOMATIC
8d7382ab24 add buttons for auto-search in subdirectories for extra tabs 2023-01-29 11:34:58 +03:00
AUTOMATIC
f6b7768f84 support for searching subdirectory names for extra networks 2023-01-29 10:20:19 +03:00
AUTOMATIC
0a8515085e make it so that clicking on hypernet/lora card one more time removes the related from the prompt 2023-01-28 23:31:48 +03:00
AUTOMATIC
159f05314d make extra networks search case-insensitive 2023-01-22 10:30:55 +03:00
AUTOMATIC
424cefe118 add search box to extra networks 2023-01-21 17:20:24 +03:00
AUTOMATIC
184e23eb89 relocate tool buttons next to generate button
prevent extra network tabs from putting images into wrong prompts
prevent settings leaking into prompt
2023-01-21 09:58:57 +03:00
AUTOMATIC
40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00