-
Notifications
You must be signed in to change notification settings - Fork 970
Adds non-verified option to the payment page #8394
Conversation
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.
doesn't there need to br something added to ledger.js to make use of this option???
@mrose17, these PR is not yet completed, still have work-in-progress label |
e4be1d3
to
229de66
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.
229de66
to
3f83263
Compare
696ef4b
to
798f177
Compare
js/constants/appConfig.js
Outdated
@@ -149,6 +149,7 @@ module.exports = { | |||
'bookmarks.toolbar.showOnlyFavicon': false, | |||
'payments.enabled': false, | |||
'payments.notifications': false, | |||
'payments.non-verified-publishers': true, |
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.
Could you update this to be more descriptive? Maybe payments.allow-non-verified-publishers
?
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.
done
js/constants/settings.js
Outdated
@@ -55,6 +55,7 @@ const settings = { | |||
PAYMENTS_NOTIFICATION_RECONCILE_SOON_TIMESTAMP: 'notification-reconcile-soon-timestamp', | |||
PAYMENTS_NOTIFICATION_TRY_PAYMENTS_DISMISSED: 'payments.notificationTryPaymentsDismissed', | |||
PAYMENTS_CONTRIBUTION_AMOUNT: 'payments.contribution-amount', | |||
PAYMENTS_NON_VERIFIED: 'payments.non-verified-publishers', |
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.
same as above comment 😄
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.
done
Resolves brave#8231 Auditors: @mrose17 @bsclifton Test Plan: - go to payments page - click on advance settings - disabled option "Allow contributions to non-verified sites" - all non-verified sites should be hidden from a table
798f177
to
462d4aa
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.
Manually tested and also ran the webdriver test. Changes work as expected. Great job 😄
git rebase -i
to squash commits (if needed).Resolves #8231
Auditors: @mrose17 @bsclifton
Test Plan