chore: misc updates and fixes
- lib/utils.ts: Add getArchetypeDisplayChar helper (duplicate of src/lib) - globals.css: Style updates - swarm-command-feed.tsx: Component updates - telemetry-grid.tsx: Use getArchetypeDisplayChar - test-watcher.ts: Test utility updates
This commit is contained in:
parent
1ee8dc8ca2
commit
5ff4469dd5
5 changed files with 24 additions and 19 deletions
|
|
@ -5,6 +5,7 @@ import React, { useState } from 'react';
|
|||
import { Loader2, AlertCircle, Bot, Zap } from 'lucide-react';
|
||||
import type { BeadIssue } from '../../lib/types';
|
||||
import type { AgentArchetype } from '../../lib/types-swarm';
|
||||
import { getArchetypeDisplayChar } from '../../lib/utils';
|
||||
|
||||
import { WorkflowGraph } from '../shared/workflow-graph';
|
||||
|
||||
|
|
@ -190,7 +191,7 @@ export function TelemetryGrid({ epicId, issues, archetypes }: TelemetryGridProps
|
|||
className="h-8 w-8 rounded flex-shrink-0 flex items-center justify-center font-bold text-sm border"
|
||||
style={{ backgroundColor: `${r.archetype?.color || '#888'}15`, color: r.archetype?.color || '#888', borderColor: `${r.archetype?.color || '#888'}30` }}
|
||||
>
|
||||
{r.assignee.charAt(0).toUpperCase()}
|
||||
{r.archetype ? getArchetypeDisplayChar(r.archetype) : r.assignee.charAt(0).toUpperCase()}
|
||||
</div>
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="text-xs font-bold text-[var(--ui-text-primary)] truncate">{r.assignee}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue