-
Notifications
You must be signed in to change notification settings - Fork 634
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
Trending tokens polishes #6331
base: gregs/app-1958-ui-implementation-phase-1
Are you sure you want to change the base?
Trending tokens polishes #6331
Conversation
hey @greg-schrammel if these are fixes for the reviews done in the other PR it would be helpful to detail what you fixed here. |
@greg-schrammel re: farcaster pfp Using our existing ImgixImage component should do the trick |
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.
good work, some questions for you!
Just wanted to follow up on @maxbbb while he's right and we do need to fix that when adding more networks, we're only adding one for now. The rest won't be turned ON so I think we can get away with it |
? length === 0 | ||
? -SEPARATOR_HEIGHT + paddingBottom | ||
: 0 | ||
: length === 0 | ||
? ITEM_HEIGHT + paddingBottom | ||
: Math.ceil((length + 1) / 2) * (ITEM_HEIGHT + GAP) - GAP + paddingBottom; |
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.
got a couple of ideas to clean up a lot of this, and we are gonna need to tweak now that we are gonna support more networks, add scroll etc so gonna do it in a separate pr 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.
Did some QA, didn't check pixels since product is doing testflight nits.
Saw 2 things:
* remove arrows for price change * fix friend holders display * fix dupes * align and make friends looks better * remove spread * ops --------- Co-authored-by: gregs <[email protected]>
* convert network accessors to functions * backend networks store * wrote a couple worklet functions to get swaps working * fix other calls * Update package.json * Update ios/Podfile.lock * move all functions into backendNetworksStore and replace calls * refresh podlock * no clue what happened during merge * fix: APP-2021 * fix: APP-2022 * fix build and lint
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.3.7...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add basic entries * update chain badge assets * alphabetizing imports / mappings * update tokenSearch, default bips * alphabetize and clean up * alphabetize en_US * add explainer text and colors * update simplehash networks * update chainIds and explainer copy * chain IDs * add proper colors * add badges I have access to * add assets to assets folder as well * add assets * comment out other chains * remove badges for other networks * fix ethereum badge assets * idk if podlock is needed * Readd avalanche network type * Add new chains to chainsIdByNetwork mapping --------- Co-authored-by: Bruno Barbieri <[email protected]> Co-authored-by: jinchung <[email protected]>
* handle raw response from contract call correctly * fix logic to reveal icons
* format price for amounts >1 different than fractal amounts * handle >6 figs native value different and show in compact notation to prevent row collision * prevent token symbol from growing beyond what it needs * Update src/components/Discover/TrendingTokens.tsx * remove DebugLayout
* fix spacing between items * Update src/components/Discover/TrendingTokens.tsx
Fixes APP-####
What changed (plus any additional context for devs)
this pr is base branch is #6276
Trending tokens
Network Switcher
change customize networks hint banner to not show up again after dismissed
add a placeholder on the unpinned section for when all networks are pinned
makes it a bit better when dragging to pin/unpin and the sheet changes height (not sure about the solution, which rn is always having the height account for 1 more network on the unpinned section, so there is no layout shift when dragging between sections)
blocking
I think we need to proxy the farcaster pfp urls, or allowlist the urlstuff I dont think is blocking but would like to improve soon
Screen recordings / screenshots
What to test