feat(gf-15): analytics page and live landing page stats#70
Merged
Conversation
- Add /analytics page with TVL cards, APY table, and harvest history feed - Add time range selector (7d / 30d / all-time) that filters all charts - Replace hardcoded landing page stats with live useTVL() and useAPY() data - Add StatsBar client component to keep page.tsx a server component - Add Analytics nav link to landing page - Add useTVL, useAPY, useHarvestHistory hooks (stub data, wired for GF-12) closes LadderMine#47
|
@walexjnr is attempting to deploy a commit to the wumibals' projects Team on Vercel. A member of the Team first needs to authorize it. |
wumibals
reviewed
Jun 26, 2026
wumibals
left a comment
Contributor
There was a problem hiding this comment.
Thanks for your contribution
8 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.
Summary
/analyticspage with four overview stat cards (TVL, Best APY, Yield Harvested, Depositors), a TVL-by-tier horizontal bar chart, an APY-per-vault table, and a harvest history feeduseTVL()and Best APY viauseAPY(); Protocol Fee (0%) and Max Pool Exposure (35%) remain hardcoded constantsStatsBarclient component sopage.tsxstays a server componentuseTVL,useAPY,useHarvestHistory) are stubbed with representative placeholder data and clearly markedTODO(GF-12)for replacement once the data service layer ([GF-12] [FRONTEND] Data Service Layer (Soroban RPC hooks, price feeds, TVL/APY) #44) is mergedTest plan
/analyticsrenders four overview cards with non-zero values$762.5KTVL and11.2%Best APY (from stub data)pnpm typecheckpasses with no errors—placeholders before data resolvescloses #47