From 2b08969c0d44d59290dc649a329cdf0a8e288f77 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Mon, 26 Jun 2023 12:00:53 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(chatTrigger,=20formTrigger?= =?UTF-8?q?,=20formModal):=20change=20absolute=20positioning=20to=20fixed?= =?UTF-8?q?=20positioning=20to=20improve=20UI=20layout=20and=20consistency?= =?UTF-8?q?,=20added=20ShadCN=20modal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chatComponent/chatTrigger/index.tsx | 2 +- .../chatComponent/formTrigger/index.tsx | 2 +- src/frontend/src/modals/formModal/index.tsx | 133 +++++------------- 3 files changed, 38 insertions(+), 99 deletions(-) diff --git a/src/frontend/src/components/chatComponent/chatTrigger/index.tsx b/src/frontend/src/components/chatComponent/chatTrigger/index.tsx index 857a628c6..c173e9135 100644 --- a/src/frontend/src/components/chatComponent/chatTrigger/index.tsx +++ b/src/frontend/src/components/chatComponent/chatTrigger/index.tsx @@ -29,7 +29,7 @@ export default function ChatTrigger({ open, setOpen, isBuilt }) { leaveFrom="translate-y-0" leaveTo="translate-y-96" > -
+
-
+
- - -
- + + + + + + Chat Form + + {CODE_PROMPT_DIALOG_SUBTITLE} + -
-
- - -
- - -
-
- {chatHistory.length > 0 ? ( - chatHistory.map((c, i) => ( - - )) - ) : ( -
- - 👋{" "} - - LangFlow Chat - - -
-
- - Start a conversation and click the agent’s thoughts{" "} - - - {" "} - to inspect the chaining process. - -
-
- )} -
-
-
-
- -
-
-
-
-
+
+ teste
-
- + + + + + +
); }