Skip to content

feat: Yield+ reduce and close flow#5511

Draft
therealemjy wants to merge 1 commit intofeat/yield-plus-pr10-manage-flowfrom
feat/yield-plus-pr11-reduce-close
Draft

feat: Yield+ reduce and close flow#5511
therealemjy wants to merge 1 commit intofeat/yield-plus-pr10-manage-flowfrom
feat/yield-plus-pr11-reduce-close

Conversation

@therealemjy
Copy link
Copy Markdown
Member

Jira ticket(s)

VPD-634
VPD-632
VPD-629
VPD-640
VPD-633
VPD-638
VPD-637
VPD-643
VPD-635
VPD-639

Changes

  • add the reduce-position and close-position flows, including their modals and mutations\n- complete the full Yield+ feature stack on top of the earlier PRs

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

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

Project Deployment Actions Updated (UTC)
dapp-preview Ready Ready Preview Apr 10, 2026 8:41am
dapp-testnet Ready Ready Preview Apr 10, 2026 8:41am
venus.io Ready Ready Preview Apr 10, 2026 8:41am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 9, 2026

⚠️ No Changeset found

Latest commit: 1025919

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

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

Click here to learn what changesets are, and how to add one.

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 81.09% 43150 / 53210
🔵 Statements 81.09% 43150 / 53210
🔵 Functions 63.64% 660 / 1037
🔵 Branches 72.7% 4953 / 6812
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/evm/src/App/Routes/index.tsx 0% 0% 0% 0% 1-271
apps/evm/src/clients/api/index.ts 100% 100% 100% 100%
apps/evm/src/clients/api/mutations/useCloseYieldPlusPosition/index.ts 97.43% 66.66% 100% 97.43% 3
apps/evm/src/clients/api/mutations/useCloseYieldPlusPositionWithLoss/index.ts 98.21% 66.66% 100% 98.21% 3
apps/evm/src/clients/api/mutations/useCloseYieldPlusPositionWithProfit/index.ts 98.3% 90% 100% 98.3% 3
apps/evm/src/clients/api/mutations/useReduceYieldPlusPositionWithLoss/index.ts 98.24% 66.66% 100% 98.24% 3
apps/evm/src/clients/api/mutations/useReduceYieldPlusPositionWithProfit/index.ts 98.21% 66.66% 100% 98.21% 3
apps/evm/src/clients/api/queries/getIsAddressAuthorized/useGetIsAddressAuthorized.ts 100% 100% 100% 100%
apps/evm/src/clients/api/queries/getTokenUsdPrice/useGetTokenUsdPrice.ts 100% 100% 100% 100%
apps/evm/src/clients/api/queries/useGetVaults/index.ts 96% 50% 100% 96% 1
apps/evm/src/clients/api/queries/useGetVaults/useGetVestingVaults/index.ts 96.46% 50% 100% 96.46% 2, 129, 181, 238-241
apps/evm/src/components/index.ts 100% 100% 100% 100%
apps/evm/src/components/AccountHealthBar/index.tsx 99.09% 64.7% 100% 99.09% 118
apps/evm/src/components/AreaChart/index.tsx 94.62% 60% 0% 94.62% 69-71, 118-119
apps/evm/src/components/Icon/index.tsx 92.85% 0% 100% 92.85% 22
apps/evm/src/components/Icon/icons/index.ts 100% 100% 100% 100%
apps/evm/src/components/Icon/icons/pendle.tsx 11.53% 100% 0% 11.53% 5-28
apps/evm/src/components/LabeledProgressBar/index.tsx 100% 66.66% 100% 100%
apps/evm/src/components/LabeledProgressBar/styles.tsx 94.44% 0% 100% 94.44% 1
apps/evm/src/components/Modal/index.tsx 100% 50% 100% 100%
apps/evm/src/components/Modal/styles.ts 97.72% 94.11% 100% 97.72% 1
apps/evm/src/components/ProgressBar/index.tsx 100% 90.9% 100% 100%
apps/evm/src/components/StatusLabel/index.tsx 0% 0% 0% 0% 1-38
apps/evm/src/components/Tabs/index.tsx 87.67% 92.3% 0% 87.67% 31-42, 63
apps/evm/src/components/TextField/index.tsx 98% 91.89% 100% 98% 52-55
apps/evm/src/constants/functionKey.ts 100% 50% 100% 100%
apps/evm/src/constants/routing.ts 100% 66.66% 100% 100%
apps/evm/src/containers/AccountData/index.tsx 98.33% 83.33% 100% 98.33% 59
apps/evm/src/containers/AdBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/containers/AdBanner/ProbableBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/containers/AdBanner/VenusFluxBanner/index.tsx 100% 0% 100% 100%
apps/evm/src/containers/CopyAddressButton/index.tsx 100% 100% 100% 100%
apps/evm/src/containers/Layout/Footer/index.tsx 0% 0% 0% 0% 1-117
apps/evm/src/containers/Layout/NavBar/useMenuItems/index.tsx 0% 0% 0% 0% 1-121
apps/evm/src/containers/Vault/VaultCard/index.tsx 100% 100% 100% 100%
apps/evm/src/containers/Vault/VaultCard/Legacy/index.tsx 98.75% 46.66% 0% 98.75% 39, 176
apps/evm/src/containers/Vault/VaultCard/Legacy/VaultModals/index.tsx 100% 100% 100% 100%
apps/evm/src/containers/Vault/VaultCard/Simplified/index.tsx 89.33% 0% 100% 89.33% 33, 66, 76-81
apps/evm/src/containers/Vault/hooks/useVaultUsdValues.ts 74.41% 0% 100% 74.41% 1, 28-32, 35-39
apps/evm/src/hooks/useGetSwapInfo/useGetTokenCombinations.ts 98.85% 81.81% 100% 98.85% 1
apps/evm/src/hooks/useIsFeatureEnabled/index.tsx 99.35% 0% 100% 99.35% 1
apps/evm/src/libs/contracts/config/index.ts 0% 100% 100% 0% 3-904
apps/evm/src/libs/errors/VError.ts 100% 0% 100% 100%
apps/evm/src/libs/wallet/Web3Wrapper/config.ts 0% 0% 0% 0% 1-57
apps/evm/src/libs/wallet/Web3Wrapper/RainbowKitWrapper/index.tsx 0% 0% 0% 0% 1-44
apps/evm/src/pages/Dashboard/Markets/Positions/Summary/index.tsx 94.89% 0% 100% 94.89% 92-96
apps/evm/src/pages/Dashboard/Vaults/index.tsx 98.01% 44.44% 100% 98.01% 94-95
apps/evm/src/pages/Landing/Safety/index.tsx 0% 0% 0% 0% 1-106
apps/evm/src/pages/Market/MarketHistory/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Market/MarketHistory/Card/ApyChart/index.tsx 17.24% 100% 0% 17.24% 25-77
apps/evm/src/pages/Market/OperationForm/WithdrawForm/index.tsx 92.92% 89.85% 88.88% 92.92% 82-85, 160, 249-265, 289, 473-478
apps/evm/src/pages/Market/OperationForm/WithdrawForm/useForm/index.tsx 87.3% 50% 100% 87.3% 3, 87-95
apps/evm/src/pages/Market/OperationForm/WithdrawForm/useForm/useFormValidation.ts 98.11% 92.85% 100% 98.11% 1
apps/evm/src/pages/Vaults/Overview/index.tsx 90.27% 25% 100% 90.27% 47-51, 60, 67
apps/evm/src/pages/Vaults/Overview/Banner/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/Vaults/Vaults/index.tsx 94.44% 14.28% 0% 94.44% 29, 37, 41-43
apps/evm/src/pages/Vaults/Vaults/hooks/useFilterOptions.tsx 89.47% 0% 0% 89.47% 19-21, 25-27
apps/evm/src/pages/Vaults/utils/index.tsx 96.42% 33.33% 100% 96.42% 26
apps/evm/src/pages/VoterLeaderboard/LeaderboardTable/index.tsx 100% 88.88% 100% 100%
apps/evm/src/pages/YieldPlus/index.tsx 100% 96% 100% 100%
apps/evm/src/pages/YieldPlus/ClosePositionModal/index.tsx 100% 50% 100% 100%
apps/evm/src/pages/YieldPlus/ClosePositionModal/Form/index.tsx 0% 0% 0% 0% 1-22
apps/evm/src/pages/YieldPlus/ClosePositionModal/store/index.ts 93.75% 83.33% 100% 93.75% 1
apps/evm/src/pages/YieldPlus/OperationForm/index.tsx 0% 0% 0% 0% 1-21
apps/evm/src/pages/YieldPlus/OperationForm/ManagePositionTabs/PositionTabs/index.tsx 0% 0% 0% 0% 1-29
apps/evm/src/pages/YieldPlus/Positions/PositionList/index.tsx 100% 92.85% 100% 100%
apps/evm/src/pages/YieldPlus/Positions/PositionList/RowFooter/index.tsx 100% 0% 100% 100%
apps/evm/src/pages/YieldPlus/ReduceForm/index.tsx 97.01% 86.45% 100% 97.01% 80, 107, 325-331, 405-408
apps/evm/src/types/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/convertTokensToMantissa.ts 100% 50% 100% 100%
apps/evm/src/utilities/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/restService.ts 65.67% 0% 0% 65.67% 1, 32-38, 56, 62, 68-70, 80-81, 87-97
apps/evm/src/utilities/calculateUserPoolValues/index.ts 97.91% 83.33% 100% 97.91% 1
apps/evm/src/utilities/formatToCandle/index.ts 100% 0% 100% 100%
Generated in workflow #13141 for commit 70684d3 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.

1 participant