Skip to content

Conversation

therealemjy
Copy link
Member

@therealemjy therealemjy commented Aug 19, 2025

This PR is still a WIP, it needs to fetch the total XVS buyback from the API (it currently uses a hard-coded value).

Jira ticket(s)

VPD-68

Changes

evm app

  • move formatCentsToReadableValue, formatTokensToReadableValue, getSmartDecimalPlaces and shortenValueWithSuffix to venusprotocol/ui package

landing app

  • update landing page

Copy link

changeset-bot bot commented Aug 19, 2025

🦋 Changeset detected

Latest commit: 4a4c9c4

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

This PR includes changesets to release 1 package
Name Type
@venusprotocol/landing 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

Copy link

vercel bot commented Aug 19, 2025

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

Project Deployment Preview Updated (UTC)
app.venus.io Ready Ready Preview Aug 22, 2025 2:53pm
dapp-preview Error Error Aug 22, 2025 2:53pm
dapp-testnet Error Error Aug 22, 2025 2:53pm
venus.io Ready Ready Preview Aug 22, 2025 2:53pm

@therealemjy therealemjy force-pushed the feat/landing-page-update branch 4 times, most recently from 8063010 to 7e7ea2f Compare August 19, 2025 16:07
Copy link
Contributor

github-actions bot commented Aug 19, 2025

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 77.68% 32468 / 41795
🔵 Statements 77.68% 32468 / 41795
🔵 Functions 61.41% 522 / 850
🔵 Branches 71.88% 3656 / 5086
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/components/AccountHealthBar/index.tsx 99.09% 78.94% 100% 99.09% 112
apps/evm/src/components/Apy/PrimeBadge/SimulationText/index.tsx 97.05% 0% 100% 97.05% 1
apps/evm/src/containers/AccountData/index.tsx 97.91% 73.33% 100% 97.91% 60, 89
apps/evm/src/containers/ImportablePositions/Notice/index.tsx 0% 0% 0% 0% 1-43
apps/evm/src/containers/ImportablePositions/ProtocolPositions/Position/index.tsx 0% 0% 0% 0% 1-162
apps/evm/src/containers/Layout/ClaimRewardButton/index.tsx 96.02% 81.48% 100% 96.02% 99-100, 149, 176-178
apps/evm/src/containers/Layout/ClaimRewardButton/RewardGroupContent/index.tsx 94.73% 40% 100% 94.73% 26, 29-30
apps/evm/src/containers/Layout/Header/MarketInfo/index.tsx 0% 0% 0% 0% 1-152
apps/evm/src/containers/MarketTable/useGenerateColumns.tsx 84.74% 77.77% 75% 84.74% 174, 193-210, 339-343, 347, 351, 355-359, 378-396
apps/evm/src/containers/PoolStats/index.tsx 91.27% 84.31% 100% 91.27% 53-54, 64-65, 76, 111-120, 224-225
apps/evm/src/containers/PrimeStatusBanner/index.tsx 92.92% 91.22% 50% 92.92% 66-69, 175, 182-188, 209-218
apps/evm/src/hooks/useDebounceValue.ts 0% 0% 0% 0% 1-21
apps/evm/src/hooks/useFormatTokensToReadableValue.ts 83.33% 50% 100% 83.33% 1
apps/evm/src/libs/analytics/useAnalytics/index.ts 0% 0% 0% 0% 1-87
apps/evm/src/pages/Account/NewPage/PerformanceChart/index.tsx 93.22% 70.96% 0% 93.22% 131-134, 191, 202-209
apps/evm/src/pages/Account/NewPage/PerformanceChart/DollarValueChange/index.tsx 100% 71.42% 100% 100%
apps/evm/src/pages/Account/NewPage/Summary/index.tsx 98.23% 57.14% 100% 98.23% 60, 62
apps/evm/src/pages/Account/PoolSummary/index.tsx 99.01% 83.33% 100% 99.01% 72
apps/evm/src/pages/Bridge/index.tsx 91.88% 84.28% 81.81% 91.88% 79, 134-135, 166-168, 174-186, 212-214, 240-242, 249-251, 281, 344-346
apps/evm/src/pages/Bridge/useBridgeForm.ts 94.19% 75.6% 100% 94.19% 1, 85, 210-219, 285-286
apps/evm/src/pages/Market/MarketHistory/Card/ApyChart/index.tsx 0% 0% 0% 0% 1-73
apps/evm/src/pages/Market/MarketHistory/Card/CapThreshold/index.tsx 0% 0% 0% 0% 1-164
apps/evm/src/pages/Market/MarketInfo/index.tsx 0% 0% 0% 0% 1-165
apps/evm/src/pages/Market/OperationForm/BorrowForm/useForm/useFormValidation.ts 99.02% 95% 100% 99.02% 1
apps/evm/src/pages/Market/OperationForm/SupplyForm/useForm/useFormValidation.ts 99.27% 96.55% 100% 99.27% 1
apps/evm/src/pages/Pools/PoolTable/index.tsx 88% 78.94% 78.57% 88% 72-76, 86-90, 100-104
apps/evm/src/pages/PrimeCalculator/Form/index.tsx 95.96% 83.13% 100% 95.96% 70, 74, 226-227, 230-243, 314
apps/evm/src/pages/PrimeCalculator/Form/RewardDetails/index.tsx 100% 50% 100% 100%
apps/evm/src/pages/Swap/SwapDetails/index.tsx 98.05% 91.3% 100% 98.05% 69, 79
apps/evm/src/pages/Vai/Borrow/index.tsx 95.84% 89.23% 100% 95.84% 65, 99-100, 125, 234-238, 255-256
apps/evm/src/utilities/convertMantissaToTokens.ts 96.15% 88.88% 100% 96.15% 1
apps/evm/src/utilities/index.ts 98.11% 0% 100% 98.11% 1
apps/evm/src/utilities/formatHealthFactorToReadableValue/index.ts 94.73% 66.66% 100% 94.73% 1
apps/evm/src/utilities/formatPercentageToReadableValue/index.ts 97.05% 93.75% 100% 97.05% 1
Generated in workflow #11310 for commit 4a4c9c4 by the Vitest Coverage Report Action

@therealemjy therealemjy removed the request for review from gleiser-oliveira August 19, 2025 22:04
@therealemjy therealemjy marked this pull request as draft August 20, 2025 09:25
@therealemjy therealemjy force-pushed the feat/landing-page-update branch from 7e7ea2f to 2fbf1a8 Compare August 21, 2025 08:14
@therealemjy therealemjy force-pushed the feat/landing-page-update branch from 2fbf1a8 to 1639ab0 Compare August 21, 2025 10:55
@therealemjy therealemjy removed the request for review from gleiser-oliveira August 21, 2025 10:55
@therealemjy therealemjy force-pushed the feat/landing-page-update branch from 1639ab0 to 9a68243 Compare August 21, 2025 15:12
@therealemjy therealemjy force-pushed the feat/landing-page-update branch from 9a68243 to 9ee03b7 Compare August 21, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant