From 1ffcea2d3afb62eb6451683dde67c7af9e1933cc 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 dba16da2..8d90b329 100644 --- a/index.css +++ b/index.css @@ -2432,6 +2432,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 e96b4e3c..493c58a1 100644 --- a/index.html +++ b/index.html @@ -138,7 +138,7 @@ } - + @@ -1847,6 +1847,16 @@ + + + Azgaar assistant + +