-
Notifications
You must be signed in to change notification settings - Fork 975
Update / restyle for Preferences > Payments #5494
Comments
Some how Thanks for helping support your favorite website! doesn't sound right. Instead can it be Thanks for your help in supporting your favorite website! @bsclifton @bradleyrichter Thoughts ? |
@srirambv How about the above string? "Thanks for supporting your favorite websites!" |
Yes that sounds better 👍 |
@bradleyrichter anything else needed before we can start this one? |
This is good to go until we add the ability to add an individual site. |
yep it's in 0.12.11! |
@mrose17 Is there an endpoint in ledger-client for blacklisting a site? |
there is no concept of "black-listing". there is a concept of an exclusion list. there are two, each browser has a private exclusion list (right click on a site on about:preferences#payments and select "Never include this site". there is also a global exclusion list, that is under review. |
@mrose17 Ok this ticket looks to be calling for a feature that doesn't exist then? + @bsclifton |
i think you should DM @bsclifton and @bradleyrichter to see what they are looking for... |
The "blacklist" column on the left is simply a more-accessible shortcut to the already existing context-menu for "never include this site": This function is used for sites in which a user does not want to ever pay, or perhaps even see in their list. One example would be for a site that we have not added to our global exclude list yet but the user spend time there daily. Youtube Red might be a good example. Or an offensive click-bait site that was visited using a shared computer and user-A prefers that user-B does not see that the site was visited. |
@jkup this would be a new feature 😄 There is something similar (but it's not done yet) which you can check out in |
@bsclifton ah ok cool.. how should I implement this? Do we add some global state for blacklistedSites or something like that? And then just check against that when we display the ledger table? |
@jkup I think showing the FontAwesome Ban icon on hover and then executing the same code that is executed when picking "Never include this site" would do the trick 😄 No new functionality needed per-se, since you can already right click one by one, but offering a button as the first column will make it very easy to process your list |
Ohhhhhh ok ok ok ok got it! |
This "quick remove" column came from the original history makeover design. Ideally we can use it there as well. It should work in a similar way to the the search engine prefs default column except that the hover state also shows the "no" symbol and clicking removes it from the list. |
Issue is resolved with #6101, which is ready for merge (after 0.13.0 ships). Milestone is already set and is correct. |
Fixed with #6101 which was merged into branch Test Plan:
|
Starting off with a picture (courtesy of @bradleyrichter)
Style updates include:
New functionality:
(for blacklisting sites that you don't want to see regardless of their include/exclude state)
The text was updated successfully, but these errors were encountered: