inspector/clients/web/src/hooks
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall dc026acfea chore(web): drop the double cast from the useSessionRef test fixture
Addresses Copilot's review on #2152. The client stand-in was
`({ tag }) as unknown as InspectorClient` — a double cast with no
justification, which AGENTS.md rejects.

`Object.create(InspectorClient.prototype)` gives a real prototype chain
without running the constructor, so it needs only a single cast and still
drags in no transport or environment. The tag went with it: every
assertion compares identity, and `Object.create` already returns a
distinct object per call.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MZdpUwhHf943FoprcLVzEm
Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 20:54:39 -04:00
..
useExportActions.test.tsx chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useExportActions.ts chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -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
useInspectorStores.test.tsx chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useInspectorStores.ts chore(web): extract App.tsx's leaf hooks (#2128) 2026-08-26 19:42:16 -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
useProgressToasts.test.tsx chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useProgressToasts.ts chore(web): record the useProgressToasts return-type exception 2026-08-26 20:10:55 -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
useSessionRef.test.tsx chore(web): drop the double cast from the useSessionRef test fixture 2026-08-26 20:54:39 -04:00
useSessionRef.ts chore(web): collapse App.tsx's six session refs into useSessionRef (#2129) 2026-08-26 20:43:29 -04:00
useTabUiState.test.tsx chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useTabUiState.ts chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useTaskToasts.test.tsx chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useTaskToasts.ts chore(web): address Copilot review on #2128 2026-08-26 19:58:02 -04:00
useThemeToggle.test.tsx chore(web): extract App.tsx's leaf hooks (#2128) 2026-08-26 19:42:16 -04:00
useThemeToggle.ts chore(web): extract App.tsx's leaf hooks (#2128) 2026-08-26 19:42:16 -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