Skip to content
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

Ads grants notification is shown when Ads switch was OFF #4340

Closed
GeetaSarvadnya opened this issue May 7, 2019 · 8 comments
Closed

Ads grants notification is shown when Ads switch was OFF #4340

GeetaSarvadnya opened this issue May 7, 2019 · 8 comments

Comments

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented May 7, 2019

Description

After upgrade to the latest version, the Ads switch is getting turned OFF automatically. Ads grants and enable Ads notifications are shown on BAT logo. Ads grants notification is not checking Ads switch ON/OFF condition. If Ads is already turned OFF Ads grants notification should not be shown to the user.
Ads switch turned OFF could be User interface issue. Might be it's ON in the backend and Ads grants notification logic is driven based on it (not sure).

Steps to Reproduce

  1. Brave beta 0.63.45 (Ads are viewed on this version - profile was created on 17th April)
  2. Upgrade to 0.64.72
  3. After upgrade Ads switch turned off ( Logged After upgrade to the latest version, Ads switch is turned OFF automatically and unable to turn it ON  #4339)
  4. Click on BAT logo in the URL bar
  5. Two notifications are shown on BAT log
  6. 1st Notification for Ads grants (In the Actual result screenshot I have already viewed notification and
    claimed Ads grants)
  7. Click on the claim and accept Ads grants

Actual result:

Ads grants notification is shown when Ads switch is OFF.

image

image

Expected result:

Ads grants notification should not be shown when Ads switch is OFF

Reproduces how often:

Not sure

Brave version (brave://version info)

Brave 0.64.72 Chromium: 74.0.3729.131 (Official Build) beta (64-bit)
Revision 518a41c1fa7ce1c8bb5e22346e82e42b4d76a96f-refs/branch-heads/3729@{#954}
OS Windows 10 OS Build 17134.523

Version/Channel Information:

  • Can you reproduce this issue with the current release? No
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the dev channel?
  • Can you reproduce this issue with the nightly channel?

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? NA
  • Does the issue resolve itself when disabling Brave Rewards? NA
  • Is the issue reproducible on the latest version of Chrome? NA

Miscellaneous Information:

@brave/legacy_qa @tmancey @rebron

@rebron
Copy link
Collaborator

rebron commented May 10, 2019

cc: @ryanml Related question. Are we showing/prompting Turn on Ads notification after every upgrade if they currently have Ads off. Example user is on 63.55 with Ads Off. See notification and disregards, keeps Ads Off. Upgrades to 64. User shouldn't see Turn on Ads notification again.

Is that right?

@LaurenWags
Copy link
Member

@rebron I tried the following scenario for what you described, here are my steps:

  1. Install 0.62.51
  2. Enable Rewards, verify Ads UI does not allow enabling.
  3. Go to brave://settings/help
  4. Update to 0.63.55 (current release version), relaunch.
  5. Get Notification about Ads. Dismiss it and do not enable Ads. Verify Ads panel does have toggle (US location) to enable if desired.
  6. Update on test channel to 0.64.74. --> No notification to try Ads is observed. Ads are still off on brave://rewards page.

@tmancey
Copy link
Contributor

tmancey commented Jul 10, 2019

@LaurenWags @mandar-brave @jsecretan @GeetaSarvadnya @alexwykoff I agree Ads being turned off was a bug but another ticket was created. However if a user did turn off ads, should they still not receive ad grants for previous reward earnings? As if so, this ticket can be closed

@kjozwiak
Copy link
Member

@tmancey agreed about users still receiving ad grant notifications for previous reward earnings even though they have ads disabled, but I think the above issue is about the Turn on Ads notification appearing after several upgrades even though the user dismissed the notification on a previous upgrade. We shouldn't be asking users to turn on ads every time they upgrade. However, it doesn't seem like @LaurenWags could reproduce it via #4340 (comment).

@tmancey
Copy link
Contributor

tmancey commented Jul 15, 2019

@kjozwiak This has been resolved as part of the refactor for #5153. @LaurenWags @GeetaSarvadnya could you please check this issue as part of #5153

@tmancey tmancey added the priority/P2 A bad problem. We might uplift this to the next planned release. label Jul 17, 2019
@tmancey
Copy link
Contributor

tmancey commented Oct 29, 2019

@LaurenWags Can this issue please be retested as part of #6612 when merged

@tmancey
Copy link
Contributor

tmancey commented Nov 29, 2019

Closing issue to be retested as part of #6612 (6612 for users who had ads disabled will see on-boarding again as a one-off. This was discussed with @jsecretan due to migration)

@LaurenWags
Copy link
Member

LaurenWags commented Jan 2, 2020

Verified passed with

Brave 1.2.40 Chromium: 79.0.3945.88 (Official Build) (64-bit)
Revision c2a58a36b9411c80829b4b154bfcab97e581f1f3-refs/branch-heads/3945@{#954}
OS macOS Version 10.14.6 (Build 18G103)

Verification passed on

Brave 1.2.40 Chromium: 79.0.3945.88 (Official Build) (64-bit)
Revision c2a58a36b9411c80829b4b154bfcab97e581f1f3-refs/branch-heads/3945@{#954}
OS Windows 10 OS Version 1803 (Build 17134.1006)

Verification passed on

Brave 1.2.40 Chromium: 79.0.3945.88 (Official Build) (64-bit)
Revision c2a58a36b9411c80829b4b154bfcab97e581f1f3-refs/branch-heads/3945@{#954}
OS Ubuntu 18.04 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants