cliffhall
650e5bd020
feat(web): show the Inspector version in the lower-right corner ( #1639 )
...
Display the single-source version (root package.json) in the web UI's
lower-right corner, in grey — matching the CLI and TUI. The browser can't read
the filesystem, so the version flows backend → browser via GET /api/config:
- Add `version?: string` to InitialConfigPayload; the web backend
(webServerConfigToInitialPayload) reads it once via the shared
readInspectorVersion() and tags it onto the payload.
- Add a `useInspectorVersion` hook mirroring useSandboxUrl/useServerListWritable.
- Add a presentational `VersionBadge` element rendered fixed lower-right, grey,
non-interactive; styling lives in a `versionBadge` Text theme variant (no
inline styles, --inspector-* tokens).
- Wire it into App.tsx.
Verified live: /api/config serves `version: "2.0.0"` and the badge renders
`v2.0.0` fixed at the lower-right in grey. Tests: useInspectorVersion (full
branch coverage), VersionBadge (unit + Storybook), web-server-config payload.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BrihGWcrM9JGRyu41nzZYw
2026-07-10 19:07:31 -04:00
..
AnnotationBadge
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
AppRenderer
feat(web): extract hostContext utilities for the Apps host ( closes #1559 )
2026-07-01 18:22:46 -04:00
CapabilityItem
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
ClearButton
fix(web): section-header hover outline + clear buttons out of tab order ( #1487 ) ( #1488 )
2026-06-14 22:27:46 -04:00
CodeHighlight
feat(web): expand ContentViewer to render PDF, CSV, HTML, XML, JSON, CSS ( closes #1329 ) ( #1551 )
2026-06-30 09:18:43 -04:00
ConnectionToggle
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
ContentViewer
feat(web): expand ContentViewer to render PDF, CSV, HTML, XML, JSON, CSS ( closes #1329 ) ( #1551 )
2026-06-30 09:18:43 -04:00
CopyButton
Guided-auth removal, OAuth smoke testing, and TUI/CLI support ( #1531 )
2026-06-29 15:35:51 -04:00
EmbeddableScrollArea
fix(web): keep wide network-entry URLs from overflowing the column ( #1623 )
2026-07-09 20:11:43 -04:00
ExpandToggle
refactor(web): rename "History" tab/feature to "Protocol" ( #1623 )
2026-07-09 19:04:54 -04:00
FilterToggleButton
refactor(web): rename "History" tab/feature to "Protocol" ( #1623 )
2026-07-09 19:04:54 -04:00
ListChangedIndicator
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
ListToggle
feat(network): add Network screen surfacing backend fetch log ( #1355 ) ( #1363 )
2026-05-27 08:35:25 -04:00
LogEntry
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
LogLevelBadge
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
MessageBubble
Port resource preview UX improvements to PromptsScreen ( #1328 ) ( #1331 )
2026-05-23 09:20:20 -04:00
MessageDirectionBadge
refactor(web): unify message-direction arrows and rename Pinned section ( #1623 )
2026-07-09 19:45:52 -04:00
PinColumnButton
refactor(web): rename "History" tab/feature to "Protocol" ( #1623 )
2026-07-09 19:04:54 -04:00
PinToggle
feat(web): History — Pin & Replay, plus two history-status fixes ( #1438 ) ( #1441 )
2026-06-07 20:21:52 -04:00
ProgressDisplay
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
ReplayButton
refactor(web): rename "History" tab/feature to "Protocol" ( #1623 )
2026-07-09 19:04:54 -04:00
ResizeHandle
fix(web): address review feedback on the monitoring column ( #1616 )
2026-07-08 19:41:00 -04:00
ResourceLinkInfo
feat(web): expandable resource_link with read-on-demand ( #1449 ) ( #1456 )
2026-06-13 17:15:25 -04:00
ServerStatusIndicator
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
SortToggle
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
SubscribeButton
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
TaskStatusBadge
test: raise per-file coverage gate to 90 across all clients ( closes #1271 ) ( #1532 )
2026-06-27 15:26:03 -04:00
TransportBadge
test(coverage): bootstrap vitest unit infra and add tests at 90%+ per file ( #1245 ) ( #1269 )
2026-05-01 15:15:32 -04:00
VersionBadge
feat(web): show the Inspector version in the lower-right corner ( #1639 )
2026-07-10 19:07:31 -04:00