Skip to content

Conversation

@therealemjy
Copy link
Member

@therealemjy therealemjy commented Dec 11, 2025

Changes

evm app

  • add ApproveToken and ApproveDelegate containers to share between various forms that require an approval before submitting a transaction
  • set Biome as default formatter in VSCode config
  • add Footer component and implement it in the Supply form. In the following PRs, I'll refactor the other operation forms to use this component to remove some code duplicates
  • add useCommonValidation hook to be used on every operation details form to detect errors that are common among them

@changeset-bot
Copy link

changeset-bot bot commented Dec 11, 2025

🦋 Changeset detected

Latest commit: df0cd17

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 Dec 11, 2025

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

Project Deployment Review Updated (UTC)
app.venus.io Ready Ready Preview Dec 18, 2025 8:13am
dapp-preview Ready Ready Preview Dec 18, 2025 8:13am
dapp-testnet Ready Ready Preview Dec 18, 2025 8:13am
venus.io Ready Ready Preview Dec 18, 2025 8:13am

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 78.65% 34401 / 43734
🔵 Statements 78.65% 34401 / 43734
🔵 Functions 62.28% 578 / 928
🔵 Branches 72.67% 4218 / 5804
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/components/ApproveTokenSteps/index.tsx 100% 66.66% 100% 100%
apps/evm/src/containers/ApproveDelegate/index.tsx 100% 50% 100% 100%
apps/evm/src/containers/ApproveToken/index.tsx 100% 0% 100% 100%
apps/evm/src/containers/Form/RhfSubmitButton/index.tsx 95.74% 66.66% 100% 95.74% 63-66
apps/evm/src/hooks/useDelegateApproval/index.ts 85.36% 75% 50% 85.36% 1, 35-38, 54
apps/evm/src/hooks/useGetSwapInfo/index.ts 99.32% 97.43% 100% 99.32% 1
apps/evm/src/hooks/useTokenApproval/index.ts 0% 0% 0% 0% 1-109
apps/evm/src/pages/Market/OperationForm/index.tsx 85.14% 25% 25% 85.14% 96-115
apps/evm/src/pages/Market/OperationForm/ApproveDelegateSteps/index.tsx 96.15% 33.33% 100% 96.15% 28
apps/evm/src/pages/Market/OperationForm/Footer/index.tsx 100% 92.3% 100% 100%
apps/evm/src/pages/Market/OperationForm/Footer/SubmitButton/index.tsx 79.48% 42.85% 100% 79.48% 31, 47, 49-56
apps/evm/src/pages/Market/OperationForm/Repay/RepayWithWalletBalanceForm/index.tsx 99.62% 92.85% 100% 99.62% 618, 646
apps/evm/src/pages/Market/OperationForm/Repay/RepayWithWalletBalanceForm/SubmitSection/index.tsx 100% 94.44% 100% 100%
apps/evm/src/pages/Market/OperationForm/SupplyForm/index.tsx 93.26% 86.2% 100% 93.26% 109, 229, 281-290, 418-433, 444-445, 460
apps/evm/src/pages/Market/OperationForm/SupplyForm/SubmitSection/index.tsx 0% 100% 100% 0% 2-105
apps/evm/src/pages/Market/OperationForm/SupplyForm/useForm/index.tsx 89.74% 50% 100% 89.74% 1, 111-119
apps/evm/src/pages/Market/OperationForm/SupplyForm/useForm/useFormValidation.ts 92.45% 91.66% 100% 92.45% 1, 123-129
apps/evm/src/pages/Market/OperationForm/useCommonValidation/index.ts 99.4% 97.43% 100% 99.4% 3
apps/evm/src/pages/Swap/SubmitSection/index.tsx 100% 96.87% 100% 100%
Generated in workflow #12087 for commit df0cd17 by the Vitest Coverage Report Action

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