refactor(dashboard): delete redundant company-status line + arbitrary animation cap

Two subtractions surfaced by the fresh Jony+Jobs pass on the Dashboard:

- The "Company status line" at the top of the dashboard showed three
  counters: `{activeAgents} agents active · {activeTasks} tasks in
  progress · {completed} completed`. The 4-card MetricsGrid directly
  below it already rendered the same agent count and active-tasks
  count as its primary tiles. Seeing the same number in vertical
  succession is the cheapest way to tell users "we weren't sure
  what to show." Deleted the whole status-line block + the companyName
  prop + the now-unused caller wiring in OperationsSections.

- The Active Work list rendered a `animate-ping` halo on the first
  two running runs (`i < 2`) and skipped it for the rest. Arbitrary —
  either the ping is a meaningful "I'm active" signal for every
  running run, or it is decoration. Dropped the ping entirely; the
  solid green dot on the robot icon is already enough to say
  "running," and losing the double-layered animation lets the
  dashboard feel calm instead of twitchy.

Dead i18n keys removed alongside (zh + en):
  dash.agentActive / dash.agentsActive / dash.taskInProgress /
  dash.tasksInProgress / dash.completedCount.

Typecheck clean.
This commit is contained in:
ZacharyZhang-NY committed 2026-04-17 21:18:42 -04:00
1 parent 50685b952c
commit c7057d0fd2
4 files changed
+1 -36

No files matched your search

-5
View File
@@ -759,11 +759,6 @@ export const en: Record<string, string> = {
"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",
-5
View File
@@ -759,11 +759,6 @@ export const zh: Record<string, string> = {
"dash.activeWork": "当前工作",
"dash.allRuns": "全部运行",
"dash.noTasksRunning": "当前没有任务在运行",
"dash.agentActive": "个智能体活跃",
"dash.agentsActive": "个智能体活跃",
"dash.taskInProgress": "个任务进行中",
"dash.tasksInProgress": "个任务进行中",
"dash.completedCount": "已完成",
"exec.taskDescription": "描述",
"exec.describeTask": "描述任务",
"social.addAccountLabel": "添加账号",