Skip to content

Conversation

@max-baz
Copy link
Member

@max-baz max-baz commented Sep 9, 2020

Note this implementation doesn't just prevent entering updateMatchingPasswordsCount() function (as I personally initially expected), but only prevents doing what is hopefully the most expensive computation: getting a huge array of files and processing them.

This way, when a user toggles badge option we would refresh the badge instantly, and also if a user puts hideBadge in their .browserpass.json we would detect it within a minute. This also means that tab update handler still executes and it still refreshes settings every minute.

I would be really interested to know if this solves #224, @elprans if you could try this PR it would be much appreciated.

@erayd what do you think in general?

Fixes #224
Fixes #103
Fixes #342
Fixes #348

@erayd
Copy link
Collaborator

erayd commented Sep 11, 2020

@maximbaz Do you need me to do performance testing on this, or have you verified that bit already and just need code review?

@max-baz
Copy link
Member Author

max-baz commented Sep 11, 2020

Performance test would be appreciated, no I don't know for sure that it solves #224

@erayd
Copy link
Collaborator

erayd commented Sep 11, 2020

Sweet, I'll test that aspect first then.

@erayd erayd added feature request New feature request bugfix Fixes something that doesn't work correctly. labels Sep 11, 2020
@max-baz max-baz mentioned this pull request Feb 12, 2024
@max-baz
Copy link
Member Author

max-baz commented Apr 16, 2024

This is very requested feature recently, and multiple people have tested this PR. I've just rebased it on latest master. I think it makes sense to merge it, @erayd would you like to review this before then?

@max-baz
Copy link
Member Author

max-baz commented Dec 17, 2024

I'm going to include this in the upcoming release, hope that's okay :)

@max-baz max-baz merged commit 2685f3d into master Dec 17, 2024
@max-baz max-baz deleted the hide-badge branch December 17, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes something that doesn't work correctly. feature request New feature request

3 participants