Skip to content

feat(frontend): add CSV export button with loading and error states (… - #1149

Closed
Gbotemi-ojo wants to merge 1 commit into
ritik4ever:mainfrom
Gbotemi-ojo:feat/export-bounties-827
Closed

Gbotemi-ojo wants to merge 1 commit into
ritik4ever:mainfrom
Gbotemi-ojo:feat/export-bounties-827

Conversation

@Gbotemi-ojo

Copy link
Copy Markdown

Summary

Resolves #827 by adding an export button to the maintainer/admin view that downloads released bounties as a CSV.

Key Changes

  • Export Trigger: Added an async handler to fetch from /api/bounties/released/export.csv and trigger a browser file download.
  • UX Improvements: Implemented a loading spinner and disabled state on the button while the request is in flight.
  • Error Handling: Added try/catch logic to surface a clear error toast to the user if the export fails, preventing silent failures.

Acceptance Criteria Checklist

  • Export button downloads a CSV file of released bounties
  • Loading spinner state handles in-flight requests
  • Failed export request shows an error toast (no silent failures)

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@Gbotemi-ojo is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@Gbotemi-ojo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Gbotemi-ojo Gbotemi-ojo closed this by deleting the head repository Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add CSV/JSON export button wired to the backend export endpoint

1 participant