Open RafaelEstevamReis opened 1 year ago
A lot of places publishes their prompts in the same format
[Positive] Negative Prompt: [negative] [settings]
This small PR parses a prompt in the clipboard and updates the UI
I tried to keep all styles and structure
OsUtils.cs
Data.TtiSettings
FormParsing.LoadTtiSettingsIntoUi
I did not know a good place to put the action, so I placed it inside the Dev menu as Import prompt from clipboard
Import prompt from clipboard
If I miss anything, let me know Thanks in advance
A lot of places publishes their prompts in the same format
This small PR parses a prompt in the clipboard and updates the UI
I tried to keep all styles and structure
OsUtils.cs
to check for clipboard contentData.TtiSettings
to transport and migrate the settingsFormParsing.LoadTtiSettingsIntoUi
to update the UII did not know a good place to put the action, so I placed it inside the Dev menu as
Import prompt from clipboard
If I miss anything, let me know Thanks in advance