AUTOMATIC1111
d2097dbdd9
added onOptionsAvailable callback for javascript for
2024-06-09 21:33:32 +03:00
AUTOMATIC1111
4573195894
prevent escape button causing an interrupt when no generation has been made yet
2024-02-17 11:40:53 +03:00
catboxanon
46988af636
Fix Esc
interrupt when button not visible
2024-02-15 13:05:39 -05:00
kaalibro
6513470f0d
Remove unnecessary 'else', add 'lightboxModal' check
2023-12-11 18:06:08 +06:00
kaalibro
cee1a40651
Fix linter issues
2023-12-10 17:06:12 +06:00
kaalibro
1d42babd32
Replace Ctrl+Alt+Enter with Esc
2023-12-10 16:28:56 +06:00
kaalibro
9c201550dd
Add keyboard shortcuts for generation
...
(Removed Alt+Enter) Ctrl+Enter to start/restart generation
(New) Alt/Option+Enter to skip generation
(New) Ctrl+Alt/Option+Enter to interrupt generation
2023-12-09 21:04:45 +06:00
kaalibro
94e9669566
Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed
2023-11-13 14:51:06 +06:00
Khachatur Avanesian
d33cb2b812
Add files via upload
...
LF
2023-10-15 11:01:45 +03:00
Khachatur Avanesian
3e223523ce
Update script.js
2023-10-15 10:48:50 +03:00
Khachatur Avanesian
d295e97a0d
Update script.js
...
LF instead CRLF
2023-10-15 10:37:48 +03:00
Khachatur Avanesian
77bd953da2
Update script.js
...
Exclude lambda
2023-10-15 10:25:36 +03:00
Khachatur Avanesian
f00eaa4d00
Start / Restart generation by Ctrl (Alt) + Enter
...
Add ability to interrupt current generation and start generation again by Ctrl (Alt) + Enter
2023-10-15 02:34:03 +03:00
Aarni Koskela
f81931c591
Frontend: only look at top-level tabs, not nested tabs
...
Refs https://github.com/adieyal/sd-dynamic-prompts/issues/459#issuecomment-1568543926
2023-05-30 17:54:29 +03:00
Aarni Koskela
bc53ecf298
Add onAfterUiUpdate callback
2023-05-25 09:09:01 +03:00
Aarni Koskela
54696dce05
Document on* handlers (for extension authors' sake)
2023-05-25 09:03:14 +03:00
Aarni Koskela
9574ebe212
Merge executeCallbacks and runCallback, simplify + optimize
2023-05-25 09:02:41 +03:00
Aarni Koskela
f661fb0fd3
Just use console.error, it's in all browsers
2023-05-25 09:00:45 +03:00
Thottyottyotty
7b61acbd35
split visibility method and sort instead
...
split out the visibility method for pasting and use a sort inside the paste handler to prioritize on-screen fields rather than targeting ONLY on screen fields
2023-05-18 23:43:01 -07:00
Thottyottyotty
e373fd0c00
rewrite uiElementIsVisible
...
rewrite visibility checking to be more generic/cleaner as well as add functionality to check if the element is scrolled on screen for more intuitive paste-target selection
2023-05-18 16:09:09 -07: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
GeorgLegato
d9fdb52149
Update script.js
...
updated how tabs are presented in DOM with Gradio 3.23.
2023-04-03 04:53:29 +02:00
Remixer Dec
22bfcf135f
fix overriding getElementById on document
2023-03-25 18:23:34 +04:00
AUTOMATIC
9f0da9f6ed
initial gradio 3.22 support
2023-03-25 09:00:36 +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
AUTOMATIC
08c6f009a5
load hashes from cache for checkpoints that have them
...
add checkpoint hash to footer
2023-01-14 15:55:40 +03:00
AUTOMATIC
6ffefdcc9f
fix js errors when restarting UI
2023-01-12 19:47:44 +03:00
Gerschel
4fc8154207
better targetting, class tabs was autoassigned
...
I moved a preset manager into quicksettings, this function
was targeting my component instead of the tabs. This is
because class tabs is autoassigned, while element id #tabs
is not, this allows a tabbed component to live in the quicksettings.
2023-01-03 23:25:34 -08:00
apolinario
37139d8aac
No code repeat
2022-12-10 12:51:40 +01:00
apolinario
8eb638cdd3
style change
2022-12-06 15:14:22 +01:00
apolinario
1075819b16
Use shadowRoot if inside of an iframe and don't use it if outside
...
This makes sure it will work everywhere
2022-12-06 15:13:41 +01:00
apolinario
2eb5f103ab
Fix WebUI not working inside of iframes
2022-12-05 16:30:15 +01:00
AUTOMATIC
cf47d13c1e
localization support
2022-10-17 21:15:32 +03:00
aoirusann
db27b987a9
Add hint for ctrl/alt enter
...
And duplicate implementations are removed
2022-10-15 09:59:40 +03:00
Jairo Correa
8b7d3f1bef
Make the ctrl+enter shortcut use the generate button on the current tab
2022-10-11 09:32:03 +03:00
Melan
6c36fe5719
Add ctrl+enter as a shortcut to quickly start a generation.
2022-10-10 19:32:30 +03:00
Connum
c0b1177a32
refactored image paste handling to fill unset images successively, then replace last existing image ( fixes #981 )
2022-09-27 08:59:40 +03:00
Connum
910a3d9427
make callback queue handling reusable and implement onUiTabChange()
2022-09-24 07:44:05 +03:00
AUTOMATIC
f3d83fd68a
add read access to settings for jsavascript
...
add an option to disable lightbox modal
2022-09-18 22:25:18 +03:00
AUTOMATIC
5e80c286ee
script.js split work - ui.js
2022-09-18 09:00:06 +03:00
Andrey
ce799a63e9
Split history script.js to javascript/ui.js
2022-09-18 08:51:47 +03:00
Andrey
1f851193b9
Split history script.js to javascript/ui.js
2022-09-18 08:51:47 +03:00
AUTOMATIC
ae63d82741
script.js split work - progress.js
2022-09-18 08:51:11 +03:00
Andrey
3b9ad0b235
Split history script.js to javascript/progressbar.js
2022-09-18 08:48:47 +03:00
Andrey
bab13135ac
Split history script.js to javascript/progressbar.js
2022-09-18 08:48:47 +03:00
AUTOMATIC
26b52fd1ec
script.js split work - hints.js
2022-09-18 08:48:13 +03:00
Andrey
3641a91bc2
Split history script.js to javascript/hints.js
2022-09-18 08:41:23 +03:00
Andrey
bd219076db
Split history script.js to javascript/hints.js
2022-09-18 08:41:23 +03:00
AUTOMATIC
74c538e84f
script.js split work - dragdrop.js
2022-09-18 08:41:08 +03:00