File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "
77 >
88 <h3 :class =" h3Style" >{{ $t('Chat history') }}</h3 >
9- <Button @click =" agentStore .createPreSession (); agentStore .setSessionHistoryOpen (false ); agentStore .focusTextInput ();" :disabled =" agentStore .isResponseInProgress " class="w-[360px] mx-4 my-2 mb-4 rounded-3xl text-gray-800 dark:text-gray-200 ">
10- <IconPlusOutline class="w-5 h-5" />
11- {{ $t('New chat') }}
12- </Button >
9+ <div class =" w-full flex items-center justify-center" >
10+ <Button
11+ @click =" agentStore .createPreSession (); agentStore .setSessionHistoryOpen (false ); agentStore .focusTextInput ();"
12+ :disabled =" agentStore .isResponseInProgress "
13+ class="w-[90%] my-2 mb-4 rounded-3xl text-gray-800 dark:text-gray-200 "
14+ >
15+ <IconPlusOutline class="w-5 h-5" />
16+ {{ $t('New chat') }}
17+ </Button >
18+ </div >
1319 <div class =" w-full border-b border-gray-200 dark:border-gray-700" />
1420 <div class =" absolute w-full h-full flex flex-col items-center justify-center bg-gray-100/50 dark:bg-gray-700/50 z-10" v-if =" agentStore.isResponseInProgress" >
1521 <Spinner class="w-8 h-8" v-if =" agentStore .isResponseInProgress " />
2329 <button
2430 v-for =" session in group.sessions"
2531 :key =" session.sessionId"
26- class =" flex items-center justify-between w-full px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200 ease-in-out text-gray-800 dark:text-gray-200"
32+ class =" flex items-center justify-between w-full px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors duration-200 ease-in-out text-gray-800 dark:text-gray-200"
2733 :class =" {
2834 'bg-lightPrimary/20 hover:bg-lightPrimary/20 dark:bg-darkPrimary/20 dark:hover:bg-darkPrimary/20': agentStore.activeSessionId === session.sessionId,
29- 'cursor-default opacity-50 pointer-events-none': agentStore.isResponseInProgress
30- }"
35+ 'cursor-default opacity-50 pointer-events-none': agentStore.isResponseInProgress,
36+ 'pl-8': agentStore.isFullScreen
37+ }"
3138 @click =" agentStore.setActiveSession(session.sessionId); agentStore.setSessionHistoryOpen(false);"
3239 :disabled =" agentStore.isResponseInProgress"
3340 >
You can’t perform that action at this time.
0 commit comments