Skip to content

feat: add guide to Dashboard page#5258

Merged
therealemjy merged 1 commit intofeat/v4-phase-2from
feat/dashboard-guide
Feb 10, 2026
Merged

feat: add guide to Dashboard page#5258
therealemjy merged 1 commit intofeat/v4-phase-2from
feat/dashboard-guide

Conversation

@therealemjy
Copy link
Copy Markdown
Member

Jira ticket(s)

VPD-415

Changes

evm app

  • add guide to Dashboard page

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 19, 2026

🦋 Changeset detected

Latest commit: 94388e1

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

@therealemjy therealemjy marked this pull request as draft January 19, 2026 12:35
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 19, 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 9, 2026 5:31pm
dapp-preview Ready Ready Preview Feb 9, 2026 5:31pm
dapp-testnet Ready Ready Preview Feb 9, 2026 5:31pm
venus.io Ready Ready Preview Feb 9, 2026 5:31pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 19, 2026

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 76.71% 34141 / 44503
🔵 Statements 76.71% 34141 / 44503
🔵 Functions 59.59% 556 / 933
🔵 Branches 72.52% 4144 / 5714
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/clients/api/index.ts 0% 0% 0% 0% 1-230
apps/evm/src/components/Carousel/index.tsx 0% 0% 0% 0% 1-90
apps/evm/src/components/Icon/icons/check.tsx 100% 50% 100% 100%
apps/evm/src/components/Icon/icons/index.ts 100% 100% 100% 100%
apps/evm/src/components/Icon/icons/innerArrows.tsx 8.82% 100% 0% 8.82% 5-36
apps/evm/src/components/Icon/icons/outerArrows.tsx 8.82% 100% 0% 8.82% 5-36
apps/evm/src/components/Icon/icons/pending.tsx 100% 50% 100% 100%
apps/evm/src/constants/functionKey.ts 100% 50% 100% 100%
apps/evm/src/hooks/useIsFeatureEnabled/index.tsx 99.32% 0% 100% 99.32% 1
apps/evm/src/pages/Dashboard/index.tsx 0% 0% 0% 0% 1-27
apps/evm/src/pages/Dashboard/Guide/index.tsx 86.41% 63.63% 0% 86.41% 41, 73-83
apps/evm/src/pages/Dashboard/Guide/StepCard/index.tsx 100% 70% 100% 100%
apps/evm/src/pages/Dashboard/Overview/index.tsx 97.24% 71.42% 66.66% 97.24% 195, 226, 230, 261, 270-273
Generated in workflow #12561 for commit 94388e1 by the Vitest Coverage Report Action

@therealemjy therealemjy force-pushed the feat/dashboard-summary branch from 0139ee3 to 34b49d8 Compare January 21, 2026 10:35
@therealemjy therealemjy force-pushed the feat/dashboard-summary branch from 34b49d8 to 1034958 Compare January 27, 2026 09:08
"guide": {
"completed": "已完成",
"step1": {
"description": "通过供应资产或将现有头寸迁移到 Venus 协议来赚取收益。",
Copy link
Copy Markdown
Contributor

@david-sun-venus david-sun-venus Feb 6, 2026

Choose a reason for hiding this comment

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

This Chinese translation looks weird. Might need to consult Zad for a more accurate translation.

"guide": {
"completed": "已完成",
"step1": {
"description": "透過供應資產或將現有部位遷移到 Venus 協議來賺取收益。",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here.

"title": "供应 / 迁移"
},
"step2": {
"description": "借入资产增强您的 DeFi 策略,或一键使用流动性进行杠杆操作。",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe there should be better wording in Chinese, since this is too obvious for auto-translated.


return (
<>
{/* Mobile UI */}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why not using conditional rendering instead? Having both rendered seems unnecessary and reduce performance especially the Carousel.

Copy link
Copy Markdown
Member Author

@therealemjy therealemjy Feb 9, 2026

Choose a reason for hiding this comment

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

I agree it makes sense here.

In general I use CSS, even if it means duplicating some DOM, just to stick to the Tailwind way of doing things. But in this case it's true that it means we display a heavy component for nothing. I'll update the code.

Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
@therealemjy
Copy link
Copy Markdown
Member Author

Thank you guys, I've updated the translations according to your suggestions.

Comment thread apps/evm/src/libs/translations/translations/zh-Hans.json Outdated
Comment thread apps/evm/src/libs/translations/translations/zh-Hant.json Outdated
Copy link
Copy Markdown
Contributor

@david-sun-venus david-sun-venus left a comment

Choose a reason for hiding this comment

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

lgtm

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.

3 participants