From dc12adad5dc37a6519d6b660aaec34192c07b874 Mon Sep 17 00:00:00 2001 From: Thanasis Galianis <32474602+Lyrcaxis@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:37:48 +0300 Subject: [PATCH] Added customizable UI for Instruct mode (#26) * progress * more progress * even more progress (getting close) * 95% there! * fixup to use proper tags * push the polyfill fix onto existing code to prevent older browsers from breaking * Moved 'Customize UI' button under 'Gear' menu, and made it only appear in Instruct Mode * Minor fix to account for instruct tags in preview mode * Added support of UI Customization for mobile (no live preview) * Made images be compressed and serialized only once. Added support for compressing PNG images to support transparency. * Removed placeholder help icon from Portrait Style * Fixed bug preventing 'Edit' button to be clicked on new stories * Updated initial values * Minor design tweak for preparing new AI reply * Moved code around * Added comments * minor real-time-update tweak on portrait swap * Fixed rendering of embedded HTML parts. * Fixed bug requiring enhanced_chat_UI to be ticked to render enhanced_instruct_UI * Increased responsiveness of Preview Panel. * fixup for last commit (Increased responsiveness of preview panel) * fixed all the wonky layout issues with aesthetic instruct. settings persist still need improvement, cancel still not working * Fixed OK/Cancel buttons * Disabling 'persist_session' now does not load instruct UI customization settings * OK/Cancel fixup.. oof * polyfill incompatibles * WIP layouting and portraits improvements * data range sanitization * cleanup all remaining issues and prepare for squashmerge --------- Co-authored-by: Concedo --- index.html | 631 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 590 insertions(+), 41 deletions(-) diff --git a/index.html b/index.html index f01ca1a..b40aa23 100644 --- a/index.html +++ b/index.html @@ -1704,8 +1704,22 @@ /*--------- end chat window---------------*/ + + + + @@ -8240,8 +8605,6 @@ Share - - @@ -8320,6 +8683,7 @@ + @@ -9087,8 +9451,193 @@ + +