Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Browser should poll server for UGP promo whenever payments prefs is opened #12688

Closed
davidtemkin opened this issue Jan 17, 2018 · 3 comments · Fixed by #13078
Closed

Browser should poll server for UGP promo whenever payments prefs is opened #12688

davidtemkin opened this issue Jan 17, 2018 · 3 comments · Fixed by #13078

Comments

@davidtemkin
Copy link

davidtemkin commented Jan 17, 2018

Test Plan

#13078

Currently Brave only checks to see if a UGP promotion is active at browser startup time and at 24 hour intervals. The effect of this is that users who hear about a newly-launched promo are not able to take advantage of it without one of a few unappealing actions (wait 24 hours; turn payments on/off; restart the browser).

In order to satisfy users who have just heard about a new UGP promo (e.g. via an announcement, press, social media) and want to immediately accept the token grant, the browser should poll the server to see if a promo is active whenever a user opens payments preferences.

@kjozwiak
Copy link
Member

kjozwiak commented Jan 17, 2018

Is this urgent enough to push into hotfix13 https://github.com/brave/browser-laptop/milestone/98 which includes C64?

@davidtemkin
Copy link
Author

No, I don't think so. For the current promo, it wouldn't help, because more than 24 hours will have passed since the promo went live (i.e., all browsers will poll the server) before any update is released.

@NejcZdovc NejcZdovc added this to the 0.20.x Hotfix 3 (Ledger improvments) milestone Feb 6, 2018
@alexwykoff alexwykoff modified the milestones: 0.20.x Hotfix 3 (Ledger improvments), 0.21.x (Beta Channel) Feb 6, 2018
NejcZdovc added a commit to NejcZdovc/browser-laptop that referenced this issue Feb 9, 2018
bsclifton pushed a commit to NejcZdovc/browser-laptop that referenced this issue Feb 15, 2018
bsclifton added a commit that referenced this issue Feb 15, 2018
Adds promo check when opening payments tab
bsclifton added a commit that referenced this issue Feb 15, 2018
Adds promo check when opening payments tab
bsclifton added a commit that referenced this issue Feb 15, 2018
Adds promo check when opening payments tab
@NejcZdovc NejcZdovc modified the milestones: 0.21.x (Beta Channel), 0.21.x (Twitch) Feb 24, 2018
NejcZdovc pushed a commit that referenced this issue Feb 24, 2018
Adds promo check when opening payments tab
@LaurenWags
Copy link
Member

Removed QA/checked labels due to changes in milestones. Please recheck with 0.21.15 and higher.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.