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

Hide in-line tipping buttons for users who've already hidden the BAT / Brave Rewards icon #13341

Closed
Miyayes opened this issue Dec 30, 2020 · 5 comments · Fixed by brave/brave-core#7655

Comments

@Miyayes
Copy link
Collaborator

Miyayes commented Dec 30, 2020

Description

In a recent update, in-line tipping buttons were made to appear by default in Brave. For users who had already disabled the BAT/Brave Rewards icon in their browser, in-line tip buttons should not have appeared, as those users had already expressed a desire to opt out of Brave Rewards-related features.

Additionally, disabling in-line tipping buttons for these users was made more difficult by the fact that they could not access the Brave Rewards settings page via the usual method: namely, clicking on the very BAT/Brave Rewards icon that they had already hidden.

Proposed solution

For users who have already disabled the BAT/Brave Rewards icon, roll back and hide the in-line tipping buttons.

(Any other expressions of opting out equivalent to disabling the BAT/Brave Rewards icon should also be considered.)

Related discussion

#13222

Some similar reports on Reddit.

@resynth1943
Copy link

So, let's say someone creates a new Brave profile. Judging by the premise of this issue, the advertisements would still be enabled.

What would happen if they then went on to disable the Rewards icon after this feature was enabled? I'm presuming this aspect hasn't been considered; in that case, perhaps it would be wise to have a tete-a-tete with the Rewards Settings to disable this option too?

Any feedback / opinions on this?

@Miyayes
Copy link
Collaborator Author

Miyayes commented Jan 8, 2021

@resynth1943, when you say "new profile" do you mean just a new profile for an existing user, or do you mean a brand new user who's downloaded Brave for the first time?

@emerick I think if a user disables the Brave Rewards/BAT icon, in-line tipping buttons should also be hidden. It should be considered a full opt-out. It would cause the same problem again if they went and disabled the Brave Rewards/BAT icon before going into brave://rewards Tipping settings and disabling the in-line tips.

@resynth1943
Copy link

resynth1943 commented Jan 8, 2021

@Miyayes aren't they the same thing though? Both avenues lead to a fresh profile, so in theory they should emit the same results. I meant both. 🙂 Theoretically speaking they both equate to a new user, too.

That being said, I'm not entirely sure if Rewards should be disabled in new profiles, if the profile they were created from has Rewards disabled. I'll leave that to the Brave team to decide. 🤷‍♂️

@Miyayes
Copy link
Collaborator Author

Miyayes commented Jan 15, 2021

@resynth1943 Thanks for your comments. Just to clarify: a decision was made to have tipping buttons appear by default in Brave. It is a gateway to help new and existing users find and learn about Brave Rewards. However, the buttons should not have appeared for users who had already chosen to hide the Brave Rewards (BAT) icon in the URL bar (which is equivalent to an explicit expression of opting out).

Two things to note:

  1. The Brave Rewards master on/off toggle doesn't exist anymore, so it's kind of anachronistic to speak of "Brave Rewards is disabled". Only individual components in BR have an on/off toggle now (like Brave Ads, which is off by default).

  2. Brave Rewards was always off by default since the beginning. So, speaking of "users who had Brave Rewards disabled" needs to be broken out into two categories: (i) those who enabled Brave Rewards once in their life and then turned it off, and (ii) those who never enabled it from the beginning. (Third category would be users who hid the Brave Rewards icon in the URL bar.)

Category (i) should probably have the tipping buttons hidden too. However, not sure how feasible it would be to go back and try to track those state changes.

Category (ii) fall under the intentional design choice that was made to have the tip buttons appear.

Category (iii) are the ones directly addressed in this issue, and the tip icons should be hidden for them and shouldn't have appeared from the beginning.

It seems like a fresh profile (not new installation) might fall under (i) or (iii), but I think a fresh profile should be really just that: a fresh profile that doesn't carry over any preferences or settings from previous profiles. That would set all their settings/preferences to the defaults. And the defaults would entail tipping buttons showing by default.

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Feb 1, 2021

Verification passed on


Brave | 1.20.93 Chromium: 88.0.4324.96 (Official Build) dev (64-bit)
-- | --
Revision | 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS | Windows 10 OS Version 2004 (Build 19041.746)

Clean profile

Inline tip for Twitter

Ensured Inline tip icon has appeared for Twitter feeds by default when Rewards is enabled
image

Ensured Inline tip icon has appeared for Twitter tweets by default when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for Twitter feeds when Brave Rewards button is hidden via brave://settings/appearance
image

Ensured Inline tip icon hasn't appeared for Twitter tweets when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Reddit

Ensured Inline tip icon has appeared for Reddit by default when Rewards is enabled
image

Ensured Inline tip icon has appeared for Reddit posts by default when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for Reddit feeds when Brave Rewards button is hidden via brave://settings/appearance
image

Ensured Inline tip icon hasn't appeared for Reddit posts when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured inline tip button is shown
Inline tip for Github_stars tab of user profile

Ensured Inline tip icon has appeared for GH stars tab of the user profile when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH stars tab when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Github_commits > branch name

Ensured Inline tip icon has appeared for GH commits page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH commits page when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Github_Issues page

Ensured Inline tip icon has appeared for GH Issues page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH Issues page when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Github_PR page

Ensured Inline tip icon has appeared for GH PR page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH Issues page when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Github_Teams page

Ensured Inline tip icon has appeared for GH PR page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH Issues page when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Github_People page

Ensured Inline tip icon has appeared for GH People page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH People page when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown

Upgrade profile

Hide Rewards in 1.19.88 and then upgrade to 1.20.x
  • Inline tip icon is still shown in 1.19.88 even after hiding rewards via brave://settings/appearance
    image
    image
    image

  • Restart 1.19.x still shows the inline tip icon

  • Upgraded to 1.20.x and ensured Inline tip icon hasn't appeared after upgrade
    image
    image
    image

Do not hide Rewards in 1.19.88 upgrade to 1.20.x
  • Ensured Brave Rewards button is enabled after upgrade
  • Ensured inline tip icon is shown in Twitter/GH/Reddit feeds after upgrade
  • Restart the browser after the upgrade and ensured the inline tip icon is still shown in Twitter/GH/Reddit feeds
Hide Rewards and Tip settings in 1.19.88 and then upgrade to 1.20.x
  • Inline tip is shown for GH/Twitter/Reddit even after hiding rewards and Tip settings in 1.19.88
  • Ensured that inline tip is not shown for GH/Twitter/Reddit after upgrade

Verification passed on

Brave 1.20.97 Chromium: 88.0.4324.96 (Official Build) dev (64-bit)
Revision 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS Ubuntu 18.04 LTS

Clean profile

Inline tip for Twitter

Ensured Inline tip icon has appeared for Twitter feeds by default when Rewards is enabled
image

Ensured Inline tip icon has appeared for Twitter tweets by default when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for Twitter feeds when Brave Rewards button is hidden via brave://settings/appearance
image

Ensured Inline tip icon hasn't appeared for Twitter tweets when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured the inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured the inline tip button is shown
Inline tip for Reddit

Ensured Inline tip icon has appeared for Reddit by default when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for Reddit when Brave Rewards button is hidden via brave://settings/appearance
image

  • Restart the browser and ensured inline tip icon is still not shown
  • Enable the Rewards button via brave://settings/appearance and restart the browser and ensured inline tip button is shown
Inline tip for Github

stars tab of user profile

Ensured Inline tip icon has appeared for GH stars tab of the user profile when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH stars tab when Brave Rewards button is hidden via brave://settings/appearance
image

commits > branch name
Ensured Inline tip icon has appeared for GH commits page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH commits page when Brave Rewards button is hidden via brave://settings/appearance
image

Issues page
Ensured Inline tip icon has appeared for GH Issues page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH Issues page when Brave Rewards button is hidden via brave://settings/appearance
image

PR page
Ensured Inline tip icon has appeared for GH PR page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH Issues page when Brave Rewards button is hidden via brave://settings/appearance
image

Teams page
Ensured Inline tip icon has appeared for GH PR page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH Issues page when Brave Rewards button is hidden via brave://settings/appearance
image

People page
Ensured Inline tip icon has appeared for GH People page when Rewards is enabled
image

Ensured Inline tip icon hasn't appeared for GH People page when Brave Rewards button is hidden via brave://settings/appearance
image

Upgrade profile

Hide Rewards in 1.19.88 and then upgrade to 1.20.x
  • Inline tip icon is still shown in 1.19.88 even after hiding rewards via brave://settings/appearance
    image
    image

  • Upgraded to 1.20.x and ensured Inline tip icon hasn't appeared after upgrade
    image
    image

Do not hide Rewards in 1.19.88 upgrade to 1.20.x
  • Ensured Brave Rewards button is enabled after upgrade
  • Ensured inline tip icon is shown in Twitter/GH/Reddit feeds after upgrade
  • Restart the browser after the upgrade and ensured the inline tip icon is still shown in Twitter/GH/Reddit feeds
Hide Rewards and Tip settings in 1.19.88 and then upgrade to 1.20.x
  • Inline tip is shown for GH/Twitter/Reddit even after hiding rewards and Tip settings in 1.19.88
  • Ensured that inline tip is not shown for GH/Twitter/Reddit after upgrade

Verified using

Brave	1.20.98 Chromium: 88.0.4324.96 (Official Build) beta (x86_64)
Revision	68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS	macOS Version 10.15.7 (Build 19H15)

Verified scenarios listed in brave/brave-core#7655 (comment)

Scenario 1 1. Clean install 1.20.x (Beta). 2. Hid the Rewards icon via settings and restarted the browser. 3. Confirmed after restart in-line tip icons did not show on Twitter, GH, Reddit.
Twitter Reddit GitHub
Twiiter1 Reddit1 GH1
  1. Restarted the browser.
  2. Confirmed in-line tip icons still not shown.
  3. Re-enabled Rewards icon from settings.
  4. Restart the browser.
  5. Confirmed in-line tip icons show on Twitter, GH, Reddit.
Twitter Reddit GitHub
Twitter2 Reddit2 GH2
Scenario 2
  1. Installed 1.19.90 (Release).
  2. Hid the Rewards icon via settings.
  3. Restarted 1.19.x, confirmed in-line tip icons still showed.
Twitter Reddit GitHub
Twitter1 Reddit1 GH1
  1. Upgraded to 1.20.x.
  2. Confirmed in-line tip icons no longer shown on Twitter, GH, Reddit.
Twitter Reddit GitHub
Twitter2 Reddit2 GH2
Scenario 3
  1. Installed 1.19.90 (Release).
  2. Hid the Rewards icon via settings.
  3. Manually hid each in-line tip icon via Tips settings on brave://rewards page.
  4. Restarted 1.19.x, confirmed in-line tip icons not shown.
Twitter Reddit GitHub
1 2 3
  1. Upgraded to 1.20.x.
  2. Confirmed in-line tip icons still not shown on Twitter, GH, Reddit.
Twitter Reddit GitHub
4 5 6
Scenario 4
  1. Installed 1.19.90 (Release).
  2. Confirmed Rewards icon not hidden.
  3. Confirmed in-line tip icons shown on Twitter, GH, Reddit.
Twitter Reddit GitHub
1 2 3
  1. Upgraded to 1.20.x.
  2. Confirmed Rewards icon still visible.
  3. Confirmed in-line tip icons still shown on Twitter, GH, Reddit.
Twitter Reddit GitHub
4 5 6

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

Successfully merging a pull request may close this issue.

7 participants