-
Notifications
You must be signed in to change notification settings - Fork 11
fix(mobile): correct activity UI regressions #1937
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
base: dev
Are you sure you want to change the base?
Conversation
|
Leather Web Build 5a5da4b → https://pr-1937-leather-web.wallet-6d1.workers.dev |
|
Leather Extension build 5a5da4b — Extension build, Test report, Storybook, Chromatic |
b422cac to
ab07eeb
Compare
334eb5f to
792c920
Compare
|
|
||
| const estimatedRowHeight = 72; | ||
|
|
||
| export function ActivityLoading({ header, count }: ActivityLoadingProps) { |
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.
This improves the skeleton loader by filling the screen height with loaders
|
|
||
| export function useOnramperBuyFlag() { | ||
| return useBoolVariation('releaseOnramperBuy', false); | ||
| return useBoolVariation('release_onramper_buy', false); |
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.
This fixes a mistake I had made when refactoring the web feature flags casing
| @@ -0,0 +1,5 @@ | |||
| <svg width="320" height="320" viewBox="0 0 320 320" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||
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.
Adding this specifically as usdcx.svg so we can always show it correctly
| case 'nativeBtc': | ||
| return <BtcAvatarIcon indicator={indicator} size={size} {...rest} />; | ||
| case 'sip10': { | ||
| if ('contractId' in asset && 'imageCanonicalUri' in asset && 'name' in asset) { |
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.
Adding these assertions as it helps us decouple from '@leather.io/models'. That dependancy will disappear from the UI package entirely soon
| contractId, | ||
| name, | ||
| }: GetSip10AvatarImageProps) { | ||
| // TODO: work is needed to give better SIP-10 support often the imageCanonicalUri is not set |
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.
I've uploaded a lot of SVGs to our image platform now so this work has been done
7a040ea to
c6a2ba6
Compare
c6a2ba6 to
0b00582
Compare
This PR:
releaseOnramperBuy->release_onramper_buyThese issues were reported here