feat: Mission Control Dashboard – AI Team Network, Chat, Queue
CI - Build & Test / Backend (.NET) (push) Successful in 31s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 16s
CI - Build & Test / Security Check (push) Successful in 3s

- 3-Spalten-Layout: Missions/Feed | Team Network | Chat/Queue
- AI Team Network (Herzstück): Iris + 4 Agenten mit SVG-Linien
- AgentNode: Workload-Ring, Pulse-Animation, Farbcodierung
- AgentModal: Task, Goal, Progress, Working Feed
- MissionCard: Glass-Morphism, Progress-Bar, Status-Badges
- ChatPanel: Iris Chat mit Focus-Banner, Auto-Scroll
- QueuePanel: Drag&Drop, Prioritäten, Force-Execute
- Composables: useTimer, useDashboardData
This commit is contained in:
2026-06-09 20:59:45 +02:00
parent 9fb90f9c05
commit 3c95281119
10 changed files with 2187 additions and 283 deletions
@@ -1,98 +1,38 @@
<script setup lang="ts">
import { computed, ref } from 'vue'
import { Activity } from '@lucide/vue'
import type { FeedEntry } from '../../composables/useDashboardData'
type FeedStatus = 'running' | 'done' | 'waiting' | 'error' | 'info'
interface FeedItem {
time: string
status: FeedStatus
text: string
label: string
date: 'today' | 'yesterday' | 'week'
}
const allFeed: FeedItem[] = [
{ time: '09:17', status: 'running', text: 'OpenClaw analysiert Memory-Datenbank.', label: 'Memory', date: 'today' },
{ time: '09:19', status: 'done', text: 'Repository Refactoring abgeschlossen.', label: 'Coding', date: 'today' },
{ time: '09:21', status: 'done', text: '3 neue Erinnerungen gespeichert.', label: 'Memory', date: 'today' },
{ time: '09:25', status: 'done', text: 'Dungeon-Service erfolgreich kompiliert.', label: 'Coding', date: 'today' },
{ time: '09:28', status: 'error', text: 'Build fehlgeschlagen — NullReferenceException in EnemyFactory.', label: 'Coding', date: 'today' },
{ time: '09:31', status: 'waiting', text: 'Iris hat "Steuerunterlagen" auf Freitag verschoben.', label: 'Personal', date: 'today' },
{ time: '10:02', status: 'running', text: 'Programmer arbeitet an TeamView-Redesign.', label: 'Coding', date: 'today' },
{ time: '10:15', status: 'done', text: 'AgentDetailView deployed.', label: 'System', date: 'today' },
{ time: '10:22', status: 'running', text: 'Architekt prüft Compose-Konfiguration.', label: 'System', date: 'today' },
{ time: '10:45', status: 'done', text: 'Reviewer: Code-Review abgeschlossen, keine Findings.', label: 'Agenten', date: 'today' },
{ time: '11:00', status: 'running', text: 'Researcher analysiert API-Dokumentation.', label: 'Research', date: 'today' },
{ time: '11:30', status: 'waiting', text: 'Executor wartet auf Deployment-Freigabe.', label: 'System', date: 'today' },
{ time: '15:22', status: 'done', text: 'Nexus Dashboard Migration geplant.', label: 'Coding', date: 'yesterday' },
{ time: '16:05', status: 'done', text: 'Docker Compose Optimierung abgeschlossen.', label: 'System', date: 'yesterday' },
]
const feedFilter = ref<string | null>(null)
const filterLabels = ['Alle', 'Coding', 'Research', 'Personal', 'Memory', 'Agenten', 'System']
const filteredFeed = computed(() => {
if (!feedFilter.value || feedFilter.value === 'Alle') return allFeed
return allFeed.filter(item => item.label === feedFilter.value)
})
const feedGroups = computed(() => {
const groups: { date: string; items: FeedItem[] }[] = []
const dates = ['today', 'yesterday', 'week'] as const
for (const d of dates) {
const items = filteredFeed.value.filter(i => i.date === d)
if (items.length) {
groups.push({
date: d === 'today' ? 'Heute' : d === 'yesterday' ? 'Gestern' : 'Diese Woche',
items,
})
}
}
return groups
})
const statusColor = (s: FeedStatus): string => {
const m: Record<FeedStatus, string> = {
running: '#3b82f6',
done: '#22c55e',
waiting: '#eab308',
error: '#ef4444',
info: '#6b7385',
}
return m[s]
}
defineProps<{
entries: FeedEntry[]
}>()
</script>
<template>
<div class="feed-panel">
<h2 class="feed-title">Operations Feed</h2>
<div class="filter-pills">
<button
v-for="label in filterLabels"
:key="label"
:class="{ active: feedFilter === label || (!feedFilter && label === 'Alle') }"
@click="feedFilter = label === 'Alle' ? null : label"
>
{{ label }}
</button>
<div class="feed-header">
<Activity :size="14" class="feed-icon" />
<h2>Operations Feed</h2>
</div>
<div class="feed-list">
<template v-for="group in feedGroups" :key="group.date">
<div class="feed-date-heading">{{ group.date }}</div>
<TransitionGroup name="feed-item" tag="div" class="feed-group-items">
<div
v-for="(item, idx) in group.items"
:key="group.date + '-' + idx"
class="feed-item"
>
<span class="feed-time">{{ item.time }}</span>
<span class="feed-dot" :style="{ background: statusColor(item.status) }"></span>
<span class="feed-text">{{ item.text }}</span>
</div>
</TransitionGroup>
</template>
<TransitionGroup name="feed">
<div
v-for="(entry, idx) in entries.slice(0, 8)"
:key="entry.timestamp + '-' + idx"
class="feed-entry"
>
<span class="feed-time">{{ entry.time }}</span>
<span class="feed-bullet">&middot;</span>
<span class="feed-agent" :class="'agent-' + entry.agent.toLowerCase()">
{{ entry.agent }}
</span>
<span class="feed-action">{{ entry.action }}</span>
</div>
</TransitionGroup>
<div v-if="entries.length === 0" class="feed-empty">
<span>No operations recorded yet.</span>
</div>
</div>
</div>
</template>
@@ -101,134 +41,115 @@ const statusColor = (s: FeedStatus): string => {
.feed-panel {
display: flex;
flex-direction: column;
gap: 8px;
min-height: 420px;
padding: 18px;
background: rgba(22, 27, 34, 0.8);
border: 1px solid rgba(139, 124, 246, 0.12);
border-radius: 16px;
box-shadow: 0 4px 24px rgba(0,0,0,0.3);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
transition: all 0.2s ease;
gap: 10px;
padding: 14px;
background: rgba(22, 27, 34, 0.65);
border: 1px solid rgba(139, 124, 246, 0.08);
border-radius: 14px;
transition: border-color 0.2s ease;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.feed-panel:hover {
border-color: rgba(139, 124, 246, 0.18);
border-color: rgba(139, 124, 246, 0.15);
}
.feed-title {
font-size: 14px;
font-weight: 600;
.feed-header {
display: flex;
align-items: center;
gap: 6px;
}
.feed-icon {
color: #a78bfa;
}
.feed-header h2 {
margin: 0;
font-size: 11px;
font-weight: 600;
color: #e8eaf0;
}
/* Filter pills */
.filter-pills {
display: flex;
gap: 4px;
overflow-x: auto;
scrollbar-width: none;
-ms-overflow-style: none;
padding-bottom: 2px;
}
.filter-pills::-webkit-scrollbar {
display: none;
}
.filter-pills button {
flex-shrink: 0;
padding: 4px 10px;
border: 1px solid rgba(139, 124, 246, 0.08);
border-radius: 20px;
background: transparent;
color: #6b7385;
font-size: 9px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.filter-pills button:hover {
border-color: rgba(139, 124, 246, 0.25);
color: #7e8799;
}
.filter-pills button.active {
background: rgba(139, 124, 246, 0.12);
border-color: rgba(139, 124, 246, 0.25);
color: #a78bfa;
}
/* Feed list */
.feed-list {
display: flex;
flex-direction: column;
gap: 2px;
overflow-y: auto;
flex: 1;
position: relative;
}
.feed-group-items {
display: contents;
}
.feed-date-heading {
font-size: 9px;
font-weight: 700;
color: #6b7385;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 8px 0 4px;
}
.feed-item {
.feed-entry {
display: flex;
align-items: center;
gap: 8px;
gap: 5px;
padding: 5px 6px;
border-radius: 6px;
font-size: 9.5px;
line-height: 1.3;
transition: background 0.15s;
}
.feed-item:hover {
background: rgba(139, 124, 246, 0.04);
.feed-entry:hover {
background: rgba(255, 255, 255, 0.03);
}
.feed-time {
font-size: 9px;
color: #6b7385;
flex-shrink: 0;
width: 36px;
font-variant-numeric: tabular-nums;
width: 32px;
}
.feed-dot {
width: 7px;
height: 7px;
border-radius: 50%;
.feed-bullet {
color: #6b7385;
flex-shrink: 0;
box-shadow: 0 0 4px currentColor;
}
.feed-text {
font-size: 10.5px;
line-height: 1.3;
.feed-agent {
font-weight: 600;
flex-shrink: 0;
}
.agent-iris {
color: #a78bfa;
}
.agent-developer {
color: #3b82f6;
}
.agent-devops {
color: #eab308;
}
.agent-researcher {
color: #22c55e;
}
.agent-reviewer {
color: #a855f7;
}
.feed-action {
color: #7e8799;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* TransitionGroup animations */
.feed-item-enter-active {
transition: all 0.3s ease;
}
.feed-item-leave-active {
transition: all 0.3s ease;
}
.feed-item-enter-from {
opacity: 0;
transform: translateX(-12px);
}
.feed-item-leave-to {
opacity: 0;
transform: translateX(12px);
}
.feed-item-move {
transition: all 0.3s ease;
.feed-empty {
text-align: center;
padding: 12px 0;
font-size: 10px;
color: #6b7385;
}
@media (max-width: 900px) {
.feed-panel {
order: 2;
}
/* TransitionGroup */
.feed-enter-active {
transition: all 0.3s ease;
}
.feed-leave-active {
transition: all 0.3s ease;
position: absolute;
}
.feed-enter-from {
opacity: 0;
transform: translateX(-10px);
}
.feed-leave-to {
opacity: 0;
transform: translateX(10px);
}
.feed-move {
transition: transform 0.3s ease;
}
</style>