zero01101 / openOutpaint

local offline javascript and html canvas outpainting gizmo for stable diffusion webUI API 🐠
MIT License
499 stars 43 forks source link

[Feature Request]: to be able to save the settings for the img2img and Dream sections #195

Closed mpmo10 closed 1 year ago

mpmo10 commented 1 year ago

Is your feature request related to a problem? Please describe.

Problem is I don't like the default settings. So every time I change the settings and then close openoutpaint, the settings reset to the default.

Describe the solution you'd like

To either keep the settings unchanged from the last time we opened openoutpaint (best option) or at least let the settings be saved/exported when we use the new "Export Workspace" button. Below are the settings i'm talking about (They are in the Dream and img2img tabs):

2023-02-06 23_53_58-openOutpaint 🐠 2023-02-06 23_54_47-openOutpaint 🐠

Proposed workflow

As I said above, either keep the settings unchanged from the last time we opened openoutpaint or at least let the settings be saved/exported when we use the new "Export Workspace" button

Describe alternatives you've considered

No alternatives available other than manually changing the settings again and again

Additional context

No response

zero01101 commented 1 year ago

hey, so i have a bit of bad news; those context parameters are essentially built into the page DOM on the fly; you may have also noticed that they don't really have localstorage settings persistence like main parameters do.

essentially, i'm not saying it's impossible or that it'll never happen, but it's probably not going to happen particularly soon as it'd kind of take rewriting how the context controls and their parameters are generated :/

mpmo10 commented 1 year ago

hey, so i have a bit of bad news; those context parameters are essentially built into the page DOM on the fly; you may have also noticed that they don't really have localstorage settings persistence like main parameters do.

essentially, i'm not saying it's impossible or that it'll never happen, but it's probably not going to happen particularly soon as it'd kind of take rewriting how the context controls and their parameters are generated :/

ohh i see. Will close this thread then

seijihariki commented 1 year ago

This... Would not be that hard, actually. Will look into implementing this, but I'll be a bit busy for the week. I may or may not do something about this soon.

Other issues have for now a higher priority, as they have been here for quite a while.

Still, this is quite doable, so will be reopening this issue.

seijihariki commented 1 year ago

Give this a look!

seijihariki commented 1 year ago

This should be working. Will be closing as completed, if you have any questions/changes, we can reopen this issue.