3 Commits

Author SHA1 Message Date
MarcusNyne
eef1f1e0c6 Improvements for pnginfo
- Handled no negative prompt scenario
- Include new lines in positive/negative prompts
- Added links to the top to copy png info sections (all/positive/negative/settings)
2024-08-24 17:27:32 -04:00
MarcusNyne
54fc0980d5 Fixed lint problems
Lint run against python and javascript
2024-08-19 18:36:49 -04:00
MarcusNyne
efa87a6abe Display features for PNG Info tab
Text on PNG Info tab is parsed and colorized in a way that makes it easier to read.  Parameter values can be copied by clicking on them.
- High performance regex used for parsing
- Normal values are displayed in blue, but string content is displayed in orange to improve readability (i.e. adetailer prompts)
- Clicking to copy uses a pointer cursor and a green color animation to show something is happening
- Color choices configured differently for dark mode in order to optimize readability
- Copying strings with \n automatically converts to newlines during copy operation
- Settings that don't follow normal conventions are not parsed, but displayed in the old style (i.e. dynamic prompt templates)
- If there are parsing issues (or exceptions), defaults to the old display mode
2024-08-19 17:26:56 -04:00