[Reviewer] Dashboard Review: Interface-Bereinigung, SVG-Composable-Extraktion, Komponenten-Renaming, CSS-Fix
- AgentNodeData: Remove redundant fields task/runtime (dup of currentTask/runtimeSeconds) - useTeamNetworkSvg: Extract SVG layout, path computation + pulse animation from TeamNetwork - TeamNetwork: Use AgentNodeData type, fix undefined pulseElements2/storePulseRef2, remove unused props - Rename MissionCard.vue → TaskCard.vue (matches actual usage) - Extract FeedDetailModal from OperationsFeed (eliminates :global() CSS conflict with AgentModal) - DashboardView: Fix type import path (../../ → ../), remove dead TeamNetwork props - AgentModal: Remove unused thinkingStreamRef template ref Build: vue-tsc --noEmit 0 errors, vite build ✓
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, onUnmounted, ref } from 'vue'
|
||||
import TaskCard from '../components/dashboard/MissionCard.vue'
|
||||
import TaskCard from '../components/dashboard/TaskCard.vue'
|
||||
import OperationsFeed from '../components/dashboard/OperationsFeed.vue'
|
||||
import TeamNetwork from '../components/dashboard/TeamNetwork.vue'
|
||||
import ChatPanel from '../components/dashboard/ChatPanel.vue'
|
||||
import QueuePanel from '../components/dashboard/QueuePanel.vue'
|
||||
import AgentModal from '../components/dashboard/AgentModal.vue'
|
||||
import { useDashboardData } from '../composables/useDashboardData'
|
||||
import type { AgentNodeData } from '../../composables/useDashboardData'
|
||||
import type { AgentNodeData } from '../composables/useDashboardData'
|
||||
|
||||
const {
|
||||
agents, openTasks, feedEntries, chatMessages,
|
||||
irisBusy, irisFocus, irisRuntime, queue,
|
||||
irisBusy, irisFocus, queue,
|
||||
getAgentRuntime, startRuntime, stopRuntime,
|
||||
sendChat, removeQueueItem, moveQueueItem, changeQueuePriority,
|
||||
} = useDashboardData()
|
||||
@@ -68,9 +68,6 @@ function onQueueExecuteNow(id: string): void {
|
||||
<TeamNetwork
|
||||
hero-id="iris"
|
||||
:agents="agents"
|
||||
:iris-runtime="irisRuntime"
|
||||
:get-agent-runtime="getAgentRuntime"
|
||||
:iris-focus="irisFocus"
|
||||
@select="onAgentSelect"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user