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

Add ability to turn off badge on icon #103

Open
anna-is-cute opened this issue Apr 14, 2019 · 13 comments · May be fixed by #230
Open

Add ability to turn off badge on icon #103

anna-is-cute opened this issue Apr 14, 2019 · 13 comments · May be fixed by #230
Assignees
Labels
feature request New feature request

Comments

@anna-is-cute
Copy link

anna-is-cute commented Apr 14, 2019

General information

  • Operating system + version: Ubuntu 18.10
  • Browser + version: Firefox Nightly 68.0a1 (2019-04-08) (64-bit)
  • Information about the host app:
    • How did you install it? pre-built binary
    • If installed an official release, put a version Browserpass host app version: 3.0.6
  • Information about the browser extension:
    • How did you install it? AMO
    • Browserpass extension version as reported by your browser: 3.0.9

Exact steps to reproduce the problem

  1. Install the extension

  2. Open a domain with saved passwords

What should happen?

The ability to turn off the icon badge should exist.

image

The first thing I do is turn this off on any extension.

What happened instead?

It doesn't or is buried somewhere hard to find.

@erayd
Copy link
Collaborator

erayd commented Apr 14, 2019

@jkcclemens Thanks for your issue report.

Are you able to explain your reasoning in a bit more detail? I'm open to considering it, but that also needs to be balanced against a desire to keep the options screen simple. If we can better understand why you would want to do this, then we can make a properly informed decision.

@anna-is-cute
Copy link
Author

It's inconsistent design with the rest of my browser. The rest of the icons that I keep visible because they're useful have options to turn this off, and I have.

image

Also, it just looks ugly to me.

Aesthetics aside, I gain nothing from the number functionally. I know what sites I have accounts on. If I didn't, I wouldn't be interested in the number of accounts, only if I had one, which could be represented by icon colour (which I would also want to be able to turn off).

It also obscures the icon and makes it harder for me to immediately recognise.

Really, though, there's no reason not to add this option. For what it's worth, literally every other addon I have installed with a badge has the option to turn it off.


CanvasBlocker
image
uBlock Origin
image
Stylus
image
HTTPS Everywhere
image
Privacy Badger
image
Decentraleyes
image

@erayd
Copy link
Collaborator

erayd commented Apr 14, 2019

Thanks - that all makes sense.

@maximbaz - do you have a strong opinion either way on this? I'm personally happy for us to add this option.

@maximbaz
Copy link
Member

Hey, thanks for the feedback!

To be honest, I'm not sold on this yet, I'd rather see this energy put into lobbying Firefox to improve their design of the badge icon than asking every single extension to provide a new option. For example in Chromium the badge is smaller and positioned in a way that doesn't obscure icons, looks quite good IMHO.

Aesthetics aside, I gain nothing from the number functionally. I know what sites I have accounts on. I know what sites I have accounts on. If I didn't, I wouldn't be interested in the number of accounts, only if I had one, which could be represented by icon colour (which I would also want to be able to turn off).

We can also argue that a presence of badge is our indication of whether you have an account or not, only it's multi-functional and in addition it shows a number of matches to those who need it.

There are valid scenarios to want this functionality, for example if you know that you have two accounts on a current website, but see 3 or no badge at all, this should trigger a suspicion in you to double-check the current domain, in case you are being a victim of a phishing attack right now.

Really, though, there's no reason not to add this option. For what it's worth, literally every other addon I have installed with a badge has the option to turn it off.

I treat options with great care, in my opinion we shouldn't be adding new options unless there are very good reasons to do so. Every single option that we have right now was carefully considered, and that's how we managed to keep the options simple, I think we should consider this trend. (Also, after the OTP thread I became quite immune to the arguments like "everyone is jumping from a cliff, so we should make it possible too" 😝)

I'm open to leave this issue open, see the number of upvotes and hear additional feedback, but I propose to not do this for now. If you file a bug for browser to improve the design of the badge, feel free to post a link here.

@maximbaz maximbaz added the discussion Community discussions label Apr 14, 2019
@erayd
Copy link
Collaborator

erayd commented Apr 14, 2019

@jkcclemens We decided to do it, but it won't be merged until after I've redone the options screen layout / CSS. If you're interested in trying it out in the meantime, you can install from the PR branch of #105.

@anna-is-cute
Copy link
Author

Glad to see it was decided to be done.

@maximbaz

I'd rather see this energy put into lobbying Firefox to improve their design of the badge icon than asking every single extension to provide a new option.

This would be great, but also you would have been actively hurting my experience because you think it should be Firefox, not the extension authors, who should control this. That is not reality (though I agree it would be great if it was), and it would be nice to provide this option until it becomes reality, which it looks like you will be doing!

(Also, after the OTP thread I became quite immune to the arguments like "everyone is jumping from a cliff, so we should make it possible too" stuck_out_tongue_closed_eyes)

If everyone's doing it, I think it warrants a consideration of why they are. In this case, it's because it's a good idea to let users turn off a UI element that they don't want.

Thanks, @erayd, I'll try out the PR branch and look for any potential issues. :)

@maximbaz
Copy link
Member

Yep, we talked a lot about this offline (so it wasn't a rushed decision) and concluded that this request together with the "light theme" would be reasonable configurations to provide for a user interface. Enjoy 🙂

@mcnesium
Copy link

Thumbs up everyone :)

Though this is solved already, I would like to add an argument for this option: as a friend of explaining problems through providing a screenshot, I often do so with the entire browser window (e.g. because the current URL is important, or whatever). In this case I would either have to temporarily remove the icon first, or otherwise expose the number of accounts I have on this site to the public. This sounds like being a theoretical problem and in 99% it propably is, but there could be this one incident where an information like this leads to the world imploding (see Butterfly effect). I am sure you wouldn't want to be guilty of this, just to keep the code simple, right? ;-)

Thank you everyone who's involved in this!

@DamienCassou
Copy link

DamienCassou commented Apr 17, 2019

I am sure you wouldn't want to be guilty of this, just to keep the code simple, right? ;-)

You made me laugh, thank you :-). To be fair with the maintainers though, I think keeping the code simple is not the only reason; keeping the preference UI simple is probably another good one in my opinion. I like the fact that Firefox has a simple preference UI and still gives full control through about:config. It would be cool that extensions could benefit from about:config too.

I opened an issue on bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1545035.

@maximbaz maximbaz added feature request New feature request and removed discussion Community discussions labels Apr 30, 2019
@erayd erayd self-assigned this Aug 31, 2019
@jplitza
Copy link

jplitza commented Nov 13, 2019

I would like to add another reason: Performance.
I use a password store with over a thousand passwords. The badge triggers a search in this store every time a page loads. This slowed down my whole browsing experience to the point of me wanting a new CPU, until I noticed that disabling browserpass solved the problems and increased each page load by at least 1 second.

(You could argue that search performance should be optimized instead, and sure enough I'd agree. But you can only optimize it so much, and the bade will always add delay.)

@maximbaz
Copy link
Member

Hi there 👋 Would you be able to share some details about your environment, by creating a separate issue and filling out the template? Not saying "no" to this request (that's why the issue is open!), but I'd also like to optimize Browserpass, so that other people can enjoy fast browsing even with the badge enabled. It is also the same code path that fetches logins to count passwords for the badge and to draw a list of logins in the popup, so I assume opening popup is just as slow for you, and I'd like to improve that if I can.

@jplitza
Copy link

jplitza commented Nov 13, 2019

@maximbaz Sure thing! #194

@anna-is-cute
Copy link
Author

Wow, I forgot about this issue since it's two years old! I've been running my own version of the extension to turn off the badge and completely forgot that I was doing that until I moved to a new computer. I see that #230 now exists to implement this feature, but it seems it's had no activity for about a year. Is there any word on this? I appreciate your work on this! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Development

Successfully merging a pull request may close this issue.

6 participants