Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(approval-history): remove session column and shortId helper

Steven Enamakel7c0632b0835b
diff --git a/app/src/components/settings/panels/ApprovalHistoryPanel.tsx b/app/src/components/settings/panels/ApprovalHistoryPanel.tsx
index 8e2c7eb3a1..8321d5387a 100644
--- a/app/src/components/settings/panels/ApprovalHistoryPanel.tsx
+++ b/app/src/components/settings/panels/ApprovalHistoryPanel.tsx
@@ -41,10 +41,6 @@ const DECISION_DOT_CLASS: Record<ApprovalDecision, string> = {
deny: 'bg-coral-500',
};
-/** Last 8 characters of a long id — enough to tell sessions apart. */
-const shortId = (id: string | null | undefined): string =>
- !id ? '—' : id.length > 10 ? `…${id.slice(-8)}` : id;
-
const DECISION_LABEL_KEY: Record<ApprovalDecision, string> = {
approve_once: 'settings.approvalHistory.decision.approveOnce',
approve_always_for_tool: 'settings.approvalHistory.decision.approveAlways',
@@ -147,18 +143,6 @@ const ApprovalHistoryPanel = () => {
</div>
),
},
- {
- id: 'session',
- header: t('settings.approvalHistory.column.session'),
- className: 'w-px whitespace-nowrap',
- cell: entry => (
- <span
- className="font-mono text-[11px] text-content-muted"
- title={entry.session_id ?? undefined}>
- {shortId(entry.session_id)}
- </span>
- ),
- },
{
id: 'decision',
header: t('settings.approvalHistory.column.decision'),