Skip to content

feat(reports): add reports view with empty/error states, live region, and memoized rows - #618

Merged
mikewheeleer merged 1 commit into
Agentpay-Org:mainfrom
Baskarayelu:feature/reports-505-508-view
Jul 30, 2026
Merged

feat(reports): add reports view with empty/error states, live region, and memoized rows#618
mikewheeleer merged 1 commit into
Agentpay-Org:mainfrom
Baskarayelu:feature/reports-505-508-view

Conversation

@Baskarayelu

Copy link
Copy Markdown
Contributor

Summary

No reports page/component existed in the repo. Issues #505-#508 each describe an incremental slice (empty/error states, an ARIA live region, tests, memoization) of a reports view that would need to already exist, so this builds the minimal view those issues collectively assume, in one PR — same shape as #614 (transactions) and #616 (onboarding):

No separate docs issue exists for reports (unlike transactions/onboarding), so this PR is self-contained.

Tests (#507)

page.test.tsx: loading spinner, rendering rows once loaded, empty state, error state with retry button, retry re-fetches and recovers, and the live region's text updates across state transitions. All 6 pass locally.

Test output

Same pre-existing, unrelated main-at-HEAD tsc --noEmit errors noted in #614/#616. npx eslint src/app/reports src/app/pageTitles.ts is clean.

Closes #505
Closes #506
Closes #507
Closes #508

@mikewheeleer
mikewheeleer merged commit f373336 into Agentpay-Org:main Jul 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants