-
Notifications
You must be signed in to change notification settings - Fork 909
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
Adds functionality to monthly contribution dropdown (Panel, #2) #1016
Conversation
ba31e98
to
70e8c2a
Compare
components/brave_rewards/resources/extension/brave_rewards/components/panel.tsx
Outdated
Show resolved
Hide resolved
70e8c2a
to
d1052e7
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.
Do npm run sync -- --all
and rebase master
components/brave_rewards/browser/extension_rewards_service_observer_browsertest.cc
Outdated
Show resolved
Hide resolved
43ed9c3
to
03beb3d
Compare
03beb3d
to
c3f2708
Compare
@jasonrsadler @NejcZdovc this PR has been rebased, tests pass, functionality is the same as it was approved last time. |
c3f2708
to
ffe91ca
Compare
@jasonrsadler line length issues resolved |
876d0fe
to
0ea4276
Compare
components/brave_rewards/resources/extension/brave_rewards/components/panel.tsx
Outdated
Show resolved
Hide resolved
Referring to the comment about select above, as a part of this PR I am going to implement a styled native component so that we do not deliver this with a clipping issue. cc: @jasonrsadler |
0ea4276
to
3097220
Compare
3097220
to
7a204ec
Compare
7a204ec
to
6079558
Compare
324cecb
to
de39cbb
Compare
return RespondNow(Error("Rewards service is not initialized")); | ||
} | ||
|
||
rewards_service->GetPublisherBanner(params->publisher_key); |
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.
I know this was not introduced in this PR, but would be awesome if you could add callback to GetPublisherBanner
and we can remove observer for it. You would need to change brave_donate_ui
GetPublisherBanner
as well.
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.
@NejcZdovc tbh as I was working this out (and it was a bit tricky) I stopped myself to say I think we just need to let this PR move on. The accepted method of passing information from rewards_service_impl
-> ledger_impl
is changing constantly and is something we should address in separate tickets. Recommend we get this PR wrapped up.
de39cbb
to
329f169
Compare
Fixes brave/brave-browser#2823 Monthly donation functionality via panel
329f169
to
968a7cf
Compare
968a7cf
to
7afe745
Compare
Closed in favor of: #2069 |
Fixes: brave/brave-browser#2245
Fixes: brave/brave-browser#2823
UI: brave/brave-ui#434
Preview:
The brunt of the work for this was adding extension functions to support:
Adding a recurring contribution
Removing a recurring contribution
Retrieving recurring contributions
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
brave.com
The above six steps should be tried in different ways with different values. Ex: Ensuring that the data persists across tabs with the same site open
Reviewer Checklist: