mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
c0490c9688
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)
18 lines
474 B
Vue
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>
|