Skip to content

feat: implement blockchain ledger page with API integration and event filtering#193

Merged
kingksjo merged 2 commits into
Navin-xmr:mainfrom
ayo-ola0710:feature/issue-12-blockchain-ledger
May 31, 2026
Merged

feat: implement blockchain ledger page with API integration and event filtering#193
kingksjo merged 2 commits into
Navin-xmr:mainfrom
ayo-ola0710:feature/issue-12-blockchain-ledger

Conversation

@ayo-ola0710
Copy link
Copy Markdown
Contributor

Here is what was done

✅ src/services/api/endpoints/ledger.ts with ledgerApi.getBlocks()
✅ Table showing: block number, timestamp, shipment ref, milestone event, tx hash, verification status
✅ Tx hashes link to https://stellar.expert/explorer/public/tx/{hash} (new tab, noopener noreferrer)
✅ Cursor-based pagination with prev/next controls, stacked cursor history
✅ Loading skeletons (8 animated rows) while fetching
✅ Empty state with descriptive message
✅ Error banner with role="alert" on API failure
✅ Milestone event filter bar (reset pagination on filter change)
✅ Stats bar (total blocks, network, sync status)
✅ Fully responsive (sm: breakpoints, overflow-x-auto table)
✅ 125/125 tests passing, lint clean

Close #188

@kingksjo kingksjo merged commit b7fca06 into Navin-xmr:main May 31, 2026
3 checks 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

Development

Successfully merging this pull request may close these issues.

[Feature] Build Blockchain Ledger page with API integration

2 participants