Skip to content
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

chore: coin icon refactor #5418

Merged
merged 15 commits into from Feb 26, 2024
Merged

chore: coin icon refactor #5418

merged 15 commits into from Feb 26, 2024

Conversation

skylarbarrera
Copy link
Contributor

@skylarbarrera skylarbarrera commented Feb 16, 2024

Fixes APP-1116
Fixes APP-1095

This is currently waiting for the TX refactor to be merged so we have the necessary data everywhere

What changed (plus any additional context for devs)

replaces the fragmented coin icon components with one source of truth based on BE data vs static cloudinary links

RainbowCoinIcon should be used for all coin icons,

if you need to use ETH i created EthCoinIcon

I'm also readding react-native-fast-image but ONLY for coin icons, this should be little enough usage to not run into the memory issues we were seeing preciously when we were using it everywhere

Screen recordings / screenshots

What to test

Copy link

linear bot commented Feb 16, 2024

Copy link

linear bot commented Feb 23, 2024

@skylarbarrera skylarbarrera marked this pull request as ready for review February 23, 2024 18:27
currency: nativeCurrency,
}),
{
staleTime: Infinity,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we cache this response also?

@skylarbarrera skylarbarrera merged commit fc29868 into develop Feb 26, 2024
5 of 6 checks passed
@skylarbarrera skylarbarrera deleted the @skylar/coin-icon-refactor branch February 26, 2024 20:10
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.

None yet

2 participants