-
Notifications
You must be signed in to change notification settings - Fork 97
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(earn): Beefy terms and conditions changes #6127
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6127 +/- ##
=======================================
Coverage 88.75% 88.75%
=======================================
Files 727 727
Lines 30794 30804 +10
Branches 5627 5626 -1
=======================================
+ Hits 27330 27339 +9
- Misses 3265 3266 +1
Partials 199 199
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
src/earn/EarnDepositBottomSheet.tsx
Outdated
i18nKey="earnFlow.depositBottomSheet.noTermsUrlFooter" | ||
tOptions={{ providerName: pool.appName }} | ||
> | ||
<Text |
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.
Should we conditionally render this if APP_ID_TO_PROVIDER_DOCUMENTS_URL[pool.appId]
is undefined? Also What happens to the translation in that case?
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.
updated in 0cfe241
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.
LGTM! Thanks for addressing the feedback and getting the test coverage up.
### Description Allow for showing provider docs and valora T&Cs if provider T&Cs don't exist ### Test plan <img src="https://github.com/user-attachments/assets/78e09a87-1153-4287-bfc5-8471f64a3da0" width="250" /> https://github.com/user-attachments/assets/a3ea05b2-a4f7-49c7-b753-745f62290c27 ### Related issues - Fixes ACT-1399 ### Backwards compatibility Yes ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will: - [X] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)
Description
Allow for showing provider docs and valora T&Cs if provider T&Cs don't exist
Test plan
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-02.at.11.26.12.mp4
Related issues
Backwards compatibility
Yes
Network scalability
If a new NetworkId and/or Network are added in the future, the changes in this PR will: