Skip to content

feat: add Liquidity Hub info#5718

Open
therealemjy wants to merge 1 commit into
mainfrom
feat/liquidity-hub-market-page-info
Open

feat: add Liquidity Hub info#5718
therealemjy wants to merge 1 commit into
mainfrom
feat/liquidity-hub-market-page-info

Conversation

@therealemjy

Copy link
Copy Markdown
Member

Jira ticket(s)

VPD-1561

Changes

  • add a Hub Info section to the Liquidity Hub market page
  • display operator and contract details, fees, daily supply interest, and exchange rate
  • include Liquidity Hub risk disclosures and a link to the Terms of Use

@therealemjy
therealemjy requested a review from cuzz-venus July 23, 2026 13:31
@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3800888

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@venusprotocol/evm Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dapp-preview Ready Ready Preview Jul 23, 2026 3:20pm
dapp-testnet Ready Ready Preview Jul 23, 2026 3:20pm
venus.io Ready Ready Preview Jul 23, 2026 3:20pm

Request Review

@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown

Greptile Summary

Adds Liquidity Hub information and restructures supporting UI components.

  • Adds hub operator, contract, fee, interest, exchange-rate, allocation, and risk-disclosure views.
  • Restructures mock Liquidity Hub data around yield groups and sources.
  • Generalizes progress bars and compact table-card layouts for the new allocation views.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failures related to the previous review threads remain.

No blocking failure remains within the scope of this follow-up review.

Important Files Changed

Filename Overview
apps/evm/src/pages/LiquidityHub/index.tsx Composes the expanded Liquidity Hub page from its form, allocation details, and informational sections.
apps/evm/src/pages/LiquidityHub/LiquidityHubInfo/index.tsx Adds operator, contract, fee, interest, exchange-rate, and disclosure content for a hub.
apps/evm/src/pages/LiquidityHub/AllocationDetails/index.tsx Adds the allocation overview and yield-group visualization.
apps/evm/src/components/ProgressBar/index.tsx Replaces the slider-based implementation with a reusable layered progress-bar display.
apps/evm/src/components/CompactTableCardList/index.tsx Adds the compact card-list presentation used by responsive data views.
apps/evm/src/types/index.ts Updates Liquidity Hub domain types to represent yield groups, sources, and distributions.

Reviews (2): Last reviewed commit: "feat: add Liquidity Hub info" | Re-trigger Greptile

Comment thread apps/evm/src/components/ProgressBar/index.tsx
Comment thread apps/evm/src/components/CompactTableCardList/index.tsx

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 038b780a7a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/evm/src/__mocks__/models/liquidityHubYieldGroups.ts
Comment thread apps/evm/src/components/ProgressBar/index.tsx
@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 83.3% 53001 / 63625
🔵 Statements 83.3% 53001 / 63625
🔵 Functions 63.92% 716 / 1120
🔵 Branches 72.89% 6096 / 8363
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/components/index.ts 100% 100% 100% 100%
apps/evm/src/components/AccountHealthBar/index.tsx 98.75% 60% 100% 98.75% 154-156
apps/evm/src/components/ActiveVotingProgress/index.tsx 98.11% 21.42% 100% 98.11% 110-112
apps/evm/src/components/CompactTableCardList/index.tsx 100% 84.61% 100% 100%
apps/evm/src/components/Dropdown/index.tsx 71.6% 46.15% 0% 71.6% 47-49, 57-81
apps/evm/src/components/EllipseAddress/index.tsx 100% 50% 100% 100%
apps/evm/src/components/MarketInfo/index.tsx 100% 0% 100% 100%
apps/evm/src/components/MarketPageGrid/index.tsx 100% 0% 100% 100%
apps/evm/src/components/Modal/index.tsx 98.7% 81.81% 100% 98.7% 52
apps/evm/src/components/ProgressBar/index.tsx 100% 75% 100% 100%
apps/evm/src/components/ProgressBar/getProgressBarValuePercentage/index.ts 100% 50% 100% 100%
apps/evm/src/components/Select/index.tsx 93.33% 76% 50% 93.33% 57, 62, 67, 73-74, 81-83, 89
apps/evm/src/components/TokenGroup/index.tsx 96% 40% 100% 96% 22
apps/evm/src/containers/ChainExplorerLink/index.tsx 89.18% 40% 100% 89.18% 39-42, 49
apps/evm/src/containers/Layout/Header/LiquidityHubInfo/index.tsx 0% 0% 0% 0% 1-71
apps/evm/src/containers/Layout/Header/usePathNodes/index.tsx 93.33% 66.66% 100% 93.33% 74-77, 146-150
apps/evm/src/containers/LiquidityHubForm/Form/index.tsx 98.11% 95.65% 66.66% 98.11% 130-132
apps/evm/src/containers/MarketTable/styles.ts 95.65% 66.66% 100% 95.65% 1
apps/evm/src/containers/MarketTable/useColumns/index.tsx 82.4% 75.55% 66.66% 82.4% 145-146, 158-168, 183-189, 193-206, 248, 389-396, 416, 420, 424-428, 447-465
apps/evm/src/containers/PrimeStatusBanner/index.tsx 96.01% 93.54% 33.33% 96.01% 69-72, 182, 189-195, 284
apps/evm/src/pages/LiquidityHub/index.tsx 100% 50% 100% 100%
apps/evm/src/pages/LiquidityHub/AllocationDetails/index.tsx 100% 85.71% 100% 100%
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/index.tsx 98.11% 88.88% 75% 98.11% 65
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/RowFooter/index.tsx 94.28% 50% 100% 94.28% 21-22
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/RowFooter/CardList/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/RowFooter/useColumns/index.tsx 97.89% 70% 100% 97.89% 96-97
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupList/useColumns/index.tsx 91.39% 88.88% 63.63% 91.39% 34-35, 46-47, 72-73, 88-89
apps/evm/src/pages/LiquidityHub/AllocationDetails/YieldGroupName/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/LiquidityHub/LiquidityHubInfo/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/LiquidityHubs/LiquidityHubTable/index.tsx 0% 0% 0% 0% 1-202
apps/evm/src/pages/Market/EModeInfo/Mode/index.tsx 98.38% 75% 50% 98.38% 59
apps/evm/src/pages/Market/MarketInfo/index.tsx 89.65% 50% 100% 89.65% 66, 104-113, 137-138, 159-161
apps/evm/src/pages/PrimeLeaderboard/MarketRewardRow/index.tsx 100% 84.61% 100% 100%
apps/evm/src/pages/Proposal/index.tsx 97.57% 92% 87.5% 97.57% 73-78
apps/evm/src/pages/Proposal/styles.ts 85.71% 0% 100% 85.71% 1
apps/evm/src/pages/Proposal/ProposalSummary/index.tsx 95% 73.33% 100% 95% 63-69
apps/evm/src/pages/Proposal/VoteSummary/index.tsx 100% 57.14% 100% 100%
apps/evm/src/pages/Trade/Positions/PositionList/RowFooter/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/VoterLeaderboard/LeaderboardTable/index.tsx 100% 88.88% 100% 100%
apps/evm/src/types/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/index.ts 98.78% 0% 100% 98.78% 1
apps/evm/src/utilities/getLiquidityHubCollateralTokens/index.ts 100% 0% 100% 100%
Generated in workflow #13916 for commit 6e177cc by the Vitest Coverage Report Action

@therealemjy
therealemjy force-pushed the feat/liquidity-hub-market-page-content branch 2 times, most recently from 06f539e to 46d5613 Compare July 23, 2026 15:16
Base automatically changed from feat/liquidity-hub-market-page-content to main July 23, 2026 15:17
@therealemjy
therealemjy force-pushed the feat/liquidity-hub-market-page-info branch from 3800888 to 6e177cc Compare July 23, 2026 15:18
@therealemjy

Copy link
Copy Markdown
Member Author

@greptile

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.

1 participant