1
0
mirror of https://github.com/vladmandic/sdnext.git synced 2026-01-29 05:02:09 +03:00
Commit Graph

120 Commits

Author SHA1 Message Date
Alex Heller
89ffca0c88 Merge branch 'master' of https://github.com/vladmandic/automatic into settings-improvements 2023-06-08 19:52:14 +02:00
Alex Heller
4c567b1f84 Exclude licenses from all settings.
Also switches to the corresponding "show all settings" tab now for more consistency.
2023-06-08 19:16:36 +02:00
Alex Heller
69ab29b097 Moved dirty setting tab indicator element creation to python backend side 2023-06-08 18:46:41 +02:00
Vladimir Mandic
efbe364f7d js optimizations 2023-06-05 14:26:01 -04:00
Alex Heller
62e9635a5b Adapted setting search to new tabitem node layout 2023-06-05 04:45:43 +02:00
Alex Heller
bbb0aadddf Removed old resetting to previous values
This is due to a change in `_js` which lead to the instant updates breaking :(
Need to reinvestigate how to actually fix this.
For now the broken feature got replaced with a working, but sloooow solution (updates one by one when resetting)
2023-06-05 04:26:07 +02:00
Alex Heller
1b90460a3f Merge remote-tracking branch 'upstream/master' into settings-improvements 2023-06-05 02:52:29 +02:00
Alex Heller
d182699f82 Fixed unsaved indicator not updating with "apply settings" 2023-06-05 01:15:26 +02:00
Alex Heller
825d0cacb8 Changed the default value hover messages. 2023-06-05 01:10:07 +02:00
Alex Heller
8c6ed7fe11 Added support for differentiation between "default unsaved" and "changed" settings. 2023-06-05 00:57:30 +02:00
Alex Heller
a1881ff0cd Consolidated options metadata in frontend ui.js 2023-06-04 23:40:11 +02:00
Alex Heller
9da0f71f9b Removed some variables from global scope. 2023-06-04 18:19:37 +02:00
Alex Heller
993da0a680 Some cleanup on the frontend side 2023-06-04 17:46:15 +02:00
Alex Heller
ba5b46b570 Removed repeated calls to unfold other tabs when in show all mode. 2023-06-04 17:15:38 +02:00
Alex Heller
c6f50fcf4a Fixed wrong type for init of stored settings in ui.js 2023-06-04 04:45:21 +02:00
Alex Heller
6c8e7a75c7 Added initial sync of unstored parameters to the UI. 2023-06-04 04:39:48 +02:00
Vladimir Mandic
d25b020f61 update 2023-06-02 12:29:21 -04:00
Vladimir Mandic
251dc341f9 restruct html/js and cleanup 2023-06-01 17:44:15 -04:00
Vladimir Mandic
364df7036e redo progressbar 2023-06-01 11:43:28 -04:00
Vladimir Mandic
8f4bc4df08 update changelog 2023-05-31 12:44:35 -04:00
Vladimir Mandic
2ee38ccd0e update 2023-05-28 16:07:13 -04:00
Vladimir Mandic
7254925dca add settings search 2023-05-28 11:46:48 -04:00
Vladimir Mandic
efd3810860 diffusers merge 2023-05-26 22:42:03 -04:00
Alex Heller
f4cd452c14 Made show all settings a tab instead of a separate button
This makes it play more nicely with the other tabs.
It still needs some js though to keep the other setting tabs open, when resetting settings.
2023-05-20 00:18:46 +02:00
Vladimir Mandic
08d7829478 fix script order 2023-05-18 07:47:18 -04:00
Alex Heller
d2108ab2b9 Made setting tabs move to top if not enough space
Currently the tabs will be ordered in grid fashion, but might be worth considering to somehow bring back the original flex tab layout.
This is hard though due to the interleaved modification indicators,
and the inability to wrap the tab headers in a custom div
(as gradio's svelte replaces the wrapper with each ui update)
2023-05-17 03:40:16 +02:00
Vladimir Mandic
ff4f94fc2a fixes 2023-05-16 18:05:29 -04:00
Vladimir Mandic
a9139294c4 Merge pull request #830 from bruno-c/ui-js-fix-cors-error
Fetch from API using relative path to avoid CORS errors
2023-05-09 11:25:43 -04:00
Vladimir Mandic
9f1004d2b6 fix tab ordering 2023-05-09 11:13:10 -04:00
Bruno Carriere
302aed34b7 Fetch from API using relative path to avoid CORS errors 2023-05-09 10:36:28 -04:00
Vladimir Mandic
57ae792004 add ui ordering 2023-05-09 09:09:31 -04:00
Alexandre Froger
891b61d09f Make opts global
Allow extension to tap into opts (like https://github.com/froger-me/sd-webui-aspect-ratio-helper)
2023-05-09 19:16:57 +08:00
Vladimir Mandic
4d9fab4984 fix txt_fullfn 2023-05-08 11:56:59 -04:00
Alex Heller
1fdbab5e64 Fix: Issue with show all setting pages 2023-05-08 00:15:51 +02:00
Alex Heller
47a19f1f83 Slightly changed hover information
Now it's more in line with the toplevel indicator message.
2023-05-08 00:11:09 +02:00
Alex Heller
16b5281d13 Added toplevel change indicator functionality 2023-05-08 00:09:53 +02:00
Alex Heller
a48e2b90a5 Added visual toplevel setting change indicators 2023-05-07 23:21:37 +02:00
Vladimir Mandic
c470f39913 merge fixes 2023-05-04 16:55:41 -04:00
Vladimir Mandic
a677253b7c add api-logo workaround 2023-05-04 10:45:25 -04:00
Vladimir Mandic
303574ebfc draft full merge from upstream 2023-05-04 09:27:48 -04:00
Vladimir Mandic
5d8c787a7b restart server redesign 2023-05-03 17:20:22 -04:00
Vladimir Mandic
530dafc453 cleanup 2023-05-02 08:54:47 -04:00
Alex Heller
ab03159e59 Fix: Bar was not removed for array settings (checkbox-group)
Hopefully this is the last time the behaviour needs to be adapted for that setting type.
2023-05-02 01:02:14 +02:00
Alex Heller
2d82bc67d4 Changed modification indicator to button element
The setting value now resets to previous when clicking on the indicator.
Furthermore, when hovering over the indicator it also shows what the last value was.
2023-05-01 03:38:44 +02:00
Alex Heller
ddfee28e7c Use Json serialized value to compare previous value
This is done so that arrays get compared correctly (deep compare)
2023-04-30 23:15:53 +02:00
Alex Heller
2c5ec7ce0b Improvement: Added individual setting changed indicator 2023-04-30 04:07:02 +02:00
Vladimir Mandic
1f6261be80 jumbo patch 2023-04-27 13:12:20 -04:00
Vladimir Mandic
4a848e43d3 add builtin gradio themes 2023-04-22 08:35:17 -04:00
Vladimir Mandic
ee3cea54eb fix live preview 2023-04-19 07:52:26 -04:00
Vladimir Mandic
ed32259bf7 reconnect ui on browser restart 2023-04-18 12:10:30 -04:00