Problem
The dashboard Soroban inspector renders a raw <pre>{JSON.stringify(...)}</pre> dump. It works for debugging but feels off-brand compared to the terminal glass panels elsewhere and is hard to scan during demos.
Scope
- Replace the JSON dump with structured rows: position side, stake, round id, pool split, last inspected time
- Keep the existing
inspectSorobanState data source and refresh button
- Preserve RPC fallback/error banner behavior
- Use
PanelHeader, glass-card styling, and monospace accents consistent with EventLogDrawer
Acceptance criteria
Files
src/pages/Dashboard.tsx
src/lib/xelma-contract.ts
- New (optional):
src/components/SorobanInspectorPanel.tsx
Difficulty
intermediate
Problem
The dashboard Soroban inspector renders a raw
<pre>{JSON.stringify(...)}</pre>dump. It works for debugging but feels off-brand compared to the terminal glass panels elsewhere and is hard to scan during demos.Scope
inspectSorobanStatedata source and refresh buttonPanelHeader, glass-card styling, and monospace accents consistent withEventLogDrawerAcceptance criteria
aria-live)pnpm test/pnpm buildpassFiles
src/pages/Dashboard.tsxsrc/lib/xelma-contract.tssrc/components/SorobanInspectorPanel.tsxDifficulty
intermediate