-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: New syrup pool cards #874
Merged
Chef-Chungus
merged 52 commits into
pancakeswap:develop
from
ChefHutch:feature/syrup-pool-new-cards
Apr 29, 2021
Merged
Changes from 50 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
6e5bc69
feat(syrup-pool-v2): Update PageHeader and TabButtons
ChefHutch a72465a
feat(syrup-pool-v2): Reorg component structure and add new styledCard…
ChefHutch 3efb72d
feat(syrup-pool-v2): Yeet some sheet
ChefHutch b99f8fa
feat(syrup-pool-v2): Add finished sash and handle finished state of c…
ChefHutch 70ca891
feat(syrup-pool-v2): Create APR row comp
ChefHutch 8292e86
Merge branch 'develop' into feature/syrup-pool-new-cards
ChefHutch ee5a35e
feat(syrup-pool-v2): Tidy up & restyling of footer
ChefHutch f5c1e51
fix(syrup-pool-v2): Fix merge conflicts
ChefHutch e5f7df2
feat(syrup-pool-v2): Finish up various footer comps
ChefHutch a82d259
feat(syrup-pool-v2): Upgrade ApyCalculatorModal to handle different e…
ChefHutch affa828
feat(syrup-pool-v2): Loading states for footer and APR
ChefHutch 215f482
Merge branch 'develop' into feature/syrup-pool-new-cards
ChefHutch 3cdb0b9
fix(syrup-pool-v2): Fix merge conflicts
ChefHutch 8b69e2f
fix(syrup-pool-v2): Fix lint error
ChefHutch 1ce5132
chore(syrup-pool-v2): Break CardActions into its own component and re…
ChefHutch c188ea3
feat(syrup-pool-v2): Create separate Staking / HarvestActions comps
ChefHutch 32adaa8
feat(syrup-pool-v2): Approval and Staking actions
ChefHutch 9f30bfc
Merge branch 'develop' into feature/syrup-pool-new-cards
ChefHutch 55bb60b
feat(pool-stake-modal): Basics of stake modal laid out
ChefHutch 41a6b0d
feat(syrup-pool-v2): Styling of cards and improvements to error repor…
ChefHutch 057967b
feat(syrup-pool-v2): Add proper USD calculation
ChefHutch 886c428
Merge branch 'develop' of https://github.com/pancakeswap/pancake-fron…
ChefHutch 40846f1
feat(syrup-pool-v2): Adding unstaking buttons and rough modal operations
ChefHutch fcbb1e4
feat(syrup-pool-v2): Refactor footer for performance and add HarvestA…
ChefHutch 43044fa
feat(syrup-pool-v2): Basic harvest modal and functionality added
ChefHutch 278ed66
feat(syrup-pool-v2): Styling fixes and pass account down from pool view
ChefHutch 40922fd
feat(syrup-pool-v2): Styling and tooltip for compounding modal
ChefHutch c81e054
feat(syrup-pool-v2): Finish compounding modal
ChefHutch db54948
feat(syrup-pool-v2): Style for promoted pool (& cake) and organising …
ChefHutch d8d575e
fix(syrup-pool-v2): Fix merge conflicts
ChefHutch 1d918dc
feat(syrup-pool-v2): Massive proptypes tidy up
ChefHutch c7eb515
chore(syrup-pool-v2): Del unused SVG
ChefHutch a8be471
Merge branch 'develop' of https://github.com/pancakeswap/pancake-fron…
ChefHutch 9b56b02
feat(syrup-pool-v2): Add loading states for different card elements
ChefHutch 7b7ec7b
feat(syrup-pool-v2): Add bunny img
ChefHutch df92291
feat(syrup-pool-v2): Fix high price token showing 0% APR
ChefHutch b5e02c9
chore(syrup-pool-v2): Cleanup white space
ChefHutch 1d4806f
chore(syrup-pool-v2): Re-add usePersistState
ChefHutch 8890e77
chore(syrup-pool-v2): Add comments to help
ChefHutch 2fb7cc7
Merge branch 'develop' into feature/syrup-pool-new-cards
ChefHutch 6130692
chore(syrup-pool-v2): Remove unused components
ChefHutch 2791d21
Merge branch 'develop' of https://github.com/pancakeswap/pancake-fron…
ChefHutch 49daf7c
fix(syrup-pool-v2): Fix useToast
ChefHutch db1d8dd
feat(syrup-pool-v2): Move help to pooltabbuttons bar
ChefHutch 9fe4356
feat(syrup-pool-v2): Disabled button when stakeAmount is zero or unset
ChefHutch 6475897
Merge branch 'develop' of https://github.com/pancakeswap/pancake-fron…
ChefHutch dbd1706
Merge branch 'develop' of https://github.com/pancakeswap/pancake-fron…
ChefHutch dfa6bc5
fix(pool-cards-v2): Amendments based on Doge's CR comments
ChefHutch 0097dcc
fix(pool-cards-v2): Proper finished handling on staking actions
ChefHutch 91f9de5
fix(pool-cards-v2): Follow up CR comments
ChefHutch 7cc8518
feat(syrup-pool-v2): Add new uikit version
ChefHutch 6799004
Merge branch 'develop' of https://github.com/pancakeswap/pancake-fron…
ChefHutch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add options roundingDecimals parameter to the APR calculator helpers - necessary for tokens where $1000 worth will earn you less than 0.01 of that token per day. Logic for calculating the decimals is within
../PoolCard/AprRow.tsx
- https://github.com/pancakeswap/pancake-frontend/pull/874/files#diff-531735dee83d86ed0f944dd084cd541f9442af155febeac6c4ea575ccc55b1c3R29