-
Notifications
You must be signed in to change notification settings - Fork 925
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
Implements /v0/me/capabilities
, upholdInsufficientCapabilitiesModal
.
#13474
Conversation
A Storybook has been deployed to preview UI for the latest push |
vendor/bat-native-ledger/src/bat/ledger/internal/uphold/uphold_wallet.cc
Outdated
Show resolved
Hide resolved
A Storybook has been deployed to preview UI for the latest push |
4eba72e
to
a90d22f
Compare
A Storybook has been deployed to preview UI for the latest push |
Removes: - Uphold user status inspection - explicit CDD check - `upholdBlockedUserModal`, `upholdPendingUserModal`, `upholdRestrictedUserModal`, `upholdCustomerDueDiligenceRequiredModal`
a90d22f
to
c58bd92
Compare
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
A Storybook has been deployed to preview UI for the latest push |
…oint Implements `/v0/me/capabilities`, `upholdInsufficientCapabilitiesModal`.
…oint Implements `/v0/me/capabilities`, `upholdInsufficientCapabilitiesModal`.
Verified with
Verified test plan from #13474 (comment) for the following: Case 1: Clean profile, "sends" capability is false - PASSED
![]() Case 2: Upgrade profile, "sends" capability is false, brave://rewards page is open and active after upgrade - PASSED
![]() Case 3: Upgrade profile, "sends" capability is false, brave://rewards page is not open after upgrade - PASSED
Case 4: Clean profile, "receives" capability is false - PASSED
![]() Case 5: Upgrade profile, "receives" capability is false, brave://rewards page is open and active after upgrade - PASSED
![]() Case 6: Upgrade profile, "receives" capability is false, brave://rewards page is not open after upgrade - PASSED
Also verified the following cases for an account in good standing/full capabilities: Case 7: Clean profile, both "sends" and "receives" are true - PASSED
Case 8: Upgrade profile, "sends" and "receives" are true, brave://rewards page is open and active after upgrade - PASSED
Case 9: Upgrade profile, "sends" and "receives" are true, brave://rewards page is not open after upgrade - PASSED
|
Resolves brave/brave-browser#22508.
Implements

/v0/me/capabilities
andupholdInsufficientCapabilitiesModal
:Removes:
upholdBlockedUserModal
,upholdPendingUserModal
,upholdRestrictedUserModal
,upholdCustomerDueDiligenceRequiredModal
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
The
Test Plan
of #11857 can be applied here. Make sure to edit the response of/v0/me/capabilities
with Charles Proxy so that eitherreceives
orsends
is set tofalse
.