Skip to content

feat(earn): add distributions table component and tests#357

Open
precious-akpan wants to merge 1 commit into
SO4-Markets:mainfrom
precious-akpan:feat/issue-308-distributions-table
Open

feat(earn): add distributions table component and tests#357
precious-akpan wants to merge 1 commit into
SO4-Markets:mainfrom
precious-akpan:feat/issue-308-distributions-table

Conversation

@precious-akpan

@precious-akpan precious-akpan commented Jun 28, 2026

Copy link
Copy Markdown

Closes #308

Summary

Added the DistributionsTable component to render reward distributions and integrated it into the DistributionsTab.

Details

  • Created the extractable DistributionsTable component with typed status variants (distributed, pending, upcoming, claim, claimed).
  • Integrated an onClaim interactive callback for claimable epochs.
  • Replaced the inline table in distributions-tab.tsx with this extractable component to eliminate duplicated types and styling maps.
  • Included the lockfile fix (bun.lock) and test runner fixes to ensure vitest passes properly.
  • Added comprehensive unit tests in distributions-table.test.tsx.

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@precious-akpan is attempting to deploy a commit to the Ijai's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@precious-akpan 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

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.

Web earn: distributions table

1 participant