From b097ad71de4dd3b4624267737b2a28083cb95295 Mon Sep 17 00:00:00 2001 From: chahinebrini Date: Wed, 8 Jul 2026 05:45:57 +0200 Subject: [PATCH] fix(team): drop redundant 'active'/'in review' word from the status line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The badge chip already says Active/Review, so the status line now shows just the task id + relative time (e.g. 'TSK-0059 ยท 2h') instead of repeating it. --- src/server/team.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/team.ts b/src/server/team.ts index 846fcd8..aeb1a3b 100644 --- a/src/server/team.ts +++ b/src/server/team.ts @@ -104,8 +104,8 @@ export function renderTeamHtml(cwd: string): string { const badge = st ? `${st.state === 'active' ? 'active' : 'review'}` : ''; const status = st ? st.state === 'active' - ? `${escapeHtml(st.task.id)} · active` - : `${escapeHtml(st.task.id)} · in review` + ? `${escapeHtml(st.task.id)}` + : `${escapeHtml(st.task.id)}` : `free`; return `
@@ -359,8 +359,8 @@ export function renderTeamHtml(cwd: string): string { if (badge) { badge.className = 'node-badge' + (state ? ' ' + (state === 'active' ? 'active' : 'review') : ''); badge.textContent = state === 'active' ? 'active' : state === 'reviewing' ? 'review' : ''; } var st = card.querySelector('.agent-status'); if (st) { - if (state === 'active' && task) st.innerHTML = '' + esc(task.id) + ' \\u00b7 active ' + esc(ago(task.updatedAt)) + ''; - else if (state === 'reviewing' && task) st.innerHTML = '' + esc(task.id) + ' \\u00b7 in review'; + if (state === 'active' && task) st.innerHTML = '' + esc(task.id) + ' \\u00b7 ' + esc(ago(task.updatedAt)) + ''; + else if (state === 'reviewing' && task) st.innerHTML = '' + esc(task.id) + ' \\u00b7 ' + esc(ago(task.updatedAt)) + ''; else st.innerHTML = 'free'; } }