From e25f231697e49245ecb4d2aba7a29c98018431ec Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 22 Sep 2024 14:59:53 +0200 Subject: [PATCH] AI Assistant widget (#1115) * feat: add assistan widget * feat: remove gtm * feat: assistant - minify js, add option UI * feat: assistant - ability to toggle assistant * chore: update version to 1.102.00 * chore: resolve version conflict * chore: cleanup * chore: cleanup * feat: ai widget - improve style --------- Co-authored-by: Azgaar --- index.css | 15 +++++++++++++++ index.html | 19 ++++++++++++++----- libs/openwidget.min.js | 1 + main.js | 28 +++++++++++++++++++++++++++- modules/ui/options.js | 7 +++++-- versioning.js | 3 ++- 6 files changed, 64 insertions(+), 9 deletions(-) create mode 100644 libs/openwidget.min.js diff --git a/index.css b/index.css index 49ecd8f0..b36a0716 100644 --- a/index.css +++ b/index.css @@ -2388,6 +2388,21 @@ svg.button { } } +#chat-widget-minimized { + animation: fadeIn 1s ease-in; + transform: scale(0.65); + opacity: var(--bg-opacity); +} + +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: var(--bg-opacity); + } +} + @media print { div, canvas { diff --git a/index.html b/index.html index 3c4d525b..e3154e9e 100644 --- a/index.html +++ b/index.html @@ -138,7 +138,7 @@ } - + @@ -1827,6 +1827,16 @@ + + + Azgaar assistant + +