diff --git a/src/renderer/components/dashboard/Dashboard.tsx b/src/renderer/components/dashboard/Dashboard.tsx index 848eb2e8..fce32c99 100644 --- a/src/renderer/components/dashboard/Dashboard.tsx +++ b/src/renderer/components/dashboard/Dashboard.tsx @@ -30,7 +30,6 @@ import { ChartSection } from "./ChartSection"; import { AttentionRow, Eyebrow } from "../ui"; export interface DashboardProps { - companyName?: string; companyId?: string; agents: AgentRecord[]; tasks: TaskRecord[]; @@ -46,7 +45,7 @@ export interface DashboardProps { export function Dashboard(props: DashboardProps) { const t = useT(); - const { companyName, companyId, agents, tasks, runs, approvals, activity, costs, messages = [], onNavigate } = props; + const { companyId, agents, tasks, runs, approvals, activity, costs, messages = [], onNavigate } = props; const agentMap = useMemo(() => new Map(agents.map((a) => [a.id, a])), [agents]); const taskMap = useMemo(() => new Map(tasks.map((t) => [t.id, t])), [tasks]); @@ -78,26 +77,6 @@ export function Dashboard(props: DashboardProps) { return (
- {/* Company status line */} - {companyName ? ( -
-

{companyName}

-
- - - {activeAgents.length} {activeAgents.length === 1 ? t("dash.agentActive") : t("dash.agentsActive")} - - - - - {activeTasks.length} {activeTasks.length === 1 ? t("dash.taskInProgress") : t("dash.tasksInProgress")} - - - {tasks.filter((tk) => tk.status === "done").length} {t("dash.completedCount")} -
-
- ) : null} - {/* Conditional banners */} @@ -219,9 +198,6 @@ export function Dashboard(props: DashboardProps) { {run.status === "running" ? ( - {i < 2 ? ( - - ) : null} ) : null} diff --git a/src/renderer/i18n/en.ts b/src/renderer/i18n/en.ts index 83a201fe..66a34f31 100644 --- a/src/renderer/i18n/en.ts +++ b/src/renderer/i18n/en.ts @@ -759,11 +759,6 @@ export const en: Record = { "dash.activeWork": "Active Work", "dash.allRuns": "All runs", "dash.noTasksRunning": "No tasks currently running", - "dash.agentActive": "agent active", - "dash.agentsActive": "agents active", - "dash.taskInProgress": "task in progress", - "dash.tasksInProgress": "tasks in progress", - "dash.completedCount": "completed", "exec.taskDescription": "Description", "exec.describeTask": "Describe the task", "social.addAccountLabel": "Add Account", diff --git a/src/renderer/i18n/zh.ts b/src/renderer/i18n/zh.ts index 7889e62e..eee588c2 100644 --- a/src/renderer/i18n/zh.ts +++ b/src/renderer/i18n/zh.ts @@ -759,11 +759,6 @@ export const zh: Record = { "dash.activeWork": "当前工作", "dash.allRuns": "全部运行", "dash.noTasksRunning": "当前没有任务在运行", - "dash.agentActive": "个智能体活跃", - "dash.agentsActive": "个智能体活跃", - "dash.taskInProgress": "个任务进行中", - "dash.tasksInProgress": "个任务进行中", - "dash.completedCount": "已完成", "exec.taskDescription": "描述", "exec.describeTask": "描述任务", "social.addAccountLabel": "添加账号", diff --git a/src/renderer/views/sections/OperationsSections.tsx b/src/renderer/views/sections/OperationsSections.tsx index e4b9a098..e5b1f885 100644 --- a/src/renderer/views/sections/OperationsSections.tsx +++ b/src/renderer/views/sections/OperationsSections.tsx @@ -67,7 +67,6 @@ export function OperationsSections({ section }: OperationsSectionsProps) { <> {section === "overview" ? (