Skip to content

feat: add bounty loading states#77

Open
tolga-tom-nook wants to merge 1 commit into
labmain:mainfrom
tolga-tom-nook:bounty-18-loading-states
Open

feat: add bounty loading states#77
tolga-tom-nook wants to merge 1 commit into
labmain:mainfrom
tolga-tom-nook:bounty-18-loading-states

Conversation

@tolga-tom-nook

@tolga-tom-nook tolga-tom-nook commented May 24, 2026

Copy link
Copy Markdown

Summary

  • Adds src/bounty-loading.js for bounty list loading, loaded, empty, and error states.
  • Shows an accessible spinner (role="status", aria-live="polite") while the API call is pending.
  • Removes the spinner once data loads and renders bounty results.
  • Handles empty and failed API responses gracefully with explicit states and safe escaped error markup.
  • Adds tests covering spinner rendering, successful load cleanup, empty state, error state, and HTML escaping.

Validation

  • npm test
  • Result: 20 passed, 0 failed

Fixes #18

BountyPay payout setup

Bounty: $50 USD1
Wallet: 0x4a76c7E64C08cF29B59eFC640b4ada97A270d428
Chain: BSC / BNB Smart Chain
Issues: #18

@tolga-tom-nook

Copy link
Copy Markdown
Author

BountyPay payout setup for PR #77

BountyPay payout setup for issue #18.

Bounty: $50 USD1
Wallet: 0x4a76c7E64C08cF29B59eFC640b4ada97A270d428
Chain: BSC / BNB Smart Chain
Issues: #18

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.

Add loading spinner to bounty list page

1 participant