From d9e6df92749f3e3fb3564fe66a73e2d01290b550 Mon Sep 17 00:00:00 2001 From: Ahmad Hassan <76843311+ah7255703@users.noreply.github.com> Date: Sat, 7 Oct 2023 00:11:13 +0300 Subject: [PATCH] implem of confirmation message when the user wants to exit the copilot widget --- copilot-widget/index.html | 27 +---- copilot-widget/lib/CopilotWidget.tsx | 12 ++- copilot-widget/lib/components/ChatHeader.tsx | 42 +++++++- copilot-widget/lib/components/Dialog.tsx | 102 ++++++++++++++++++ copilot-widget/lib/screens/ChatScreen.tsx | 2 +- copilot-widget/package.json | 1 + copilot-widget/pnpm-lock.yaml | 106 +++++++++++++++++++ copilot-widget/src/index.css | 2 +- copilot-widget/tailwind.config.ts | 2 +- 9 files changed, 259 insertions(+), 37 deletions(-) create mode 100644 copilot-widget/lib/components/Dialog.tsx diff --git a/copilot-widget/index.html b/copilot-widget/index.html index 659fdff46..e7fa01700 100644 --- a/copilot-widget/index.html +++ b/copilot-widget/index.html @@ -10,30 +10,7 @@ />
-