Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions components/Chatbot/Chatbot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ interface ChatbotProps {

// Memoized components
const EmptyChatView = React.memo(() => (
<div className="flex-1 flex flex-col items-center justify-center w-full max-w-5xl mx-auto mt-[-84px] p-5">
<div className="flex-1 flex flex-col h-full w-full max-w-5xl mx-auto p-5 pt-20">

<div className="flex flex-col items-center w-full">
<Image
src={ChatBotGif}
Expand All @@ -58,7 +59,9 @@ const EmptyChatView = React.memo(() => (
<div className="max-w-5xl w-full mt-8">
<ChatbotTextField />
</div>
<StarterQuestions />
<div className='min-h-0 max-h-full overflow-y-auto mt-2 mb-2 pb-4'>
<StarterQuestions />
</div>
</div>
));

Expand Down
2 changes: 1 addition & 1 deletion components/Interface-Chatbot/Messages/MessageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ function MessageList({ chatSessionId, currentChannelId = "" }: { chatSessionId:

}

export default React.memo(addUrlDataHoc(MessageList, [ParamsEnums.currentChannelId]));
export default React.memo(addUrlDataHoc(MessageList, [ParamsEnums.currentChannelId]));
2 changes: 1 addition & 1 deletion public/chatbot-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
chatbotUrl: 'http://localhost:3000/chatbot',
styleSheet: 'http://localhost:3000/chatbot-style.css',
// login: 'http://localhost:7072/api/chatbot/loginuser'
login: 'https://db.gtwy.ai/api/chatbot/loginuser'
login: 'https://dev-db.gtwy.ai/api/chatbot/loginuser'
};
this.icons = {
white: this.makeImageUrl('b1357e23-2fc6-4dc3-855a-7a213b1fa100'),
Expand Down