Browser-laptop: Option to disable blocked count badge (on Lion)

Created on 1 May 2017  ยท  13Comments  ยท  Source: brave/browser-laptop

Test plan

https://github.com/brave/browser-laptop/pull/8701#issue-226397341


Kindly add an option to disable the badge.

Qchecked-Linux Qchecked-Win64 Qchecked-macOS Qtest-plan-specified bugood-first-bug release-noteinclude settings suggestion

Most helpful comment

@bsclifton I would like to pick this up :) I agree with @midi .There should be option to disable the blocked count badge. Can we have input on where to put option to disable it? Thanks

All 13 comments

@midi you'd like to hide the number that's on the Lion? or hide the Lion icon all-together?

@bsclifton Oh I mean the badge number. It doesn't serve a purpose to me, it's just visual clutter. Hence my surprise that it couldn't even turned off.
I'm aware of the Lion menu to turn off blocking things in case a site doesn't work.

@midi OK awesome, thanks! ๐Ÿ˜„ Love your name, BTW. I remember the old days on the internet (mid-90's) when people would embed MIDIs on their sites โค๏ธ

cc: @bradleyrichter

@bsclifton I would like to pick this up :) I agree with @midi .There should be option to disable the blocked count badge. Can we have input on where to put option to disable it? Thanks

I think we should put it in the shields prefs page to avoid clutter-growth in the panel.

[off/on] Display block count badge on shields button

On May 3, 2017, at 12:38 AM, Kumar Rishav notifications@github.com wrote:

@bsclifton I would like to pick this up :) I agree with @midi .There should be option to disable the blocked count badge. Can we have input on where to put option to disable it? Thanks

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@kumarrishav perfect! a few pointers:

  • A string will need to be chosen for the setting name. see here for an example. The setting should default to true so that we keep our existing behavior
  • A constant should be created for the setting. see here for an example. Notice the value is the string from the first change
  • Like @bradleyrichter said, the Shields tab would be the best place ๐Ÿ˜„ You can find the code here

@kumarrishav since you've been doing such a great job (all the bug fixes / PRs you've submitted recently), I added you officially to browser-laptop as a contributor! ๐Ÿ˜„

Once you accept the invitation, you should be able to assign yourself issues and also add/remove labels from issues. GitHub doesn't have granular permissions, so please keep in mind that you also will have write access to the repository. With great power comes great responsibility ๐Ÿ˜„

Thanks @bsclifton .

Mock for this option

image

cc @bradleyrichter

Left a comment in PR as well https://github.com/brave/browser-laptop/pull/8701#issuecomment-299307305

@kumarrishav I think it's doing the opposite of whatever its set for. If enabled, we should see the counter.

@philkloose yeah. It behaves like that only. If enabled then it will show the counter

@kumarrishav Oh, I'm wrong, it works exactly as it should. Carry on!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bbondy picture bbondy  ยท  3Comments

briannyeko picture briannyeko  ยท  3Comments

luixxiul picture luixxiul  ยท  3Comments

mykkymk picture mykkymk  ยท  3Comments

luixxiul picture luixxiul  ยท  3Comments