MCPcopy Create free account
hub / github.com/astercloud/aster / getChannelColor

Function getChannelColor

studio/src/pages/Events.tsx:510–517  ·  view source on GitHub ↗
(channel?: string)

Source from the content-addressed store, hash-verified

508}
509
510function getChannelColor(channel?: string): string {
511 const colors: Record<string, string> = {
512 progress: '#3b82f6',
513 control: '#f59e0b',
514 monitor: '#22c55e',
515 };
516 return colors[channel || ''] || '#94a3b8';
517}
518
519function getSummary(event: StreamEvent): string {
520 const data = event.data;

Callers 1

EventRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected