inspector/clients/web/src/hooks
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall bbffafded1 fix: resolve the servers list outside the override's state updater (#2095)
`record` read `serversRef.current` from inside the `setRecords` updater. A
functional updater must be pure -- React may defer or replay it -- so the
pairing resolved at whatever moment the updater happened to run rather than
when the record was written. A list read committing in between would then be
paired with the record as its baseline, and the very read that should have
superseded the override would instead certify it.

Read the list once, at call time, and use it for both the pairing and the
prune.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177mPHAdECD18nLLCTwR5rh
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-25 20:33:14 -04:00
..
useImportClientConfig.test.tsx fix(web): stop the remaining consumers calling a landed write a failure 2026-08-23 10:14:22 -04:00
useImportClientConfig.ts fix(web): stop the remaining consumers calling a landed write a failure 2026-08-23 10:14:22 -04:00
useLastPersistedSettings.test.tsx fix(web): update a fixture the merge brought in to the object metadata shape 2026-08-23 16:56:53 -04:00
useLastPersistedSettings.ts fix(web): apply the whole live surface, and track write outcomes per server 2026-08-23 13:56:36 -04:00
usePaginatedList.test.tsx fix: surface list-fetch failures in paginated mode (#1998) 2026-08-17 20:40:23 -04:00
usePaginatedList.ts fix: surface list-fetch failures in paginated mode (#1998) 2026-08-17 20:40:23 -04:00
usePaginatedListsOverride.test.tsx fix: keep the pagination toggle on the last write across a server switch (#2095) 2026-08-25 20:20:57 -04:00
usePaginatedListsOverride.ts fix: resolve the servers list outside the override's state updater (#2095) 2026-08-25 20:33:14 -04:00
useScrollMemory.test.tsx feat(web): tool progress toasts + persist all per-screen state across navigation (#1414, #1417) (#1420) 2026-06-03 12:46:37 -04:00
useScrollMemory.ts feat(web): tool progress toasts + persist all per-screen state across navigation (#1414, #1417) (#1420) 2026-06-03 12:46:37 -04:00
useServerJsonImport.test.tsx chore: close a batch of quality-gate & tidy gaps (#1785 #1787 #1789 #1790 #1767) (#1792) 2026-07-26 10:43:11 -04:00
useServerJsonImport.ts chore: close a batch of quality-gate & tidy gaps (#1785 #1787 #1789 #1790 #1767) (#1792) 2026-07-26 10:43:11 -04:00
useValueChange.test.tsx chore(deps): migrate to eslint 10 to clear the brace-expansion DoS advisory (#1900) 2026-08-01 20:13:30 -04:00
useValueChange.ts chore(deps): migrate to eslint 10 to clear the brace-expansion DoS advisory (#1900) 2026-08-01 20:13:30 -04:00