anapnoe / stable-diffusion-webui-ux

Stable Diffusion web UI UX
GNU Affero General Public License v3.0
964 stars 60 forks source link

[Feature Request]: Add option to hide "Replace Preview" action in Extra Networks tab. Currently link takes up too much space, especially in mobile view. #175

Open WildBanjos opened 1 year ago

WildBanjos commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

Feature would be to add an Setting, either in the User Interface or Extra Networks subtab, That would hide the link which can replace the preview for an extra network item.

Currently, the link for the action takes up a fair amount of space, especially when viewing from a mobile device. This leads to plenty of slips where the button is accidently pressed rather than inserting the network/lora/etc.

The attached screenshot shows how much real estate in each button the link takes. The red shaded area shows its average active area. Not the full width of the card, but wide and tall enough to cause accidental slips Screenshots_2023-06-16-01-22-10~2

Proposed workflow

  1. Go to settings to enable/disable the link to replace preview.
  2. Open extra networks tab
  3. Visibility of link reflects option.

Additional information

Depending on your desired design, link could be active by default, with the option to hide it OR could be hidden by default, and the option would enable it (aka edit mode).