Compare commits

...

6 Commits

Author SHA1 Message Date
devops c9d8852609 chore: bump version to v0.2.27 [skip ci] 2026-06-09 21:22:19 +00:00
developer 11e9a257a1 fix: AgentNodeData um tags, task, runtime erweitert – Cards wieder sichtbar
CI - Build & Test / Backend (.NET) (push) Successful in 22s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 19s
CI - Build & Test / Security Check (push) Successful in 3s
- Interface: tags:string[], task:string, runtime:string, hero?:boolean
- Alle 5 Agenten mit Tags, Task, Runtime, Hero befüllt
2026-06-09 23:21:31 +02:00
devops ead202ad8b chore: bump version to v0.2.26 [skip ci] 2026-06-09 21:16:23 +00:00
developer effc86e15b feat: LLM Model + Glassmorphism + Doppel-Pulse + Task-Board
CI - Build & Test / Backend (.NET) (push) Successful in 26s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 16s
CI - Build & Test / Security Check (push) Successful in 3s
- Agent Cards: aktives LLM Model unter Runtime
- Glassmorphism: rgba-BG + backdrop-filter:blur
- Bézier-Linien: 2 Pulse pro Verbindung (Offset 50%)
- TaskCard: 'Zum Task Board' Button mit Pfeil
2026-06-09 23:15:33 +02:00
devops 0f9809e423 chore: bump version to v0.2.25 [skip ci] 2026-06-09 21:01:16 +00:00
developer c2736d20c1 feat: Cards, Offene Aufgaben, Feed – Komplettumbau
CI - Build & Test / Backend (.NET) (push) Successful in 23s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 16s
CI - Build & Test / Security Check (push) Successful in 3s
TeamNetwork: Footer→Arrow, Current Task+Runtime inline
Missions→Offene Aufgaben (TaskCard) mit +New Task, Iris/Bao-Quelle
OperationsFeed: Text-Wrap, 5 Items, Mehr-Button→Tag-Navigation-Modal
2026-06-09 23:00:26 +02:00
6 changed files with 599 additions and 268 deletions
+1 -1
View File
@@ -1 +1 @@
0.2.24
0.2.27
+201 -137
View File
@@ -1,79 +1,83 @@
<script setup lang="ts">
import { computed } from 'vue'
import { Clock, ChevronRight } from '@lucide/vue'
import type { MissionData } from '../../composables/useDashboardData'
import { ref } from 'vue'
import { Plus, Circle, ChevronRight } from '@lucide/vue'
import type { OpenTask } from '../../composables/useDashboardData'
const props = defineProps<{
mission: MissionData
defineProps<{
tasks: OpenTask[]
}>()
const statusColor: Record<string, string> = {
healthy: '#22c55e',
attention: '#eab308',
blocked: '#ef4444',
paused: '#6b7280',
}
const emit = defineEmits<{
newTask: []
'go-board': []
}>()
const statusLabel = computed(() => {
const map: Record<string, string> = {
healthy: 'Healthy',
attention: 'Warning',
blocked: 'Blocked',
paused: 'Paused',
const expandedId = ref<string | null>(null)
function toggleExpand(id: string) {
expandedId.value = expandedId.value === id ? null : id
}
return map[props.mission.status] ?? props.mission.status
})
</script>
<template>
<article class="mission-card" tabindex="0">
<div class="mission-head">
<h3>{{ mission.name }}</h3>
<span
class="mission-status"
:style="{ color: statusColor[mission.status] }"
<div class="task-card-panel">
<div class="task-header">
<h2 class="task-title">Offene Aufgaben</h2>
<button class="new-task-btn" @click="emit('newTask')">
<Plus :size="12" />
<span>New Task</span>
</button>
</div>
<div class="task-list">
<div v-if="tasks.length === 0" class="task-empty">
Keine offenen Aufgaben. Erstelle eine mit + New Task.
</div>
<TransitionGroup name="task">
<div
v-for="task in tasks"
:key="task.id"
class="task-item"
:class="{ expanded: expandedId === task.id }"
@click="toggleExpand(task.id)"
>
{{ statusLabel }}
<div class="task-main">
<Circle
:size="8"
class="task-source-dot"
:class="task.source === 'iris' ? 'dot-iris' : 'dot-bao'"
fill="currentColor"
/>
<div class="task-content">
<div class="task-title-row">
<span class="task-name">{{ task.title }}</span>
<span class="task-time">{{ task.createdAt }}</span>
</div>
<span
class="task-source-tag"
:class="task.source === 'iris' ? 'tag-iris' : 'tag-bao'"
>
{{ task.source === 'iris' ? 'Iris' : 'Bao' }}
</span>
</div>
<div class="progress-track">
<div
class="progress-fill"
:style="{
width: `${mission.progress}%`,
background: `linear-gradient(90deg, ${statusColor[mission.status]}, color-mix(in srgb, ${statusColor[mission.status]} 65%, #fff))`,
}"
></div>
</div>
<div v-if="expandedId === task.id" class="task-detail">
{{ task.detail }}
</div>
</div>
</TransitionGroup>
</div>
<div class="mission-body">
<div class="mission-detail">
<span class="detail-label">Current Task</span>
<span class="detail-value">{{ mission.currentTask }}</span>
</div>
<div class="mission-footer">
<div class="mission-meta">
<Clock :size="10" />
<span>{{ mission.lastActivity }}</span>
</div>
<div class="mission-tasks">
<span class="tasks-count">{{ mission.remainingTasks }}</span>
<span class="tasks-label">remaining</span>
</div>
</div>
</div>
<div class="mission-arrow">
<button class="task-board-btn" @click="emit('go-board')">
<span>Zum Task Board</span>
<ChevronRight :size="14" />
</button>
</div>
</article>
</template>
<style scoped>
.mission-card {
position: relative;
.task-card-panel {
display: flex;
flex-direction: column;
gap: 10px;
@@ -81,121 +85,181 @@ const statusLabel = computed(() => {
background: rgba(22, 27, 34, 0.65);
border: 1px solid rgba(139, 124, 246, 0.08);
border-radius: 14px;
cursor: pointer;
transition: all 0.25s ease;
transition: border-color 0.2s ease;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.mission-card:hover {
border-color: rgba(139, 124, 246, 0.2);
transform: translateY(-1px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.mission-card:focus-visible {
outline: 2px solid #a78bfa;
outline-offset: 2px;
.task-card-panel:hover {
border-color: rgba(139, 124, 246, 0.15);
}
.mission-head {
.task-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.mission-head h3 {
.task-title {
margin: 0;
font-size: 12px;
font-size: 11px;
font-weight: 600;
color: #e8eaf0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mission-status {
font-size: 8px;
.new-task-btn {
display: flex;
align-items: center;
gap: 4px;
padding: 4px 10px;
background: rgba(139, 124, 246, 0.12);
border: 1px solid rgba(139, 124, 246, 0.2);
border-radius: 6px;
color: #a78bfa;
font-size: 9px;
font-weight: 600;
text-transform: capitalize;
letter-spacing: 0.04em;
flex-shrink: 0;
cursor: pointer;
transition: all 0.2s;
}
.new-task-btn:hover {
background: rgba(139, 124, 246, 0.2);
border-color: rgba(139, 124, 246, 0.35);
}
.progress-track {
height: 3px;
background: rgba(255, 255, 255, 0.06);
border-radius: 3px;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 3px;
transition: width 0.5s ease;
}
.mission-body {
.task-list {
display: flex;
flex-direction: column;
gap: 4px;
}
.task-item {
display: flex;
flex-direction: column;
gap: 4px;
padding: 8px 10px;
border-radius: 8px;
cursor: pointer;
transition: background 0.15s;
border: 1px solid transparent;
}
.task-item:hover {
background: rgba(255, 255, 255, 0.03);
border-color: rgba(139, 124, 246, 0.08);
}
.task-item.expanded {
background: rgba(139, 124, 246, 0.04);
border-color: rgba(139, 124, 246, 0.1);
}
.task-main {
display: flex;
align-items: flex-start;
gap: 8px;
}
.mission-detail {
.task-source-dot {
margin-top: 4px;
flex-shrink: 0;
}
.dot-iris {
color: #a78bfa;
}
.dot-bao {
color: #3b82f6;
}
.task-content {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 3px;
}
.detail-label {
font-size: 8px;
color: #6b7385;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.detail-value {
font-size: 10px;
color: #7e8799;
line-height: 1.35;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mission-footer {
.task-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.mission-meta {
display: flex;
align-items: center;
gap: 4px;
font-size: 9px;
.task-name {
font-size: 10px;
font-weight: 500;
color: #d1d5db;
line-height: 1.35;
}
.task-time {
font-size: 8.5px;
color: #6b7385;
}
.mission-tasks {
display: flex;
align-items: center;
gap: 4px;
}
.tasks-count {
font-size: 12px;
font-weight: 700;
color: #a78bfa;
flex-shrink: 0;
font-variant-numeric: tabular-nums;
}
.tasks-label {
.task-source-tag {
display: inline-block;
font-size: 8px;
color: #6b7385;
text-transform: uppercase;
letter-spacing: 0.04em;
font-weight: 600;
padding: 1px 7px;
border-radius: 4px;
letter-spacing: 0.02em;
align-self: flex-start;
line-height: 1.4;
}
.tag-iris {
background: rgba(167, 139, 250, 0.15);
color: #a78bfa;
}
.tag-bao {
background: rgba(59, 130, 246, 0.15);
color: #3b82f6;
}
.mission-arrow {
position: absolute;
right: 10px;
bottom: 10px;
color: #6b7385;
opacity: 0;
transition: opacity 0.2s ease, transform 0.2s ease;
.task-detail {
padding: 6px 10px;
margin: 0 0 2px 16px;
font-size: 9.5px;
color: #7e8799;
line-height: 1.45;
background: rgba(0, 0, 0, 0.15);
border-radius: 6px;
border-left: 2px solid rgba(139, 124, 246, 0.2);
}
.mission-card:hover .mission-arrow {
opacity: 1;
transform: translateX(2px);
.task-empty {
text-align: center;
padding: 16px 8px;
font-size: 10px;
color: #6b7385;
line-height: 1.5;
}
.task-board-btn {
width: 100%; margin-top: 12px; padding: 10px;
display: flex; align-items: center; justify-content: center; gap: 6px;
background: rgba(139, 124, 246, 0.08);
border: 1px solid rgba(139, 124, 246, 0.15);
border-radius: 10px; color: #a78bfa;
font-size: 10px; font-weight: 600; cursor: pointer;
transition: all 0.2s;
}
.task-board-btn:hover {
background: rgba(139, 124, 246, 0.15);
border-color: rgba(139, 124, 246, 0.3);
}
/* TransitionGroup */
.task-enter-active {
transition: all 0.3s ease;
}
.task-leave-active {
transition: all 0.3s ease;
position: absolute;
}
.task-enter-from {
opacity: 0;
transform: translateY(-6px);
}
.task-leave-to {
opacity: 0;
transform: translateY(6px);
}
.task-move {
transition: transform 0.3s ease;
}
</style>
@@ -1,10 +1,52 @@
<script setup lang="ts">
import { Activity } from '@lucide/vue'
import { ref, computed } from 'vue'
import { Activity, ChevronLeft, ChevronRight, X } from '@lucide/vue'
import type { FeedEntry } from '../../composables/useDashboardData'
defineProps<{
const props = defineProps<{
entries: FeedEntry[]
}>()
// ── Compact feed (5 items) ──
const compactEntries = computed(() => props.entries.slice(0, 5))
// ── Feed Detail Modal ──
const showDetailModal = ref(false)
const selectedDayOffset = ref(0) // 0 = today, -1 = yesterday, etc.
function openDetailModal() {
selectedDayOffset.value = 0
showDetailModal.value = true
}
function closeDetailModal() {
showDetailModal.value = false
}
function dayLabel(offset: number): string {
if (offset === 0) return 'Heute'
if (offset === -1) return 'Gestern'
if (offset === -2) return 'Vorgestern'
const d = new Date()
d.setDate(d.getDate() + offset)
return d.toLocaleDateString('de-DE', { weekday: 'long', day: 'numeric', month: 'long' })
}
function navigateDay(dir: -1 | 1) {
const next = selectedDayOffset.value + dir
if (next >= -6 && next <= 0) {
selectedDayOffset.value = next
}
}
const filteredEntries = computed(() => {
const targetDate = new Date()
targetDate.setDate(targetDate.getDate() + selectedDayOffset.value)
const targetStr = targetDate.toISOString().slice(0, 10)
return props.entries.filter(e => e.timestamp.slice(0, 10) === targetStr)
})
</script>
<template>
@@ -17,7 +59,7 @@ defineProps<{
<div class="feed-list">
<TransitionGroup name="feed">
<div
v-for="(entry, idx) in entries.slice(0, 8)"
v-for="(entry, idx) in compactEntries"
:key="entry.timestamp + '-' + idx"
class="feed-entry"
>
@@ -33,7 +75,61 @@ defineProps<{
<div v-if="entries.length === 0" class="feed-empty">
<span>No operations recorded yet.</span>
</div>
<button v-if="entries.length > 5" class="feed-more-btn" @click="openDetailModal">
Mehr anzeigen
</button>
</div>
<!-- Feed Detail Modal -->
<Teleport to="body">
<div v-if="showDetailModal" class="modal-overlay" @click.self="closeDetailModal">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">Operations Log</h2>
<button class="modal-close-btn" @click="closeDetailModal">
<X :size="16" />
</button>
</div>
<div class="modal-nav">
<button
class="nav-btn"
:disabled="selectedDayOffset <= -6"
@click="navigateDay(-1)"
>
<ChevronLeft :size="14" />
</button>
<span class="nav-label">{{ dayLabel(selectedDayOffset) }}</span>
<button
class="nav-btn"
:disabled="selectedDayOffset >= 0"
@click="navigateDay(1)"
>
<ChevronRight :size="14" />
</button>
</div>
<div class="modal-entries">
<div v-if="filteredEntries.length === 0" class="modal-empty">
Keine Einträge für diesen Tag.
</div>
<div
v-for="(entry, idx) in filteredEntries"
: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>
</div>
</div>
</div>
</Teleport>
</div>
</template>
@@ -121,9 +217,8 @@ defineProps<{
}
.feed-action {
color: #7e8799;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal;
word-break: break-word;
}
.feed-empty {
@@ -133,6 +228,26 @@ defineProps<{
color: #6b7385;
}
.feed-more-btn {
display: block;
width: 100%;
padding: 8px;
margin-top: 4px;
background: rgba(139, 124, 246, 0.08);
border: 1px solid rgba(139, 124, 246, 0.12);
border-radius: 8px;
color: #a78bfa;
font-size: 9.5px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
text-align: center;
}
.feed-more-btn:hover {
background: rgba(139, 124, 246, 0.14);
border-color: rgba(139, 124, 246, 0.2);
}
/* TransitionGroup */
.feed-enter-active {
transition: all 0.3s ease;
@@ -152,4 +267,104 @@ defineProps<{
.feed-move {
transition: transform 0.3s ease;
}
/* ── Modal Overlay ── */
:global(.modal-overlay) {
position: fixed;
inset: 0;
z-index: 1000;
display: grid;
place-items: center;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
padding: 20px;
}
:global(.modal-content) {
background: #161b22;
border: 1px solid rgba(139, 124, 246, 0.15);
border-radius: 16px;
padding: 24px;
width: 100%;
max-width: 520px;
max-height: 80vh;
display: flex;
flex-direction: column;
gap: 16px;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
:global(.modal-header) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
:global(.modal-title) {
margin: 0;
font-size: 15px;
font-weight: 600;
color: #e8eaf0;
}
:global(.modal-close-btn) {
display: grid;
place-items: center;
width: 28px;
height: 28px;
border: none;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
color: #7e8799;
cursor: pointer;
transition: all 0.15s;
}
:global(.modal-close-btn:hover) {
background: rgba(255, 255, 255, 0.1);
color: #e8eaf0;
}
:global(.modal-nav) {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}
:global(.nav-btn) {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border: 1px solid rgba(139, 124, 246, 0.15);
background: rgba(139, 124, 246, 0.08);
border-radius: 8px;
color: #a78bfa;
cursor: pointer;
transition: all 0.15s;
}
:global(.nav-btn:hover:not(:disabled)) {
background: rgba(139, 124, 246, 0.16);
border-color: rgba(139, 124, 246, 0.3);
}
:global(.nav-btn:disabled) {
opacity: 0.3;
cursor: not-allowed;
}
:global(.nav-label) {
font-size: 12px;
font-weight: 600;
color: #d1d5db;
min-width: 100px;
text-align: center;
}
:global(.modal-entries) {
display: flex;
flex-direction: column;
gap: 4px;
overflow-y: auto;
max-height: 50vh;
padding-right: 4px;
}
:global(.modal-empty) {
text-align: center;
padding: 24px 0;
font-size: 11px;
color: #6b7385;
}
</style>
+120 -59
View File
@@ -13,6 +13,7 @@ interface AgentData {
hero?: boolean
task?: string
runtime?: string
model?: string
}
const props = defineProps<{
@@ -172,9 +173,17 @@ function refreshPathLengths() {
if (pulseOffsets.value[id] === undefined) {
pulseOffsets.value[id] = 0
}
pulseEl.setAttribute('stroke-dasharray', `10 ${p.length}`)
pulseEl.setAttribute('stroke-dasharray', `40 ${p.length}`)
pulseEl.setAttribute('stroke-dashoffset', String(-pulseOffsets.value[id]))
}
const pulseEl2 = pulseElements2.value[id]
if (pulseEl2 && p && p.length > 0) {
if (pulseOffsets2.value[id] === undefined) {
pulseOffsets2.value[id] = 0
}
pulseEl2.setAttribute('stroke-dasharray', `40 ${p.length}`)
pulseEl2.setAttribute('stroke-dashoffset', String(-pulseOffsets2.value[id]))
}
}
}
@@ -190,6 +199,9 @@ function startPulseAnimation() {
if (pulseOffsets.value[id] === undefined) {
pulseOffsets.value[id] = 0
}
if (pulseOffsets2.value[id] === undefined) {
pulseOffsets2.value[id] = 0
}
}
}
@@ -204,18 +216,28 @@ function startPulseAnimation() {
const id = children[i].id
const pathEl = pathElements.value[id]
const pulseEl = pulseElements.value[id]
const pulseEl2 = pulseElements2.value[id]
const p = connectionPaths.value[id]
if (!pathEl || !pulseEl || !p) continue
const len = p.length
if (len <= 0) continue
const currentOffset = pulseOffsets.value[id] ?? 0
const newOffset = currentOffset + (speeds[id] ?? len / 3000) * dt
const cycleLen = len + 10
pulseOffsets.value[id] = newOffset > cycleLen ? newOffset % cycleLen : newOffset
const speed = speeds[id] ?? len / 3000
const cycleLen = len + 40
// Pulse 1
const currentOffset = pulseOffsets.value[id] ?? 0
const newOffset = currentOffset + speed * dt
pulseOffsets.value[id] = newOffset > cycleLen ? newOffset % cycleLen : newOffset
pulseEl.setAttribute('stroke-dashoffset', String(-pulseOffsets.value[id]))
// Pulse 2 (offset by half cycle)
if (pulseEl2) {
const offset2 = (pulseOffsets.value[id] + cycleLen / 2) % cycleLen
pulseOffsets2.value[id] = offset2
pulseEl2.setAttribute('stroke-dashoffset', String(-offset2))
}
}
animFrameId = requestAnimationFrame(tick)
@@ -316,7 +338,7 @@ onUnmounted(() => {
opacity="0.5"
/>
<!-- Pulse line (white dashed segment moving along) -->
<!-- Pulse line 1 (white dashed segment moving along) -->
<path
v-if="connectionPaths[agent.id]"
:ref="storePulseRef(agent.id)"
@@ -328,6 +350,19 @@ onUnmounted(() => {
stroke-linejoin="round"
:opacity="isActive(agent.id) ? 1 : 0.4"
/>
<!-- Pulse line 2 (offset by half cycle) -->
<path
v-if="connectionPaths[agent.id]"
:ref="storePulseRef2(agent.id)"
:d="connectionPaths[agent.id]!.d"
stroke="white"
stroke-width="3"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
:opacity="isActive(agent.id) ? 0.8 : 0.3"
/>
</template>
</svg>
@@ -356,19 +391,21 @@ onUnmounted(() => {
<span class="card-role-tag" :style="{ background: `${hero.color}18`, color: hero.color, borderColor: `${hero.color}30` }">{{ hero.role }}</span>
</div>
<p class="card-desc">{{ hero.description }}</p>
<span v-if="hero.task" class="node-task">
<div v-if="hero.task" class="task-row">
<span class="node-task">
<span class="node-task-dot"></span>
{{ hero.task }}
</span>
<span v-if="hero.runtime" class="node-runtime">{{ hero.runtime }}</span>
<span v-if="hero.model" class="node-model">{{ hero.model }}</span>
</div>
<div class="card-tags">
<span v-for="tag in hero.tags" :key="tag" class="card-tag" :style="{ background: `${hero.color}18`, color: hero.color }">{{ tag }}</span>
</div>
</div>
</div>
<div class="card-footer-action">
<span>ROLE CARD</span>
<span class="arrow">&rarr;</span>
<span v-if="hero.runtime" class="node-runtime">{{ hero.runtime }}</span>
<div class="card-arrow">
<span class="arrow-icon">&rarr;</span>
</div>
</article>
</div>
@@ -402,19 +439,21 @@ onUnmounted(() => {
<span class="card-role-tag" :style="{ background: `${agent.color}18`, color: agent.color, borderColor: `${agent.color}30` }">{{ agent.role }}</span>
</div>
<p class="card-desc">{{ agent.description }}</p>
<span v-if="agent.task" class="node-task">
<div v-if="agent.task" class="task-row">
<span class="node-task">
<span class="node-task-dot"></span>
{{ agent.task }}
</span>
<span v-if="agent.runtime" class="node-runtime">{{ agent.runtime }}</span>
<span v-if="agent.model" class="node-model">{{ agent.model }}</span>
</div>
<div class="card-tags">
<span v-for="tag in agent.tags" :key="tag" class="card-tag" :style="{ background: `${agent.color}18`, color: agent.color }">{{ tag }}</span>
</div>
</div>
</div>
<div class="card-footer-action">
<span>ROLE CARD</span>
<span class="arrow">&rarr;</span>
<span v-if="agent.runtime" class="node-runtime">{{ agent.runtime }}</span>
<div class="card-arrow">
<span class="arrow-icon">&rarr;</span>
</div>
</article>
</div>
@@ -469,24 +508,31 @@ onUnmounted(() => {
/* ── Agent Card (inlined from old AgentCard.vue) ── */
.agent-card {
background: var(--panel, #11141b);
border: 1px solid var(--line, #1f2330);
background: rgba(18, 22, 30, 0.45);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 12px;
padding: 18px;
cursor: pointer;
transition: border-color 0.2s, box-shadow 0.2s;
transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
overflow: hidden;
position: relative;
}
.agent-card:hover {
background: rgba(18, 22, 30, 0.65);
border-color: var(--card-color, #8b7cf6);
box-shadow: 0 0 16px color-mix(in srgb, var(--card-color, #8b7cf6) 10%, transparent);
}
.hero-card {
border-color: rgba(139, 124, 246, 0.2);
background: rgba(18, 22, 30, 0.45);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: 0 0 20px rgba(139, 124, 246, 0.06);
}
.hero-card:hover {
background: rgba(18, 22, 30, 0.65);
border-color: #8b7cf6;
box-shadow: 0 0 24px rgba(139, 124, 246, 0.12);
}
@@ -535,6 +581,45 @@ onUnmounted(() => {
line-height: 1.5;
margin: 0 0 8px;
}
/* ── Task + Runtime Row ── */
.task-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 8px;
}
.node-task {
display: inline-flex;
align-items: center;
font-size: 10px;
color: #9ea5b3;
line-height: 1.4;
flex: 1;
min-width: 0;
}
.node-task-dot {
display: inline-block;
margin-right: 4px;
font-size: 8px;
vertical-align: middle;
}
.node-runtime {
font-size: 9px;
color: #6b7385;
font-variant-numeric: tabular-nums;
flex-shrink: 0;
}
.node-model {
font-size: 8.5px;
color: #6b7385;
font-weight: 500;
flex-shrink: 0;
margin-left: 6px;
}
/* ── Tags ── */
.card-tags {
display: flex;
flex-wrap: wrap;
@@ -548,49 +633,25 @@ onUnmounted(() => {
border-radius: 5px;
letter-spacing: 0.02em;
}
.card-footer-action {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 6px;
margin-top: 12px;
padding-top: 10px;
border-top: 1px solid var(--line, #1f2330);
font-size: 9px;
font-weight: 600;
/* ── Hover Arrow (bottom-right) ── */
.card-arrow {
position: absolute;
right: 12px;
bottom: 12px;
color: #6b7385;
text-transform: uppercase;
letter-spacing: 0.06em;
opacity: 0;
transform: translateX(-6px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.card-footer-action .arrow {
font-size: 13px;
.agent-card:hover .card-arrow {
opacity: 1;
transform: translateX(0);
}
.arrow-icon {
font-size: 14px;
line-height: 1;
}
.agent-card:hover .card-footer-action {
color: var(--card-color, #8b7cf6);
}
/* ── Node Task ── */
.node-task {
display: block;
font-size: 10px;
color: #9ea5b3;
margin-bottom: 8px;
line-height: 1.4;
}
.node-task-dot {
display: inline-block;
margin-right: 4px;
font-size: 8px;
vertical-align: middle;
}
/* ── Node Runtime ── */
.node-runtime {
font-size: 9px;
color: #6b7385;
font-variant-numeric: tabular-nums;
margin-left: auto;
}
@media (max-width: 720px) {
+47 -55
View File
@@ -5,8 +5,13 @@ export interface AgentNodeData {
name: string
role: string
description: string
tags: string[]
color: string
icon: string
task: string
runtime: string
model?: string
hero?: boolean
currentTask: string
goal: string
progress: number
@@ -17,21 +22,19 @@ export interface AgentNodeData {
thinkingStream?: Array<{ time: string; text: string }>
}
export interface MissionData {
export interface OpenTask {
id: string
name: string
progress: number
currentTask: string
lastActivity: string
remainingTasks: number
status: 'healthy' | 'attention' | 'blocked' | 'paused'
title: string
detail: string
source: 'bao' | 'iris'
createdAt: string
}
export interface FeedEntry {
time: string
agent: string
action: string
timestamp: number
timestamp: string
}
export interface ChatMessage {
@@ -105,14 +108,19 @@ export function useDashboardData() {
name: 'Iris',
role: 'Chief of Staff',
description: 'Koordiniert, delegiert, hält das Team tight. Die erste Anlaufstelle zwischen Boss und Maschine.',
tags: ['Orchestration', 'Delegation', 'Approval'],
color: '#8b7cf6',
icon: 'bot',
hero: true,
task: 'Orchestrating Nexus Dashboard redesign',
runtime: '14:23',
currentTask: 'Orchestrating Nexus Dashboard redesign',
goal: 'Complete Mission Control v3',
progress: 85,
workload: 55,
active: true,
runtimeSeconds: 28800,
model: 'GPT-5.4',
workingFeed: [
{ time: '22:38', text: 'Analyzed user feedback on Dashboard' },
{ time: '22:36', text: 'Delegated card redesign to Developer' },
@@ -130,8 +138,11 @@ export function useDashboardData() {
name: 'Developer',
role: 'Backend & Frontend',
description: 'Implements features across the stack with TypeScript, C#, and Vue.',
tags: ['Coding', 'Development', 'Builds'],
color: '#3b82f6',
icon: 'code',
task: 'Building Dungeon System API endpoints',
runtime: '01:00',
currentTask: 'Building Dungeon System API endpoints',
goal: 'Complete Dungeon CRUD + room generation',
progress: 62,
@@ -149,14 +160,18 @@ export function useDashboardData() {
{ time: '22:23', text: 'Designing RoomFactory interface' },
{ time: '22:24', text: 'Implementing corridor connection logic' },
],
model: 'DeepSeek V4 Flash',
},
{
id: 'devops',
name: 'DevOps',
role: 'Infrastructure & CI/CD',
description: 'Manages Docker, deployment pipelines, and system reliability.',
tags: ['Deployment', 'Docker', 'CI/CD'],
color: '#eab308',
icon: 'server',
task: 'Optimizing Docker Compose caching',
runtime: '00:30',
currentTask: 'Optimizing Docker Compose caching',
goal: 'Reduce build times by 40%',
progress: 45,
@@ -174,14 +189,18 @@ export function useDashboardData() {
{ time: '22:21', text: 'Benchmarking multi-stage vs single-stage' },
{ time: '22:22', text: 'Calculating potential speedup from caching' },
],
model: 'DeepSeek V4 Pro',
},
{
id: 'researcher',
name: 'Researcher',
role: 'Analysis & Documentation',
description: 'Researches APIs, patterns, and best practices. Maintains docs.',
tags: ['Research', 'Analysis', 'Docs'],
color: '#22c55e',
icon: 'search',
task: 'Analyzing WebSocket alternatives',
runtime: '00:45',
currentTask: 'Analyzing WebSocket alternatives',
goal: 'Recommend real-time communication strategy',
progress: 30,
@@ -198,14 +217,18 @@ export function useDashboardData() {
{ time: '22:19', text: 'Checking SSE browser support matrix' },
{ time: '22:20', text: 'Drafting recommendation summary' },
],
model: 'DeepSeek V4 Pro',
},
{
id: 'reviewer',
name: 'Reviewer',
role: 'Code Quality & Testing',
description: 'Reviews pull requests, enforces standards, runs test suites.',
tags: ['Code Review', 'Testing', 'Quality'],
color: '#a855f7',
icon: 'shield',
task: 'Reviewing Dungeon System PR',
runtime: '00:15',
currentTask: 'Reviewing Dungeon System PR',
goal: 'Zero critical findings before merge',
progress: 80,
@@ -223,59 +246,28 @@ export function useDashboardData() {
{ time: '22:16', text: 'Checking RoomValidator edge cases' },
{ time: '22:17', text: 'Verifying integration test coverage' },
],
model: 'DeepSeek V4 Pro',
},
])
// Missions
const missions = ref<MissionData[]>([
{
id: 'dungeon-system',
name: 'Dungeon System',
progress: 62,
currentTask: 'Implement room generation',
lastActivity: '3 min ago',
remainingTasks: 8,
status: 'healthy',
},
{
id: 'dashboard-redesign',
name: 'Dashboard Redesign',
progress: 45,
currentTask: 'AI Team Network layout',
lastActivity: 'Just now',
remainingTasks: 6,
status: 'healthy',
},
{
id: 'infra-optimization',
name: 'Infra Optimization',
progress: 30,
currentTask: 'Optimize build caching',
lastActivity: '12 min ago',
remainingTasks: 4,
status: 'attention',
},
{
id: 'auth-system',
name: 'Auth System',
progress: 88,
currentTask: 'Finalize refresh token flow',
lastActivity: '45 min ago',
remainingTasks: 2,
status: 'healthy',
},
// Open Tasks
const openTasks = ref<OpenTask[]>([
{ id: 't1', title: 'Agent Thinking Panel visualisieren', detail: 'Live-Animation der Denkprozesse im AgentModal', source: 'iris', createdAt: '22:30' },
{ id: 't2', title: 'CI/CD Pipeline Monitoring Dashboard', detail: 'Echtzeit-Status der Gitea Actions im Dashboard', source: 'iris', createdAt: '21:15' },
{ id: 't3', title: 'Dungeon System Dokumentation', detail: 'API-Doku für Room-Generation-Endpunkte schreiben', source: 'bao', createdAt: '20:00' },
])
// Feed
const ts = (offset: number) => new Date(now + offset).toISOString()
const feedEntries = ref<FeedEntry[]>([
{ time: '20:42', agent: 'Developer', action: 'Created DungeonController endpoints', timestamp: now - 60000 },
{ time: '20:38', agent: 'DevOps', action: 'Optimized Docker COPY order', timestamp: now - 300000 },
{ time: '20:35', agent: 'Iris', action: 'Delegated room generation to Developer', timestamp: now - 540000 },
{ time: '20:28', agent: 'Researcher', action: 'Documented WebSocket vs SSE analysis', timestamp: now - 780000 },
{ time: '20:22', agent: 'Reviewer', action: 'Approved RoomValidator PR', timestamp: now - 900000 },
{ time: '20:15', agent: 'DevOps', action: 'Added .dockerignore for node_modules', timestamp: now - 1200000 },
{ time: '20:08', agent: 'Iris', action: 'Broke down Dungeon System tasks', timestamp: now - 1500000 },
{ time: '19:55', agent: 'Developer', action: 'Defined dungeon schema models', timestamp: now - 1800000 },
{ time: '22:50', agent: 'Developer', action: 'Created DungeonController endpoints', timestamp: ts(-120000) },
{ time: '22:46', agent: 'DevOps', action: 'Optimized Docker COPY order for layer caching', timestamp: ts(-360000) },
{ time: '22:42', agent: 'Iris', action: 'Delegated room generation to Developer with spec', timestamp: ts(-600000) },
{ time: '22:35', agent: 'Researcher', action: 'Documented WebSocket vs SSE analysis results', timestamp: ts(-960000) },
{ time: '22:28', agent: 'Reviewer', action: 'Approved RoomValidator PR with minor fixes', timestamp: ts(-1200000) },
{ time: '22:18', agent: 'DevOps', action: 'Added .dockerignore for node_modules and build artifacts', timestamp: ts(-1500000) },
{ time: '22:08', agent: 'Iris', action: 'Broke down Dungeon System tasks into sub-tasks', timestamp: ts(-1800000) },
{ time: '21:55', agent: 'Developer', action: 'Defined dungeon schema models with validation', timestamp: ts(-2400000) },
])
// Chat
@@ -324,7 +316,7 @@ export function useDashboardData() {
return {
agents,
missions,
openTasks,
feedEntries,
chatMessages,
irisBusy,
+3 -4
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { onMounted, onUnmounted, ref } from 'vue'
import MissionCard from '../components/dashboard/MissionCard.vue'
import TaskCard from '../components/dashboard/MissionCard.vue'
import OperationsFeed from '../components/dashboard/OperationsFeed.vue'
import TeamNetwork from '../components/dashboard/TeamNetwork.vue'
import ChatPanel from '../components/dashboard/ChatPanel.vue'
@@ -10,7 +10,7 @@ import { useDashboardData } from '../composables/useDashboardData'
import type { AgentNodeData } from '../../composables/useDashboardData'
const {
agents, missions, feedEntries, chatMessages,
agents, openTasks, feedEntries, chatMessages,
irisBusy, irisFocus, irisRuntime, queue,
getAgentRuntime, startRuntime, stopRuntime,
sendChat, removeQueueItem, moveQueueItem, changeQueuePriority,
@@ -48,8 +48,7 @@ function onQueueExecuteNow(id: string): void {
<div class="dashboard">
<div class="col-left">
<section class="missions-section">
<h2 class="column-title">Active Missions</h2>
<MissionCard v-for="m in missions" :key="m.id" :mission="m" />
<TaskCard :tasks="openTasks" @new-task="console.log('New task requested')" @go-board="console.log('Go to Task Board')" />
</section>
<OperationsFeed :entries="feedEntries" />
</div>