Conversation
remove unused rules CSS
with backwards compatibility
|
Hey! Thanks a bunch. ❤ There's a lot to learn here for me.
I absolutely love all of them, but the InputAccordion might have to go in the next update as I explained here to keep it consistent with other extension. But I'm willing to take it for a spin till then and see if it can change my mind. 😁 |
lol
it looks like somehow sd-webui-detail-daemon/scripts/detail_daemon.py Lines 15 to 23 in 447b915 was not executed, very weird
I think it might be possible to patch in a javascript that change the color on acative for all InputAccordions
|
*** Error executing <function Script.ui.<locals>.<lambda> at 0x0000021DFCAE8430>
Traceback (most recent call last):
File "E:\A1111\stable-diffusion-webui\modules\infotext_utils.py", line 492, in paste_func
v = key(params)
File "E:\A1111\stable-diffusion-webui\extensions\sd-webui-detail-daemon\scripts\detail_daemon.py", line 76, in <lambda>
(gr_start, lambda d: extract_infotext(d, 'st', 'DD_start')),
File "E:\A1111\stable-diffusion-webui\extensions\sd-webui-detail-daemon\scripts\detail_daemon.py", line 70, in extract_infotext
return d['Detail Daemon'].get(key)
AttributeError: 'str' object has no attribute 'get'
I figured it out this is caused by it will work up to you first gen then |
looked it up, they switch 2 mounts age |
I throw together a quick extension to add this |
Oh I see.
Mine is (was) from 2024-03-09. lol!
Oooh this is perfect. 👌 Guess that's bye bye to the old ways then. 😁 |
yeah CSS is magic, the this could be done in pure CSS, Python is just there to allow user customization of the colors if you want to do something more advanced beyond what I allow in the settings, you could ditch the extension and write your own CSS rule into your own
|



unnecessary
remove unused Imports
remove unnecessary install script
numpymatplotlibare sub dependencies of web UIso there's no point of installing them yourself
numpyis it dependency of losts of packages andmatplotlibis a dependency ofgradioUI fixes
switch to InputAccordion

using the webui custom gradio component InputAccordion an
Accordion with checkboxas opposed to using the custom JavaScript activation color change you've created yourself
circumvents the issue where you have multiple elements of the same ID across different tabs causeing togging the
img2img enablewill chenge the color of thetxt2img accordionuse class for css
use class to specify these styles as opposed to using ID, it's also circumvents the issue where you have multiple elements of the same ID across different tabs
if for some reason in the future or in other extensions you do need
elem_idthen useself.elem_id('XXX')to create the idvideo
before video
2024-05-14.19_25_56_631.chrome.mp4
after video
2024-05-14.19_28_07_192.chrome.mp4
optional change
theres is no issue with the current implementation but I feel like it's taking up lots of space
I feel it makes sence to compact all of the info into one key removing the need of adding so many
DD_xxxxxxnote: has backwards compatibility with old format
before PR
after PR
I think every commit in this PR is
Cherry Pickableif you don't like a certain change