Commit ·
70d2074
1
Parent(s): 13c9630
Fix stuck 'Waiting for approval' spinner and improve table rendering
Browse filesClear waiting-approval activity status immediately when user approves,
instead of waiting for the backend's tool_state_change event over SSE.
Improve markdown table styles: horizontal overflow scroll, header
background, better padding, and alternating row striping.
Files changed (2)
69 unmodified lines7071727374757677787980818283848569 unmodified lineswidth: '100%',my: 2,fontSize: '0.85rem',},'& th': {borderBottom: '2px solid var(--border-hover)',textAlign: 'left',p: 1,fontWeight: 600,},'& td': {borderBottom: '1px solid var(--tool-border)',p: 1,},'& hr': {69 unmodified lines70717273747576777879808182838485868788899091929394959697989969 unmodified lineswidth: '100%',my: 2,fontSize: '0.85rem',display: 'block',overflowX: 'auto',WebkitOverflowScrolling: 'touch',},'& thead': {position: 'sticky',top: 0,},'& th': {borderBottom: '2px solid var(--border-hover)',bgcolor: 'var(--hover-bg)',textAlign: 'left',px: 1.5,py: 0.75,fontWeight: 600,whiteSpace: 'nowrap',},'& td': {borderBottom: '1px solid var(--tool-border)',px: 1.5,py: 0.75,},'& tr:nth-of-type(even) td': {bgcolor: 'color-mix(in srgb, var(--hover-bg) 50%, transparent)',},'& hr': {
650 unmodified lines651652653654655656657650 unmodified linessetNeedsAttention(sessionId, false);const hasApproved = approvals.some(a => a.approved);if (hasApproved) {updateSession(sessionId, { isProcessing: true });}// Persist updated tool states so a page refresh during execution650 unmodified lines651652653654655656657658659660650 unmodified linessetNeedsAttention(sessionId, false);const hasApproved = approvals.some(a => a.approved);if (hasApproved) {updateSession(sessionId, {isProcessing: true,activityStatus: { type: 'thinking' },});}// Persist updated tool states so a page refresh during execution
frontend/src/components/Chat/MarkdownContent.tsx+16-2
frontend/src/hooks/useAgentChat.ts+4-1