Skip to content

Rebuild Soroban Inspector panel as structured glass HUD card #458

Description

@josephchimebuka

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

  • Inspector shows labeled fields instead of raw JSON by default
  • Optional "View raw JSON" disclosure for developers
  • Loading and error states remain accessible (aria-live)
  • pnpm test / pnpm build pass

Files

  • src/pages/Dashboard.tsx
  • src/lib/xelma-contract.ts
  • New (optional): src/components/SorobanInspectorPanel.tsx

Difficulty

intermediate

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestfrontendFrontend/Stellar wave tracking

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions