-
Notifications
You must be signed in to change notification settings - Fork 877
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
Update BAP UI #7698
Update BAP UI #7698
Conversation
b0cba21
to
d69445f
Compare
d69445f
to
3ebed27
Compare
f01d9c0
to
becff2b
Compare
Added two browsertests to cover code in |
d75e4fb
to
48559c5
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
a032a38
to
d5ba97d
Compare
d5ba97d
to
84d9eb6
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++
looking in from a time expediency lens, this tooltip notice should suffice. One quick thought though @zenparsing is perhaps to use our existing blue tooltip for the phased welcome tour for new users but that might be out of reach for this. In any case this will work fine, great job! |
Testing of this on Nightly is blocked by brave/brave-browser#14092. Discussed with @zenparsing so he is aware. Unable to get BAP so I can't check scenarios 2 and 3. cc @Miyayes @kjozwiak |
Verified using
Verified test plan from #7698 Scenario 1: Non-JP RegionsChecked with US/English and France/French Confirmed able to claim promotion:
Confirmed BAP popup does not appear on NTP:
Confirmed BAP alert does not display on NTP when system date is set to 2021-03-06:
Confirmed wallet balance is not zero when system date is set to 2021-03-13:
Scenario 2: JP RegionChecked with Japan/English and Japan/Japanese. Note, issue encountered where Japanese translations are missing, logged with brave/brave-browser#14117. Open NTP with zero BAP balance. Confirmed no BAP popup.
Confirmed able to claim UGP grant, balance is now non-zero (30 BAP)
Confirmed BAP popup displays when there is a non-zero BAP balance:
Confirmed clicking outside of the BAP popup closes the popup (there is no "x" to close).
Confirmed able to close the BAP alert via "OK". Confirmed when computer date is 2021-03-06 and first NTP is opened, the BAP alert is displayed and the BAP popup is not:
Confirmed able to close the BAP alert via "OK". Confirmed when computer date is 2021-03-13 and first NTP is opened, the BAP popup and alert are not displayed.
Encountered the following while testing Scenario 2
Scenario 3: JP Region (Promotions)Checked with Japan/English. Confirmed when date = 2021-03-13, no promotions are fetched.
Saw the below item in my logs:
Checked with US/English. Confirmed when date = 2021-03-13, promotions are fetched.
Saw the below in my logs:
|
Resolves brave/brave-browser#13701
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:
Text and design for popup:
Note: due to technical limitations we were unable to render rounded borders and the bubble arrow:
Text and design for alert:
Scenario 1: Non-JP Regions
Scenario 2: JP Regions
Scenario 3: JP Regions (Promotions)