-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Farm page redesign #211
Farm page redesign #211
Conversation
PfanP
commented
Dec 20, 2020
- remove active/inactive page from farm page
- remove image from farm page
- remove active/inactive page from farm page
- Add search box - Add grid view icons
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.
You'll need to pull the icons from the UIkit.
Please fix the lint warnings before the review.
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.
Thank you for you work.
Please check the comments below and let us know if you have any questions.
- I have added the relevant icons to the UI Kit here feat(icons): Additional icons pancake-uikit#103. Please use these when it is released (it should shortly)
- Please fix linting errors
- Clicking on the view switcher (table view, card view) does not change the layout for me
- The search does not seems to work. Hitting enter submits the form. Can you give us a brief explanation of the intended behavior is supposed to be?
- Missing the "show all" toggle
There are some issues I see with the layout on mobile/desktop.
Thanks for your review @hachiojidev , just wanted to inform it's not final version. I wanted to get feedback if I'm on right way. |
Okay, no worries. We are in the process of writing out some PR guidelines. In the future please set the PR as a draft so we know it is a WIP. |
Ok |
const StyledPage = styled(Page)` | ||
@media (min-width: 968px) { | ||
width: 60vw; | ||
margin: auto; |
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.
Please use the theme values from the UI Kit
${({ theme }) => theme.mediaQueries.sm} {
}
They can be found here
https://github.com/pancakeswap/pancake-uikit/blob/master/src/theme/base.ts
…ance-by-lazily-loading-vaults fix pancakeswap#211, fix pancakeswap#101, fix pancakeswap#69
* updated package.json version * 193: Show divider instead of sidebar meny content when pushed off * rm circle icon * 161: Refactored and fixed column sorting * pancakeswap#211: Added react-intersection-observer * pancakeswap#211: Lazily load vaults element, for increased perf ⬆⬆ * pancakeswap#211: Adapted Row to include OnInView callback * pancakeswap#211: Fixed InView wrapping issue * pancakeswap#215: Fixed high APY numbers overflow * pancakeswap#190: Set the Select DropdownContainer width to 100% * pancakeswap#190: Added sorting for mobile users * added placeholders * added placeholders * removed test LP tokens addrs * 129-logo-link-add-text * Revert "Merge pull request pancakeswap#217 from kogecoin/190-enable-apy-sorting-in-mobile" This reverts commit f8ad08b, reversing changes made to daf8733. * Revert "129-logo-link-add-text" This reverts commit aa076a6. * Revert "Revert "Merge pull request pancakeswap#217 from kogecoin/190-enable-apy-sorting-in-mobile"" This reverts commit c3042ef. * Revert "Revert "129-logo-link-add-text"" This reverts commit f722978. * Update README.md * 12 decimals * cleanup commment * fix logo text link * format * removed unwanted test data * removed test data * move iris to inactive * remove empty inactive vaults * Add contracts for moonriver - MultiCall, verified on PolygonScan then deployed on MoonRiver - farms_mvr.ts: USDC-Dai (Solar) - Tokens: added addresses for chain 1285 for USDC, Dai, Solar * update to polygon-rpc * add some other RPCs to rotation * get rid of beware labs since it seems to be down too * add back beware labs spelling error * pancakeswap#229: Fixed multisearch with platform filter * Revert "Revert "Revert "129-logo-link-add-text""" This reverts commit 543431e. * Reverted changes that introduced bug from pancakeswap#129 * 194: Reduced navbar tooltips size of by half * 175: Removed withdrawal cancel button outline * add back infura * 107 add youtube link (pancakeswap#230) * add menu entry * svg * pancakeswap#215: Rounding up APYs greater than billions * pancakeswap#234: Activate staked only when toggle to inactive farms * fix atricrypto APRs * update trading fee for curve * pancakeswap#215: Added million as a rounded number * Quickfix: redirecting only if on prod Co-authored-by: Logan Bek <loganbek@gmail.com> Co-authored-by: Adam Bertram <adbertram@gmail.com> Co-authored-by: dhzh <88013318+kogecoindev@users.noreply.github.com>