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

feat(SelectProvider): add info text on amount spent #3919

Merged
merged 7 commits into from
Jun 30, 2023
Merged

Conversation

satish-ravi
Copy link
Contributor

Description

Part 1 of the changes to select provider screen to show receive amount instead of fees. This includes integration with statsig feature gate and showing the "You'll pay/withdraw including fees" text. Showing the receive amount will be in a follow up

Test plan

Add Withdraw

Related issues

Backwards compatibility

Yes

@codecov
Copy link

codecov bot commented Jun 26, 2023

Codecov Report

Merging #3919 (f48beb7) into main (ad5f72f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3919   +/-   ##
=======================================
  Coverage   82.27%   82.28%           
=======================================
  Files         707      708    +1     
  Lines       26274    26289   +15     
  Branches     3579     3584    +5     
=======================================
+ Hits        21618    21632   +14     
- Misses       4593     4594    +1     
  Partials       63       63           
Impacted Files Coverage Δ
src/statsig/constants.ts 100.00% <ø> (ø)
src/fiatExchanges/SelectProvider.tsx 91.09% <100.00%> (+0.49%) ⬆️
src/fiatExchanges/amount.tsx 100.00% <100.00%> (ø)
src/fiatconnect/ReviewScreen.tsx 83.49% <100.00%> (-0.91%) ⬇️
src/statsig/types.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad5f72f...f48beb7. Read the comment docs.

@@ -0,0 +1,50 @@
import BigNumber from 'bignumber.js'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just moved from src/fiatconnect/ReviewScreen.tsx

@satish-ravi satish-ravi merged commit a6f8313 into main Jun 30, 2023
15 checks passed
@satish-ravi satish-ravi deleted the satish/act-842-1 branch June 30, 2023 19:55
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