stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Feature Request]: create all "send to" buttons in one function

Open yfszzx opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

Similar “send to” buttons of four tab pages, repeated writing the code for four times, and extension developer also have to repeat codes of button when they need. So it's time to create all "send to" buttons in one function

Proposed workflow

this also can make "ui.py" file more the file more concise.

By the way,a core file of the project has more then 2k lines of codes, it is a terrible thing for maintaining this project . I also suggest to move "PNG info" and "Checkpoint merge" and "Train" tab pages to extensions

@AUTOMATIC1111 I am working at combine all "send to" buttons into one module. And if you agree, I will move "PNG info" and "Checkpoint merge" and "Train" tab pages to extensions ,which inherent in the project

Additional information

No response

yfszzx avatar Oct 26 '22 13:10 yfszzx