Skip to content

feat: add markets tab to Dashboard page#5321

Draft
therealemjy wants to merge 1 commit intofeat/dashboard-vaultsfrom
feat/dashboard-markets
Draft

feat: add markets tab to Dashboard page#5321
therealemjy wants to merge 1 commit intofeat/dashboard-vaultsfrom
feat/dashboard-markets

Conversation

@therealemjy
Copy link
Member

Jira ticket(s)

VPD-415

Changes

evm app

  • add markets tab to Dashboard page

@changeset-bot
Copy link

changeset-bot bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: 5eae5a0

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
Copy link

vercel bot commented Jan 29, 2026

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

Project Deployment Actions Updated (UTC)
app.venus.io Ready Ready Preview Feb 5, 2026 9:07am
dapp-preview Ready Ready Preview Feb 5, 2026 9:07am
dapp-testnet Ready Ready Preview Feb 5, 2026 9:07am
venus.io Ready Ready Preview Feb 5, 2026 9:07am

Request Review

@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from fd81d9e to 9913221 Compare January 29, 2026 18:29
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from 9913221 to 673e821 Compare January 29, 2026 18:30
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from 673e821 to eead8d1 Compare January 30, 2026 09:15
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from eead8d1 to 8dea7f1 Compare January 30, 2026 15:14
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from 8dea7f1 to 9584e93 Compare January 30, 2026 16:34
@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 77.47% 35155 / 45375
🔵 Statements 77.47% 35155 / 45375
🔵 Functions 59.8% 564 / 943
🔵 Branches 72.58% 4257 / 5865
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/AdCarousel/index.tsx 100% 0% 100% 100%
apps/evm/src/components/AdCarousel/Banner/index.tsx 100% 0% 100% 100%
apps/evm/src/components/AdCarousel/BoostBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/components/AdCarousel/IsolatedPoolsSunsetBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/components/AdCarousel/ProbableBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/components/AdCarousel/VenusFluxBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/components/Carousel/index.tsx 0% 0% 0% 0% 1-90
apps/evm/src/components/Icon/icons/crown.tsx 100% 50% 100% 100%
apps/evm/src/components/Icon/icons/graphOutline.tsx 9.37% 100% 0% 9.37% 5-34
apps/evm/src/components/Icon/icons/index.ts 98.87% 0% 100% 98.87% 1
apps/evm/src/components/Table/Head.tsx 100% 94.11% 50% 100%
apps/evm/src/components/Table/TableCards.tsx 89.32% 88.88% 33.33% 89.32% 57-68, 112
apps/evm/src/components/Table/index.tsx 90.38% 89.65% 0% 90.38% 57-65, 113-118, 146
apps/evm/src/components/Table/storiesUtils.tsx 0% 100% 100% 0% 2-118
apps/evm/src/components/Table/styles.ts 91.02% 95.45% 90% 91.02% 1, 75-89
apps/evm/src/components/TokenIcon/index.tsx 100% 0% 100% 100%
apps/evm/src/components/TokenIconWithSymbol/index.tsx 100% 90.9% 100% 100%
apps/evm/src/components/TokenListWrapper/index.tsx 95.93% 91.3% 33.33% 95.93% 83-87
apps/evm/src/containers/ConnectWallet/index.tsx 100% 75% 100% 100%
apps/evm/src/containers/Layout/Header/MarketInfo/index.tsx 0% 0% 0% 0% 1-161
apps/evm/src/containers/Layout/NavBar/useMenuItems/index.tsx 0% 0% 0% 0% 1-115
apps/evm/src/containers/Link/index.tsx 100% 83.33% 100% 100%
apps/evm/src/containers/MarketLoader/index.tsx 90.9% 20% 100% 90.9% 36, 43, 47
apps/evm/src/containers/MarketTable/index.tsx 93.92% 75% 71.42% 93.92% 93-101, 159, 218
apps/evm/src/containers/Vault/index.tsx 96.21% 68.75% 0% 96.21% 39, 222-229
apps/evm/src/hooks/useMarketPageTo/index.ts 95.45% 50% 100% 95.45% 3
apps/evm/src/hooks/useUserChainSettings/index.tsx 96.42% 50% 100% 96.42% 1
apps/evm/src/pages/Dashboard/index.tsx 0% 0% 0% 0% 1-68
apps/evm/src/pages/Dashboard/Guide/index.tsx 94.11% 66.66% 0% 94.11% 41-46
apps/evm/src/pages/Dashboard/Markets/index.tsx 94.44% 0% 100% 94.44% 19
apps/evm/src/pages/Dashboard/Markets/Tabs/index.tsx 100% 60% 100% 100%
apps/evm/src/pages/Dashboard/Markets/Tabs/EModeButton/index.tsx 100% 100% 100% 100%
apps/evm/src/pages/Dashboard/Markets/Tabs/TabContent/index.tsx 90.58% 83.33% 100% 90.58% 88-96
apps/evm/src/pages/Dashboard/Markets/Tabs/TabContent/RecommendationCarousel/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Dashboard/Markets/Tabs/TabContent/RecommendationCarousel/Recommendation/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Dashboard/Markets/Tabs/TabContent/RecommendationCarousel/Recommendation/Cell/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Dashboard/Overview/index.tsx 97.35% 70.37% 66.66% 97.35% 198, 229, 233, 264, 273-276
apps/evm/src/pages/Dashboard/Overview/GridCellGroup/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Dashboard/Overview/PerformanceChart/index.tsx 94.64% 50% 0% 94.64% 43-44, 47
apps/evm/src/pages/Dashboard/Placeholder/index.tsx 100% 66.66% 100% 100%
apps/evm/src/pages/Dashboard/TopMarkets/index.tsx 100% 85.71% 33.33% 100%
apps/evm/src/pages/Dashboard/TopMarkets/TypeButton/index.tsx 100% 50% 100% 100%
apps/evm/src/pages/Dashboard/Transactions/index.tsx 92.89% 75% 16.66% 92.89% 63-65, 69-73, 75-77, 128-129, 135
apps/evm/src/pages/Dashboard/Transactions/List/index.tsx 95.74% 57.14% 100% 95.74% 26, 30
apps/evm/src/pages/IsolatedPools/index.tsx 85.12% 60% 66.66% 85.12% 53-60, 66-68, 82, 95-98, 103-105, 109
apps/evm/src/pages/Landing/Hero/HeroTabs/TabContent/index.tsx 100% 88.88% 100% 100%
apps/evm/src/pages/Landing/Markets/index.tsx 0% 0% 0% 0% 1-83
apps/evm/src/pages/Market/AssetWarning/index.tsx 98.66% 83.33% 66.66% 98.66% 38
apps/evm/src/pages/Market/OperationForm/BoostForm/TokenSelectField/index.tsx 0% 0% 0% 0% 1-42
apps/evm/src/pages/Market/OperationForm/SupplyForm/index.tsx 95.86% 89.47% 100% 95.86% 226-241, 252-253, 275, 466, 603
apps/evm/src/pages/Markets/index.tsx 93.75% 75% 100% 93.75% 30-32
apps/evm/src/pages/Markets/Assets/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Markets/Assets/AdBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Markets/Tabs/EMode/EModeGroup/EModeGroupCard/Asset/index.tsx 100% 66.66% 100% 100%
apps/evm/src/pages/Markets/Tabs/EMode/EModeGroup/Header/index.tsx 97.27% 93.47% 66.66% 97.27% 40-41, 58-59
apps/evm/src/pages/Port/index.tsx 0% 0% 0% 0% 1-25
apps/evm/src/pages/PrimeCalculator/Form/index.tsx 95.95% 83.13% 100% 95.95% 71, 75, 227-228, 231-244, 315
apps/evm/src/store/index.ts 97.5% 85.71% 100% 97.5% 1
Generated in workflow #12540 for commit 5eae5a0 by the Vitest Coverage Report Action

@therealemjy therealemjy force-pushed the feat/dashboard-markets branch 2 times, most recently from 002f47e to da7ba97 Compare February 3, 2026 12:19
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from da7ba97 to d77bbe9 Compare February 3, 2026 12:23
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from d77bbe9 to 75b9ddb Compare February 3, 2026 12:33
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from 75b9ddb to 2756cdf Compare February 3, 2026 12:47
@therealemjy therealemjy force-pushed the feat/dashboard-markets branch from 2756cdf to 4e4d523 Compare February 4, 2026 13:36
},
);

const txTypeSelectOptions = useMemo(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

No need for useMemo?

"pools": {
"borrowTab": {
"placeholder": {
"title": "暂无借入仓位"
Copy link
Contributor

Choose a reason for hiding this comment

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

The translations of "borrow" and "supply" are not consistent. Might need to consult Zed to standardize the terms and apply to all related places.

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.

2 participants