inspector/clients/web/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall f104e6e21a Phase 2: Refactor History cluster to use MessageEntry
Replace ad hoc flat props with MessageEntry from core/mcp/types.ts
across the History group components and HistoryScreen.

- HistoryEntry: accept `entry: MessageEntry` instead of flat props
  (timestamp, method, target, status, durationMs, parameters, response);
  derive method/target/status from embedded JSON-RPC objects; fix
  Collapse animation by removing outer {isExpanded && ...} wrapper;
  drop childEntries (not part of MessageEntry)
- HistoryControls: type onMethodFilterChange as (string | undefined)
- HistoryListPanel: accept `MessageEntry[]` + `pinnedIds: Set<string>`
  instead of separate entries/pinnedEntries arrays with pre-bound
  callbacks; pass onReplay/onTogglePin by entry ID
- HistoryScreen: accept `MessageEntry[]` + `pinnedIds` + ID-based
  callbacks; collapse two-array model into single list with pinned
  overlay
- Delete local HistoryEntryProps data shape, HistoryChildEntry type
- Update all stories with real JSON-RPC MessageEntry fixtures
- Update ConnectedView HistoryActive story

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 16:55:23 -04:00
..
components Phase 2: Refactor History cluster to use MessageEntry 2026-04-20 16:55:23 -04:00
lib/types Phase 0 foundations for component interfaces refactor 2026-04-15 16:06:23 -04:00
theme Phase 1: Style refinements and component tweaks from Storybook review 2026-04-17 19:26:21 -04:00
types Phase 0 foundations for component interfaces refactor 2026-04-15 16:06:23 -04:00
utils Phase 0 foundations for component interfaces refactor 2026-04-15 16:06:23 -04:00
App.css Update style for menus 2026-04-18 12:32:46 -04:00
App.tsx formatting 2026-03-17 16:43:27 -04:00
main.tsx Phase 1: Style refinements and component tweaks from Storybook review 2026-04-17 19:26:21 -04:00