Files
Memoh/apps/web/src/pages/bots/components/bot-terminal.vue
T
Acbox c0490c9688 feat(web): add Activity Bar and right sidebar panel to chat page
Replace the old file manager panel with a multi-tab right sidebar system:
- Activity Bar with Terminal, Files, and Info tabs
- Resizable right panel with tab switching
- Extract shared Terminal component from bot-terminal.vue
- Add bottom preview layout mode to FileManager
- Delete session button with confirmation dialog
- Fix FileManager scroll in flex column layout (min-h-0)
2026-04-03 01:17:31 +08:00

18 lines
474 B
Vue

<script setup lang="ts">
import { computed } from 'vue'
import { useRoute } from 'vue-router'
import { useSyncedQueryParam } from '@/composables/useSyncedQueryParam'
import Terminal from '@/components/terminal/index.vue'
const route = useRoute()
const botId = computed(() => route.params.botId as string)
const activeTab = useSyncedQueryParam('tab', 'overview')
</script>
<template>
<Terminal
:bot-id="botId"
:visible="activeTab === 'terminal'"
/>
</template>