diff --git a/copilot-ui/public/user.svg b/copilot-ui/public/user.svg new file mode 100644 index 00000000..0b517bdc --- /dev/null +++ b/copilot-ui/public/user.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/copilot-ui/src/actions/ActionProvider.tsx b/copilot-ui/src/actions/ActionProvider.tsx index 436516e6..8168286a 100644 --- a/copilot-ui/src/actions/ActionProvider.tsx +++ b/copilot-ui/src/actions/ActionProvider.tsx @@ -162,7 +162,7 @@ const ActionProvider: React.FC = ({ return (
- The WebSocket is currently {connectionStatus} + {/* The WebSocket is currently {connectionStatus} */} {React.Children.map(children, (child) => { return React.cloneElement(child, { actions: { diff --git a/copilot-ui/src/components/Interact.tsx b/copilot-ui/src/components/Interact.tsx index b958202c..c5f6214b 100644 --- a/copilot-ui/src/components/Interact.tsx +++ b/copilot-ui/src/components/Interact.tsx @@ -76,19 +76,19 @@ export const Interactions: FC = ({ )}
-
alert("Copy!!")} > -
+ */} -
alert("Regenerate!!")} > -
+ */}
- + {/* @@ -231,20 +231,7 @@ const SideMenu = ({ height, setGetConversationId }: { height?: string, setGetCon - {/* - - - Query Name - Description - - - - - find_transactions_unusual_for_merchant - This query reports transactions having... - - -
*/} + @@ -339,7 +326,7 @@ const SideMenu = ({ height, setGetConversationId }: { height?: string, setGetCon - + */} @@ -355,7 +342,7 @@ const SideMenu = ({ height, setGetConversationId }: { height?: string, setGetCon {renderConvoHistory()} -
@@ -369,7 +356,7 @@ const SideMenu = ({ height, setGetConversationId }: { height?: string, setGetCon
- + */} ); }; diff --git a/copilot-ui/src/components/Start.tsx b/copilot-ui/src/components/Start.tsx index 74c4f441..7802f85b 100644 --- a/copilot-ui/src/components/Start.tsx +++ b/copilot-ui/src/components/Start.tsx @@ -13,7 +13,8 @@ const questions = {title: 'Can I load data with pyTG?'}, {title: 'Write a short python snippet to run a loading job'}, ] - : [ + : localStorage.getItem('selectedGraph') === 'Transaction_Fraud' ? + [ {title: 'How many transactions are there?'}, {title: 'Tell me about transaction fraud.'}, {title: 'Describe flow of one transaction.'}, @@ -23,7 +24,8 @@ const questions = // { title: "What is William Torres' ID?" }, // { title: "What's his email?" }, // {title:"How do I get a count of vertices in Python?"} - ]; + ] + : []; interface Start { props: any; diff --git a/copilot-ui/src/components/UserAvatar.tsx b/copilot-ui/src/components/UserAvatar.tsx index d8bf831f..c8b90677 100644 --- a/copilot-ui/src/components/UserAvatar.tsx +++ b/copilot-ui/src/components/UserAvatar.tsx @@ -9,7 +9,7 @@ export const UserAvatar: FC = ({ props }) => { <> {props}