forked from molecule-ai/molecule-core
- AuditTrailPanel SidePanel tab showing the workspace audit ledger from GET /workspaces/:id/audit with cursor-based pagination (?cursor=, ?limit=50) - Color-coded event-type badges: delegation=blue-500, decision=violet-500, gate=yellow-500, hitl=orange-500 - chain_valid=false renders red tamper warning indicator - Event-type filter bar (All / Delegation / Decision / Gate / HITL) resets pagination and reloads with ?event_type= param - Relative timestamps refreshed every 30 s without re-fetching - Empty state with icon and descriptive copy - Toolbar Audit button (ledger icon) switches panel to audit tab for selected workspace, or shows toast if no workspace is selected - 29 new unit tests across formatAuditRelativeTime, AuditEntryRow, and AuditTrailPanel component integration suites - Update SidePanel.tabs.test.tsx for 13-tab count and audit as last tab - Add setPanelTab to Canvas test store mocks (Toolbar now reads it) Closes #753 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| canvas-capabilities.ts | ||
| canvas-events.ts | ||
| canvas-topology.ts | ||
| canvas.ts | ||
| socket.ts | ||