-
Notifications
You must be signed in to change notification settings - Fork 975
Add "hide sites if" options to Advanced Options Dialog #4681
Comments
CC @mrose17 |
@luixxiul Looks good except for the drop down style needs the new style. And, the switches at the right are implemented too? |
a few nits:
|
see #6101 |
Would someone help me to implement the switch? I'm trying to hide sites with less than 1%. I added following the other switch in preferences.js:
In js/constants/appConfig:
In js/constants/settings.js:
|
@luixxiul - the routine you want to look at in
underneath that line add these lines
and that should do the trick... good luck! |
@mrose17 thanks! I will check it out ;-) |
I got |
@luixxiul - sorry, |
@mrose17 appreciated! I will create a PR for it 👍 |
@mrose17 I created the PR. Would you please update the code? Thanks! |
Auditor: @bsclifton Fixes #4681 Based on https://github.com/luixxiul/browser-laptop/commit/86c875616085f755e5ced0 421e7bdc9b2b9e601b and #6174, but ported to the 0.12-branch
Merged in the master branch with this: 8ae8eb4 |
not merged in 0.12.15 build |
Test plan: Open about:preferences#payments |
As a user, I want the option to filter/minimize the amount of less important sites in my Brave Payments list.
First option - "Hide sites with less than 1% usage"
This will reduce the total number of sites, and only show sites that have a high probability of receiving a vote on my reconciliation day.
This option is ON by default.
Second option - "Hide sites that I have disabled"
This will keep my list tidy by hiding each site that I have chosen not to include by flipping the include switch.
With this option enabled, the site should disappear from the list view 1 second after I flip the switch to "don't include". If I wish to change or review the sites I have disabled, I can return to advanced settings and change this option to OFF.
This option is OFF by default.
The text was updated successfully, but these errors were encountered: