cliffhall
dd7812063c
test(web): make the debounce-cancellation test load-bearing (review round 1)
...
The "cancels a pending debounce timer when the input is re-focused" test
passed trivially after the delay:null change: synchronous typing meant the
assertion ran at t≈0, before the 300ms debounce could ever fire, so it
passed whether or not handleFocus's clearTimeout worked.
Rewrote it with fake timers so the debounce window elapses deterministically
(advance the clock by 400ms directly). The interaction is driven with
fireEvent rather than userEvent because userEvent's async internals deadlock
under vitest fake timers with the Mantine/happy-dom stack. Verified
load-bearing: removing the clearTimeout in handleFocus makes it fail
(expected 1 to be 0), and it passes once restored.
Also tightened the sibling-context comment (with delay:null the sibling is
reliably "es"); the tolerant /^es?$/ regex is left as-is.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S3fTN8H3R8YV4yUGvZjYnX
2026-07-01 21:22:04 -04:00
..
AppControls
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
AppDetailPanel
feat(web): render pending sampling/elicitation requests ( #1407 ) ( #1411 )
2026-06-02 17:52:20 -04:00
AppListItem
feat(apps): add AppListItem and AppDetailPanel groups ( #1261 ) ( #1273 )
2026-05-04 10:28:58 -04:00
ClientSettingsForm
fix(web): block close on incomplete EMA config, not just an invalid issuer ( closes #1546 ) ( #1547 )
2026-06-29 17:49:34 -04:00
ClientSettingsModal
fix(web): block close on incomplete EMA config, not just an invalid issuer ( closes #1546 ) ( #1547 )
2026-06-29 17:49:34 -04:00
ConnectionInfoContent
Guided-auth removal, OAuth smoke testing, and TUI/CLI support ( #1531 )
2026-06-29 15:35:51 -04:00
ConnectionInfoModal
Guided-auth removal, OAuth smoke testing, and TUI/CLI support ( #1531 )
2026-06-29 15:35:51 -04:00
ElicitationFormPanel
feat(web): render pending sampling/elicitation requests ( #1407 ) ( #1411 )
2026-06-02 17:52:20 -04:00
ElicitationUrlPanel
feat(web): URL elicitation — explicit completion step + error-path (-32042) handling ( #1415 ) ( #1436 )
2026-06-06 18:25:01 -04:00
ExperimentalFeaturesPanel
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
HistoryControls
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
HistoryEntry
feat(web): History — Pin & Replay, plus two history-status fixes ( #1438 ) ( #1441 )
2026-06-07 20:21:52 -04:00
HistoryListPanel
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
ImportServerJsonPanel
feat(web,core): import client configs and registry server.json ( #1348 ) ( #1511 )
2026-06-23 19:52:08 -04:00
InlineElicitationRequest
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
InlineSamplingRequest
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
LogControls
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
LogStreamPanel
fix(web): give History/Network/Logging list scrollbars a gutter, hide when idle ( #1474 ) ( #1475 )
2026-06-14 10:03:30 -04:00
MessageDirectionFilter
fix(web): filter toggle hover as border, not background ( #1460 ) ( #1461 )
2026-06-13 19:52:27 -04:00
NetworkControls
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
NetworkEntry
feat(web): History — Pin & Replay, plus two history-status fixes ( #1438 ) ( #1441 )
2026-06-07 20:21:52 -04:00
NetworkStreamPanel
fix(web): give History/Network/Logging list scrollbars a gutter, hide when idle ( #1474 ) ( #1475 )
2026-06-14 10:03:30 -04:00
OutputValidationModal
feat(apps): render running MCP Apps end-to-end ( #1370 ) ( #1403 )
2026-06-01 18:01:44 -04:00
PendingClientRequestModal
feat(web): add Mantine clear buttons to text inputs app-wide ( #1333 ) ( #1448 )
2026-06-12 09:51:05 -04:00
PendingClientRequests
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
PromptArgumentsForm
test(web): make the debounce-cancellation test load-bearing (review round 1)
2026-07-01 21:22:04 -04:00
PromptControls
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
PromptListItem
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
PromptMessagesDisplay
Port resource preview UX improvements to PromptsScreen ( #1328 ) ( #1331 )
2026-05-23 09:20:20 -04:00
ResourceControls
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
ResourceLink
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
ResourceListItem
feat(apps): AppsScreen and InspectorView wiring ( #1263 ) ( #1286 )
2026-05-07 14:18:27 -04:00
ResourcePreviewPanel
feat(web): add a View Source toggle to the resource preview ( closes #1552 ) ( #1553 )
2026-06-30 11:05:16 -04:00
ResourceSubscribedItem
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
ResourceTemplatePanel
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
RootsTable
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
SamplingRequestPanel
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
SchemaForm
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
ServerAddMenu
feat(web,core): import client configs and registry server.json ( #1348 ) ( #1511 )
2026-06-23 19:52:08 -04:00
ServerCard
fix(web): remove mantine-border-animate, use green highlight border ( #1536 )
2026-06-27 17:04:25 -04:00
ServerConfigModal
test(web): eliminate timeout flakiness in the web test suite ( closes #1596 )
2026-07-01 21:11:11 -04:00
ServerImportConfigModal
test(web): eliminate timeout flakiness in the web test suite ( closes #1596 )
2026-07-01 21:11:11 -04:00
ServerImportJsonModal
test(web): eliminate timeout flakiness in the web test suite ( closes #1596 )
2026-07-01 21:11:11 -04:00
ServerListControls
feat(web): catalog vs read-only session launch model + apply --header ( #1481 , #1483 ) ( #1496 )
2026-06-16 14:24:58 -04:00
ServerRemoveConfirmModal
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
ServerSettingsForm
Guided-auth removal, OAuth smoke testing, and TUI/CLI support ( #1531 )
2026-06-29 15:35:51 -04:00
ServerSettingsModal
Guided-auth removal, OAuth smoke testing, and TUI/CLI support ( #1531 )
2026-06-29 15:35:51 -04:00
SortableServerCard
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
TaskCard
feat(web): History — Pin & Replay, plus two history-status fixes ( #1438 ) ( #1441 )
2026-06-07 20:21:52 -04:00
TaskControls
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
TaskListPanel
feat(web): tool progress toasts + persist all per-screen state across navigation ( #1414 , #1417 ) ( #1420 )
2026-06-03 12:46:37 -04:00
ToolControls
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
ToolDetailPanel
fix(web): collapsible tool description in ToolDetailPanel — shown by default ( #1381 ) ( #1459 )
2026-06-13 19:13:29 -04:00
ToolListItem
feat(apps): render tool.icons on ToolListItem and ToolDetailPanel ( #1264 ) ( #1293 )
2026-05-09 15:45:53 -04:00
ToolResultPanel
feat(web): expandable resource_link with read-on-demand ( #1449 ) ( #1456 )
2026-06-13 17:15:25 -04:00
UrlElicitationErrorModal
feat(web): URL elicitation — explicit completion step + error-path (-32042) handling ( #1415 ) ( #1436 )
2026-06-06 18:25:01 -04:00
ViewHeader
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
historyUtils.test.ts
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
historyUtils.ts
feat(web): History — Pin & Replay, plus two history-status fixes ( #1438 ) ( #1441 )
2026-06-07 20:21:52 -04:00