pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

feat: bCake for pm v2 ss

Open Chef-Yogi opened this issue 11 months ago • 3 comments


PR-Codex overview

This PR updates various components and files related to farms, migration, boosters, and UI improvements.

Detailed summary

  • Renamed and updated components related to boosters and farms
  • Added a new migration page for V3
  • Refactored UI components and styles
  • Updated farm-related hooks and constants

The following files were skipped due to too many changes: apps/web/src/views/PositionManagers/components/Header.tsx, apps/web/src/views/Farms/components/FarmCard/HarvestAction.tsx, apps/web/src/views/PositionManagers/components/TokenPairLogos.tsx, apps/web/src/views/Farms/hooks/useHarvestFarm.ts, apps/web/src/views/Migration/components/ProgressSteps.tsx, apps/web/src/state/farms/hooks.ts, packages/farms/src/v2/deserializeFarmUserData.ts, apps/web/src/pages/farms/index.tsx, apps/web/src/views/PositionManagers/hooks/index.ts, apps/web/src/views/PositionManagers/containers/PCSVaultCard.tsx, apps/web/src/views/PositionManagers/components/TableView/TableLayout.tsx, apps/web/src/views/PositionManagers/components/StakedAssets.tsx, apps/web/src/views/Farms/components/FarmTable/Actions/ActionPanel.tsx, apps/web/src/views/Farms/components/FarmCard/CardHeading.tsx, packages/farms/src/v2/deserializeFarm.ts, apps/web/src/views/Farms/components/YieldBooster/components/bCakeV3/BCakeBoosterCard.tsx, apps/web/src/views/PositionManagers/components/VaultLinks.tsx, apps/web/src/views/PositionManagers/components/YieldInfo.tsx, apps/web/src/views/Farms/components/YieldBooster/components/bCakeV3/StatusView.tsx, apps/web/src/views/Migration/components/MigrationSticky.tsx, packages/farms/constants/bsc.ts, apps/web/src/views/Farms/components/FarmTable/FarmTable.tsx, packages/farms/src/types.ts, apps/web/src/views/Farms/hooks/useUnstakeFarms.ts, apps/web/src/views/Farms/hooks/useStakeFarms.ts, apps/web/src/hooks/useContract.ts, apps/web/src/views/PositionManagers/components/VaultInfo.tsx, packages/position-managers/src/constants/vaults/bsc.ts, apps/web/src/views/PositionManagers/components/RewardAssets.tsx, apps/web/src/views/Farms/components/FarmTable/Apr.tsx, apps/web/src/views/PositionManagers/hooks/useWrapperBooster.ts, apps/web/src/views/PositionManagers/components/CardTitle.tsx, apps/web/src/views/Farms/components/FarmTable/Actions/HarvestAction.tsx, apps/web/src/views/PositionManagers/components/TableView/FarmCell.tsx, apps/web/src/utils/contractHelpers.ts, apps/web/src/views/Farms/components/FarmCard/FarmCard.tsx, apps/web/src/views/PositionManagers/components/RewardPerDay.tsx, apps/web/src/views/Migration/components/bCake/Step1.tsx, apps/web/src/views/PositionManagers/components/AprButton.tsx, apps/web/src/views/Farms/components/FarmTable/Row.tsx, apps/web/src/views/PositionManagers/hooks/useOnStake.tsx, apps/web/src/views/PositionManagers/containers/VaultContent.tsx, apps/web/src/views/PositionManagers/components/DuoTokenVaultCard.tsx, apps/web/src/state/farms/fetchFarmUser.ts, apps/web/src/utils/calls/farms.ts, apps/web/src/views/PositionManagers/components/TableView/ActionPanel.tsx, apps/web/src/views/Migration/bCake.tsx, apps/web/src/views/Farms/components/FarmCard/StakeAction.tsx, apps/web/src/views/PositionManagers/components/AddLiquidity.tsx, apps/web/src/state/farms/index.ts, apps/web/src/views/Farms/components/FarmTable/Actions/StakedAction.tsx, apps/web/src/views/Farms/components/FarmCard/CardActionsContainer.tsx, apps/web/src/views/Farms/components/FarmCard/ApyButton.tsx, apps/web/src/views/PositionManagers/components/LiquidityManagement.tsx, apps/web/src/views/PositionManagers/hooks/useAdapterInfo.ts, apps/web/src/config/abi/v2BCakeWrapper.ts, packages/farms/constants/v3/abi/bCakeFarmWrapperBoosterVeCake.ts, apps/web/src/views/PositionManagers/components/TableView/index.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Chef-Yogi avatar Mar 06 '24 00:03 Chef-Yogi

⚠️ No Changeset found

Latest commit: 0c6cc9f7e76920fcf9179f8c187a8624a0f5c29f

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 no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

changeset-bot[bot] avatar Mar 06 '24 00:03 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 11:32am
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
aptos-web ⬜️ Ignored (Inspect) Visit Preview Apr 5, 2024 11:32am
blog ⬜️ Ignored (Inspect) Visit Preview Apr 5, 2024 11:32am
bridge ⬜️ Ignored (Inspect) Visit Preview Apr 5, 2024 11:32am
games ⬜️ Ignored (Inspect) Visit Preview Apr 5, 2024 11:32am
uikit ⬜️ Ignored (Inspect) Visit Preview Apr 5, 2024 11:32am

vercel[bot] avatar Mar 06 '24 00:03 vercel[bot]

Typescript errors check

Yeah, you have removed 21 errors with this PR 👏

196 ts errors detected in all the codebase 😟.

Well done: no ts errors in files changed in this PR! 🎉

chefjackson/action-check-typescript

github-actions[bot] avatar Mar 06 '24 00:03 github-actions[bot]