Brave-browser: [Desktop] move brave://adblock/ to brave://settings/shields

Created on 24 Mar 2020  路  9Comments  路  Source: brave/brave-browser

Description

Move brave://adblock/ to brave://settings/shields.

Designs

In the Shields panel on the Settings page:

  • Look & feel section is moved to the top to include choosing Shields default view (Separated to https://github.com/brave/brave-browser/issues/10502)
  • Show the number of blocked items on the Shields icon is moved above choosing Shields default view (Separated to https://github.com/brave/brave-browser/issues/10502)
  • Customize tracking filters is added as a line item underneath Block cross-site trackers

image

Clicking on Customize tracking filters shows a drill-down page that contains the functionality of the previous brave://adblock page:

image

Filter list content will be cleaned up in https://github.com/brave/adblock-rust/pull/79

Subscribe to filter lists

After the user clicks on "Add filter list via URL", a form field appears with "Submit" and "Cancel":

image

Built-in error validation for the field specifies entry must start with https://

image

Submitting the filter list URL will add the filter list to a table with a toggle to enable/disable and available actions:

  • Update now
  • View website
  • View source
  • Unsubscribe

image

If the user enters a filter list that is invalid or unavailable, the table entry shows the filter as Download failure with no toggle available:

image

Custom filters

After the user enters a custom filter in the textbox, a saved timestamp appears when the custom filters textbox loses focus:

image

The timestamp shows relative time for last saved..ago:

  • Saved
  • Last saved a few seconds ago
  • Last saved a minute ago
  • Last saved a few minutes ago
  • Last saved an hour ago
  • Last saved a few hours ago
  • Last saved a day ago
  • Last saved mm/dd/yy 00:00

image

image

Dark theme

Dark theme is supported:

image

Assets

Figma for css, sizing, layout: https://www.figma.com/file/tLXWGCpNoiJxDZDdpfordj/Desktop-Settings?node-id=2%3A0

Refer to the menu spec for light/dark theme coloring of the dropdown menu: https://www.figma.com/file/z9wmg2FCwuXx9FLbDo5avJ/Platform-UI-Brave-desktop?node-id=135%3A345

ODesktop featursettings featurshields featurshieldadblock prioritP3

Most helpful comment

@tomlowenthal,
I'd love to make a nicely formatted copy of this cheat sheet on our Help Center. I feel like we should be linking to our own sources as much as possible (even if "our source" is just a reformatting of something that already exists).

Will write up a draft and share here if interested 馃憤

All 9 comments

@tomlowenthal Can you help fill out some content on the new adblock page?

  • Regional and specific filters now have a one-line description underneath
  • Custom Filters now have a one-line description underneath
  • Each filter now has a one-line description of what they are best used for underneath
  • Regional and specific filters: "These filters block regional and language-specific trackers and annoyances."
  • Custom filters: "Get technical by adding your own specific filters. Make sure to use _Adblock Plus syntax_." where "Ablock Plus syntax" links to https://adblockplus.org/filter-cheatsheet (unless we want to duplicate that page in our own documentation site, cc @Brave-Matt ).

@tomlowenthal,
I'd love to make a nicely formatted copy of this cheat sheet on our Help Center. I feel like we should be linking to our own sources as much as possible (even if "our source" is just a reformatting of something that already exists).

Will write up a draft and share here if interested 馃憤

@karenkliu Can you update the design section as it relates to https://github.com/brave/brave-browser/issues/9975 I think #9975 has the more recent work.

@rebron Yep, thanks for catching that. Updated!

cc: @pes10k

Hello, is the new interface for Brave Shield going to be on the Nightly version soon?

@Furax-31 while we have some designs, no work has started yet

Was this page helpful?
0 / 5 - 0 ratings