Skip to content

[codex] Add export download feedback#223

Draft
vku2018 wants to merge 1 commit into
Agentpay-Org:mainfrom
vku2018:grantfox-66-export-download-feedback
Draft

[codex] Add export download feedback#223
vku2018 wants to merge 1 commit into
Agentpay-Org:mainfrom
vku2018:grantfox-66-export-download-feedback

Conversation

@vku2018

@vku2018 vku2018 commented Jul 4, 2026

Copy link
Copy Markdown

Summary

  • Replace direct export links with client-side download actions that fetch JSON/CSV blobs and preserve server-provided filenames.
  • Disable both export buttons while a download is pending, expose an accessible busy state, and show the shared Spinner with a preparing status.
  • Surface backend failures with role="alert", show a success toast after download startup, cover the flow in page tests, and document the export behavior in README.

Refs #66

Validation

  • npm test -- src/app/export/page.test.tsx (4 passing)
  • npx eslint src/app/export/page.tsx src/app/export/ExportActions.tsx src/app/export/page.test.tsx
  • git diff --check (passes with existing CRLF warnings only)
  • npm run typecheck (blocked by pre-existing missing imports in src/app/agents/[agent]/page.tsx and src/app/docs/page.tsx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants