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

claim #5887

Merged
merged 6 commits into from
Jun 23, 2024
Merged

claim #5887

merged 6 commits into from
Jun 23, 2024

Conversation

brunobar79
Copy link
Member

@brunobar79 brunobar79 commented Jun 23, 2024

Fixes APP-####

What changed (plus any additional context for devs)

Brought raps from BX and adapted to the app.

Screen recordings / screenshots

Posted on slack

What to test

Claim flow

You can set the flag DO_FAKE_CLAIM to true and that would let you use the whole flow without doing a real claim so you can try it as many times as you want.

If you set it to false, a real claim will be done and you won't be able to do it unless you ask backend to reset the claims to test again with that same wallet

@brunobar79 brunobar79 force-pushed the @bruno/points-raps branch from ec9d7fa to 8eb279b Compare June 23, 2024 00:23
Copy link

socket-security bot commented Jun 23, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@rainbow-me/[email protected] environment, eval, network +11 3.4 MB estebanmino

🚮 Removed packages: npm/@rainbow-me/[email protected]

View full report↗︎

refetch();
return { nonce: bridgeNonce };
} else {
setClaimStatus('error');
Copy link
Member Author

Choose a reason for hiding this comment

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

@christianbaroni I've added this new state error so you can show something specific if bridging fails

@christianbaroni christianbaroni merged commit 0ae3fb5 into @christian/points-ui Jun 23, 2024
4 checks passed
@christianbaroni christianbaroni deleted the @bruno/points-raps branch June 23, 2024 00:58
jinchung added a commit that referenced this pull request Jun 24, 2024
* Enable P3 color in RN and gradients

* Bump Reanimated, Skia

* WIP: new UI

* Fix Android build

* Android fixes, add placeholder bridge fee labels

* Points UI Data (#5876)

* feat: insert new points data

* feat: claim request

* fix: cleanup smooth pager ids

* Remove unused imports

* Lighten separators in light mode

* Fix extra space when Stack children aren't rendered

Also makes the leaderboard section spacing consistent with the other sections

* Claim flow improvements, card visibility tweaks

* Cache remote card images, minor code cleanup

* i18n, clean up InfoCard placeholders

* Add i18n strings

* Clean up InfoCard, notifications toggle styles

* Add experimental flag, remote flag

* Lower dark mode border opacity

* Claim flow improvements, i18n

* Hide ClaimCard for watched wallets

* Make copy adjustments

* Fix wallet list scroll bug

This wallet list code needs more significant refactoring, but this fixes the issue that often prevents the wallet list from being scrollable

* Clean up light mode styles

* Add claim flow spinner, network list cleanup

* claim (#5887)

* Adjust spinner size, layout

* fix claim

* Add basic claim error state

* Add missing i18n strings

* Catch more error cases, use claim error UI instead of alert

Replaces the "Unable to load wallet" alert with the claim error state, since the !wallet condition catches non-serious errors like Face ID failures

* Speed up wallet switcher, minor code cleanup

* Use more saturated green

* differentiate errors

* Update using default gas limit for bridge quote if it exists

* Update default value in experimental config for ETH_REWARDS

* Clean up Android claim flow styles

* Improve copy

* Improve InfoCard copy, styles

* Adjust InfoCard copy: Rank → Placed

* Add bridge failure error state

* Fix bridge-error Done button press handler

* Clean up loading skeletons

---------

Co-authored-by: Christopher Howard <[email protected]>
Co-authored-by: Bruno Barbieri <[email protected]>
Co-authored-by: Bruno Barbieri <[email protected]>
Co-authored-by: jinchung <[email protected]>
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.

2 participants