Problem
Many pages assume the indexer responds successfully. When the backend is down or returns no data, users can see blank screens or unhandled errors rather than actionable messaging. This compounds the fact that the production API base is currently misconfigured.
What needs to be done
- Audit the data pages (
Home, ContractPage, EventPage, SearchPage, WalletPage, GraphPage, dashboards) for missing empty/error handling.
- Add consistent empty states ("no results") and error states ("couldn't reach the backend, retry") using the shared query/error handling.
- Ensure errors from the API client are surfaced, not swallowed.
Files
- the data pages listed above
- shared error/empty-state components under
src/components
Acceptance deliverables
- Every audited page renders a defined empty state and a defined error state.
- No page renders a permanently blank view on backend failure.
Tests to pass
- Tests for at least three pages assert the empty state and the error state render as expected.
Problem
Many pages assume the indexer responds successfully. When the backend is down or returns no data, users can see blank screens or unhandled errors rather than actionable messaging. This compounds the fact that the production API base is currently misconfigured.
What needs to be done
Home,ContractPage,EventPage,SearchPage,WalletPage,GraphPage, dashboards) for missing empty/error handling.Files
src/componentsAcceptance deliverables
Tests to pass