Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

feat(control-ui): overview — swap IconRobot for the MiniMax SVG

Miguelon Peluchonbe34c8f2305f
diff --git a/control-ui/components/HostOverviewTab/index.tsx b/control-ui/components/HostOverviewTab/index.tsx
index b88b4f6fe..730674b22 100644
--- a/control-ui/components/HostOverviewTab/index.tsx
+++ b/control-ui/components/HostOverviewTab/index.tsx
@@ -1,7 +1,21 @@
import React from 'react'
-import { IconRobot } from '../Sidebar/icons'
import type { HostOverviewTabProps, HostTabKey } from './types'
+function AgentAvatar() {
+ return (
+ <svg
+ fill="#E73562"
+ role="img"
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
+ >
+ <title>MiniMax</title>
+ <path d="M11.43 3.92a.86.86 0 1 0-1.718 0v14.236a1.999 1.999 0 0 1-3.997 0V9.022a.86.86 0 1 0-1.718 0v3.87a1.999 1.999 0 0 1-3.997 0V11.49a.57.57 0 0 1 1.139 0v1.404a.86.86 0 0 0 1.719 0V9.022a1.999 1.999 0 0 1 3.997 0v9.134a.86.86 0 0 0 1.719 0V3.92a1.998 1.998 0 1 1 3.996 0v11.788a.57.57 0 1 1-1.139 0zm10.572 3.105a2 2 0 0 0-1.999 1.997v7.63a.86.86 0 0 1-1.718 0V3.923a1.999 1.999 0 0 0-3.997 0v16.16a.86.86 0 0 1-1.719 0V18.08a.57.57 0 1 0-1.138 0v2a1.998 1.998 0 0 0 3.996 0V3.92a.86.86 0 0 1 1.719 0v12.73a1.999 1.999 0 0 0 3.996 0V9.023a.86.86 0 1 1 1.72 0v6.686a.57.57 0 0 0 1.138 0V9.022a2 2 0 0 0-1.998-1.997" />
+ </svg>
+ )
+}
+
const STATUS_DOT_CLASS: Record<HostOverviewTabProps['statusTone'], string> = {
active: 'cu-host-overview-status__dot--active',
inactive: 'cu-host-overview-status__dot--inactive',
@@ -106,7 +120,7 @@ export function HostOverviewTab({
<section className="cu-host-overview-identity" aria-label="Agent identity">
<div className="cu-host-overview-identity__name">
<span className="cu-host-overview-identity__icon" aria-hidden="true">
- <IconRobot />
+ <AgentAvatar />
</span>
{shownName}
</div>
@@ -139,7 +153,7 @@ export function HostOverviewTab({
<div className="cu-host-overview-identity__divider" />
- <NavHeader label="Connectors" tab="contexts" onNavigate={onNavigate} />
+ <NavHeader label="Connectors" tab="connectors" onNavigate={onNavigate} />
<div className="cu-host-overview-identity__counts">
<div>
<div className="cu-host-overview-identity__count-value">{contextMcpServers.length}</div>
@@ -229,7 +243,7 @@ export function HostOverviewTab({
<div className="cu-card__body">
<NavHeader
label="Connectors"
- tab="contexts"
+ tab="connectors"
count={contextMcpTotal}
onNavigate={onNavigate}
/>
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 875b41811..f82798ed4 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.442",
+ "version": "0.1.443",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.442",
+ "version": "0.1.443",
"dependencies": {
"@clerum/display-field": "file:../packages/display-field",
"@clerum/llm-providers": "file:../packages/llm-providers",
diff --git a/control-ui/package.json b/control-ui/package.json
index 903f97ff5..930743b63 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.442",
+ "version": "0.1.443",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",