MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / getCurrentTopicLabel

Function getCurrentTopicLabel

frontend/src/components/chart-card.tsx:159–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158 // Find the current topic label
159 const getCurrentTopicLabel = () => {
160 const topicItem = ROS_TOPICS.find((t) => t.value === topic);
161 return topicItem ? topicItem.label : topic;
162 };
163
164 // Generate chart colors based on the chart type
165 const getChartColor = () => {

Callers 2

formatDataForApexFunction · 0.85
renderChartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected