feat: wire dashboard v2 to backend data
This commit is contained in:
@@ -160,6 +160,16 @@ const statusColors: Record<string, string> = {
|
||||
<div class="m-think">{{ thinkDisplay }}<span class="caret"></span></div>
|
||||
</div>
|
||||
|
||||
<div v-if="agent.activity.length" class="m-sec">
|
||||
<h4>Agent Activity</h4>
|
||||
<div class="m-activity">
|
||||
<div v-for="(entry, index) in agent.activity" :key="index" class="m-activity-row">
|
||||
<span class="m-activity-time">{{ entry.time }}</span>
|
||||
<span class="m-activity-text">{{ entry.text }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modell wählen -->
|
||||
<div class="m-sec">
|
||||
<h4>Modell wählen</h4>
|
||||
@@ -519,6 +529,35 @@ const statusColors: Record<string, string> = {
|
||||
|
||||
@keyframes blink { 50% { opacity: 0; } }
|
||||
|
||||
.m-activity {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.m-activity-row {
|
||||
display: grid;
|
||||
grid-template-columns: 72px 1fr;
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
padding: 10px 12px;
|
||||
border-radius: 12px;
|
||||
background: rgba(124,108,255,.06);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.m-activity-time {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 10px;
|
||||
color: var(--tx-3);
|
||||
}
|
||||
|
||||
.m-activity-text {
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
color: var(--tx-2);
|
||||
}
|
||||
|
||||
/* ── Models ──────────────────────────────────── */
|
||||
.m-models {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user