feat: Soroban event pagination, multi-pool history, boost modal, optimistic unlock - #189
Merged
ritaifeoluwa merged 1 commit intoAug 25, 2026
Conversation
❌ Deploy Preview for smart-drop failed.
|
|
@boys-cyberhub 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! 🚀 |
✅ Deploy Preview for spiffy-melomakarona-eb1e8a ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
boys-cyberhub
force-pushed
the
feat/stellar-wave-features
branch
from
August 25, 2026 13:12
8cacaa7 to
4284a31
Compare
…and optimistic unlock - Add shared getAllEvents pagination helper for Soroban getEvents RPC (SmartDropLabs#73) - Apply pagination to getPoolHistory, getPoolDepositors, fetchLeaderboardFromEvents, getUserTransactionHistory - Surface truncation warnings in history page UI when results are truncated - Update History page to derive pool contract IDs from usePools() like Farm page (SmartDropLabs#80) - Fix useEffect dependency array in History page - Add optimistic React Query cache update in UnlockModal with rollback on failure (SmartDropLabs#82) - Invalidate queries on successful unlock - Build BoostModal component with allocation slider and useSetBoost mutation (SmartDropLabs#81) - Wire EarningRow Boost button to openBoost() with proper disabled states - Add boostAllocation field to FarmPosition type - Add unit tests for pagination helper, History page, and BoostModal - Update existing tests for new getUserTransactionHistory return type
boys-cyberhub
force-pushed
the
feat/stellar-wave-features
branch
from
August 25, 2026 13:18
4284a31 to
7ac89c1
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
getAllEventspagination helper for SorobangetEventsRPC, applied togetPoolHistory,getPoolDepositors,fetchLeaderboardFromEvents, andgetUserTransactionHistoryusePools()(factory pools) instead of single env var, matching Farm page patternopenBoost()Why
getEventsreturns bounded pages but no codebase functions used pagination, silently truncating results for active pools (Event-scan features silently truncate results instead of paginating with the RPC's continuation cursor #73)How to test
npm test— all existing tests pass plus new tests for pagination helper, History page multi-pool, and BoostModalsoroban-parsers.test.ts(decodeScString) is unrelatedCloses #73
Closes #80
Closes #81
Closes #82