The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(settings): correct approval history panel to show pending approvals
Steven Enamakelb88fe453189b
diff --git a/app/src/components/settings/panels/ApprovalHistoryPanel.tsx b/app/src/components/settings/panels/ApprovalHistoryPanel.tsxindex c3c990d777..3544e0bd33 100644--- a/app/src/components/settings/panels/ApprovalHistoryPanel.tsx+++ b/app/src/components/settings/panels/ApprovalHistoryPanel.tsx@@ -17,10 +17,20 @@ import SettingsPanel from '../layout/SettingsPanel';const log = debug('ui:approval-history');-/** Render a decided timestamp as a locale string; fall back to the raw value. */-const formatDateTime = (value: string): string => {+/**+ * Render a decided timestamp as two lines — date over time — in the user's+ * locale; an unparseable value is shown raw on one line.+ */+const DateTimeCell = ({ value }: { value: string }) => {const ts = Date.parse(value);- return Number.isNaN(ts) ? value : new Date(ts).toLocaleString();+ if (Number.isNaN(ts)) return <>{value}</>;+ const date = new Date(ts);+ return (+ <span className="flex flex-col leading-tight" title={date.toLocaleString()}>+ <span className="text-content">{date.toLocaleDateString()}</span>+ <span className="text-xs text-content-muted">{date.toLocaleTimeString()}</span>+ </span>+ );};/** Badge variant per decision variant. */@@ -114,7 +124,7 @@ const ApprovalHistoryPanel = () => {header: t('settings.approvalHistory.column.time'),align: 'right',className: 'w-40 whitespace-nowrap tabular-nums',- cell: entry => formatDateTime(entry.decided_at),+ cell: entry => <DateTimeCell value={entry.decided_at} />,},{id: 'tool',diff --git a/app/src/pages/onboarding/customWizardSteps.ts b/app/src/pages/onboarding/customWizardSteps.tsindex 7139b86c93..bff7fc5dea 100644--- a/app/src/pages/onboarding/customWizardSteps.ts+++ b/app/src/pages/onboarding/customWizardSteps.ts@@ -8,7 +8,6 @@ export const CUSTOM_WIZARD_STEPS: CustomStepKey[] = ['oauth','search','embeddings',- 'activity','vault',// 'memory',];@@ -19,7 +18,6 @@ export const CUSTOM_WIZARD_ROUTES: Record<CustomStepKey, string> = {oauth: '/onboarding/custom/oauth',search: '/onboarding/custom/search',embeddings: '/onboarding/custom/embeddings',- activity: '/onboarding/custom/activity',memory: '/onboarding/custom/memory',vault: '/onboarding/custom/vault',};