-
Notifications
You must be signed in to change notification settings - Fork 873
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
Use probi for reports #409
Conversation
0d42965
to
16db96c
Compare
4128d21
to
4e403ae
Compare
e11989b
to
2defc10
Compare
blocked on brave/brave-ui#187 |
95216f9
to
50a51d8
Compare
50a51d8
to
ff0a5f4
Compare
ff0a5f4
to
323d024
Compare
323d024
to
0f1e76e
Compare
should this have unit tests for the utils? |
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.
code looks ok to me, requesting tests
@diracdeltas test added for utils like we talked 58b4a6c
newReport->SetDouble("contribute", oldReport.auto_contribute); | ||
newReport->SetDouble("donations", oldReport.recurring_donation); | ||
newReport->SetDouble("oneTime", oldReport.one_time_donation); | ||
newReport->SetString("opening", oldReport.opening_balance); |
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.
This list was updated so that it matches names and fields from https://github.com/brave/brave-ui/blob/2fb8c297371056e898ae9dc2abb137fc88c50973/src/features/rewards/walletSummary/index.tsx#L27
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
Resolves brave/brave-browser#948
Resolves brave/brave-browser#1285
Resolves brave/brave-browser#1472
Ledger implementation: brave-intl/bat-native-ledger#86
UI implementation: brave/brave-ui#187
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: