-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Shields v2 UI Refresh #18630
Comments
Verification PASSED on
1. Clean profileCompare v1 and v2 local site shield settings count Case 1: Adblocking_Local site shiled settings_PASSED
Case 1:
Case 2:
Case 3:
Case 2: Fingerprintblocking_Local site shiled settings_PASSED
Case 1:
Case 2:
Case 3:
Case 3: Block cookies_Local site shiled settings_PASSEDCase 1:
Case 2:
Case 3:
Case 4: Upgrade connection to HTTPS_Local site shiled settings_PASSEDCase 1:
Case 2:
Case 5: Block scripts_Local site shiled settings_PASSED
Compare v1 and v2 Global shield settings count Case 1: Adblocking_Global site shiled settings_PASSEDCase 1:
Case 2:
Case 2: Fingerprintblocking_Global site shiled settings_PASSEDCase 1:
Case 2:
Case 3: Block cookies_Global site shiled settings_PASSEDCase 1:
Case 2:
Case 4: Upgrade connection to HTTPS_Global site shiled settings_PASSEDCase 1:
Case 2:
Case 5: Block scripts_Global site shiled settings_PASSEDCase 1:
Case 2:
2. Upgrade profileLocal site shield settings Case 1: Adblocking_Local site shiled settings_PASSEDCase1: Default settings upgrade
Case 2: Change Adblocking to "Allow" and then upgrade
Case 3: Change Adblocking to "Aggressive" and then upgrade
Case 2: Fingerprintblocking_Local site shiled settings_PASSEDCase1: Default settings upgrade
Case 2: Change Fingerprinting to "Allow" and then upgrade
Case 3: Change Fingerprinting to "Aggressive" and then upgrade
Case 3: Block cookies_Local site shiled settings_PASSEDCase1: Default settings upgrade
Case 2: Change block cookies to "Allow" and then upgrade
Case 3: Change block cookies to "Aggressive" and then upgrade
Case 4: Upgrade connection to HTTPS_Local site shiled settings_PASSEDCase 1:
Case 2:
Case 5: Block scripts_Local site shiled settings_PASSEDCase 1:
Case 2:
Global shield settings Case 1: Adblocking_Global site shiled settings_PASSEDCase1: Default settings upgrade
Case 2: Change Adblocking to "Allow" in global settings and then upgrade
Case 3: Change Adblocking to "Aggressive" and then upgrade
Case 2: Fingerprintblocking_Global site shiled settings_PASSEDCase1: Default settings upgrade
Case 2: Change Fingerprinting to "Allow" and then upgrade
Case 3: Change Fingerprinting to "Aggressive" and then upgrade
Case 3: Block cookies_Global site shiled settings_PASSEDCase1: Default settings upgrade
Case 2: Change block cookies to "Allow" and then upgrade
Case 3: Change block cookies to "Aggressive" and then upgrade
Case 4: Upgrade connection to HTTPS_global site shiled settings_PASSEDCase 1:
Case 2:
Case 5: Block scripts_Local site shiled settings_PASSEDCase 1:
Case 2:
5. Site shield settings in Private windowCase 1: Per site shiled settings are propagated to private windows_PASSED
Case 2: Updated global shiled settings are propagated to Private windows_PASSED
Case 3: Verify that updated per site shield settings in Private window are NOT propagated to Normal window_PASSED
6. Verify disable per site shield settings propagated to all the tabsCase 1: Disable local shield settings for a site A_PASSED
Case 2: Disable global shield settings for a site A_PASSED
Case 3: Turn OFF the per site shield switch_PASSED
7. Verify disable per site shield settings propagated to all the windowsCase 1: Disable local shield settings for a site A in window 1_PASSED
Case 2: Disable global shield settings for a site A_ in windows 1_PASSED
Case 3: Turn OFF the per site shield switch_PASSED
8. Verify change per site shield settings propagated to all the tabsCase 1: Change local shield settings for a site A_PASSED
Case 2: Changed global shield settings for a site A_PASSED
9. Verify change per site shield settings propagated to all the windowsCase 1: Change local shield settings for a site A_PASSED
Case 2: Changed global shield settings for a site A_PASSED
10. Verify
|
Verification
opened #22214
ex1|overflow scrollbar|adblockcount>3digit
Case 1: Verified Default Setting `OFF` for `Block scripts
Case 1: Verified `Block scripts` with Toggle `ON`
Case 1: Verified `Block fingerprinting` as a default
Case 2: Verified `Aggressive block fingerprinting` as an option
Case 3: Verified `Allow Fingerprinting` as an option
Case 1: Verified when `Speedreader mode` `OFF` Shields block work as expected
Case 2: Verified when `Speedreader mode` `ON`, no count displayed on Shields
|
Verification
and
1. Clean profile - PASSEDCompare v1 and v2 local site (panel) Shield settings count Case 1: Ad-blocking local site Shields settings - PASSED
Case 1:
Case 2:
Case 3:
Case 2: Fingerprint blocking - local site Shields settings - PASSED
Case 1:
Case 2:
Case 3: Block cookies - local site Shields settings - PASSEDCase 1:
Case 2:
Case 4: Upgrade connection to HTTPS Local site Shields settings - PASSEDCase 1:
Case 2:
Case 5: Block scripts - local site Shields settings - PASSEDCase 1:
Case 2:
2. Upgrade profile - PASSEDLocal site Shields settings Case 1: Ad-blocking - local site Shields settings - PASSED
Case 2: Fingerprint blocking - local site Shields settings - PASSED
Case 3: Block cookies - local site Shields settings - PASSED
Global Shields settings Case 1: Ad-blocking - global site Shields settings - PASSED
Case 2: Fingerprint blocking - global site Shields settings - PASSED
Case 3: Block cookies - global site Shields settings - PASSED
3. v2 Shields UI - PASSED(see detailed tests elsewhere, in their respective sections. Covered by @GeetaSarvadnya in-depth, as well as through our filed issues. Reviewed by Design and Product teams.) 4. v2 Shields
|
Figma |
1.38.103 |
Dark |
---|---|---|
5. Site Shields settings in Private window - PASSED
Case 1: Changes made in Shields settings for a site in the normal window are retained in the Private window for the same site - PASSED
- Clean profile
1.38.x
- Open
cnn.com
in a normal window - Change the local site Shields settings for
cnn.com
: -
Block the scripts
2.Aggressively block trackers and ads
3.Block fingerprinting
4.Block cross-site cookies
- Open a Private window and load
cnn.com
- Confirmed the CNN site Shields settings are retained in the Private tab
Normal window | Private window |
---|---|
Case 2: Updated global Shields settings are propagated to Private windows - PASSED
- Clean profile
1.38.x
- Change the global Shield settings
- Open
espn.com
and confirm global Shields settings are retained in the normal window - Open the Private window and open
espn.com
- Confirmed that the global Shields settings are retained in the Private tab
brave://settings |
normal window | Private window |
---|---|---|
Case 3: Verify that updated per-site Shields settings in Private windows are NOT propagated to normal windows - PASSED
- Make changes to Shields settings in the Private tab (e.g.
Allow ads & trackers
) - Go to the normal window and open
CNN.com
and confirm Shields settings changes are NOT retained in normal window
Private window | Normal window |
---|---|
6. Verify disabling per-site Shields settings propagates to all the tabs - PASSED
Case 1: Disable local Shields settings for a site - PASSED
- Clean profile
1.38.x
- Open
ew.com
in a normal window - Click on the Shields icon in the URL bar
- Click on
Advanced controls
- Toggle
Upgrade connections to HTTPS
toOFF
- Confirm the page reloads and the option is disabled
- Open another instance of
ew.com
in a new tab - Click on the Shields icon in the URL bar
- Click on
Advanced controls
- Confirm
Upgrade connections to HTTPS
isOFF
first tab (window) | second tab |
---|---|
Case 2: Disable global Shields settings for a site - PASSED
- Clean profile
1.38.x
- Open
mapquest.com
in a normal window - Confirm you get a notice about using an adblocker; no ads are shown
- Open
brave://settings/shields
- Set
Trackers & ads blocking
toDisabled
- Reload the page
- Confirm ads display
- Open
mapquest.com
in a new window - Confirm ads displays
example | example | example | example |
---|---|---|---|
7. Verify disabling per-site Shields settings propagates to all the windows - PASSED
Case 1: Shields off/down
- Clean profile
1.38.x
- Open
wired.com
in a normal window - Click on the Shields icon in the URL bar
- Toggle
Shields
toDOWN
- Open
wired.com
in another normal window - Confirm Shields are set to
DOWN
- Confirm content loads; no blocked resources
first window | second window |
---|---|
8. Verify changing per-site Shields settings propagates to all the tabs - PASSED
- Clean profile
1.38.x
- Open
sfgate.com
in a normal window - Click on the Shields icon in the URL bar
- Click on
Advanced controls
- Toggle
Block scripts
toON
- Confirm page reloads with no content
- Open
sfgate.com
in a new tab - Confirm the new tab loads without content
- Confirm
Block scripts
is still set toON
in the new tab
first tab | second tab |
---|---|
9. Verify changing per-site Shields settings propagates to all the windows - PASSED
- Clean profile
1.38.x
- Open
twitch.tv
in a normal window - Click on the Shields icon in the URL bar
- Click on
Advanced controls
- Toggle
Block scripts
toON
- Confirm page reloads with no content
- Open
twitch.tv
in a new, normal window - Confirm the new window has no content
- Confirm
Block scripts
is still set toON
in the new window
first window | second window |
---|---|
Issues encountered during testing:
Usability:
Shields panel doesn’t always update after dark/light color change
: Shields panel doesn't always update immediately upon light/dark-mode toggle #22389Ellipsize/wrap long domains in the panel
: Ellipsize and/or better-wrap long ETLD+1 URLs in the panel #22363Block scripts heading label should read: Blocked scripts
Block scripts
heading label should readBlocked scripts
#22364Incorrect favicon is shown when the Shields toggle is turned "
OFF"
: Incorrect favicon is shown when the shield toggle is turned OFF and ON #22415blocked trackers and ads count is shown when Shields are down
: blocked Trackers and ads count is shown when the shield is down #22422
Bugs:
HTTPSE upgrades not working with Chromium 101
: HTTPSE upgrades not working with Chromium 101 #22503 (regression
)Shields v2 broken for IPFS/IPNS schemes
: Shields v2 broken for IPFS/IPNS schemes #22496 (regression
)should be disabled for magnet: URLs
: Shields should be disabled for magnet links #22428shouldn’t be available for HTTP 204 URLs
: Shields shouldn't be available for HTTP 204 URLs #22361
Verification passed on
Done some exploratory testing per talk with @LaurenWags |
After this update the ability to allow individual scripts via Shield is gone. Is this supposed to happen? |
Yes, the ability to |
Good thing, that it is possible to revert back to v1 without version rollback - |
@palianskas thanks for this. This change is indeed retrograde in my eyes. Why would you want that? |
- Added the ability to redirect an AMP page to its canonical non-AMP version. ([#20458](brave/brave-browser#20458)) - Added "Select network" field in the Brave Wallet "Add custom asset" modal. ([#21656](brave/brave-browser#21656)) - Added isBraveWallet property to window.ethereum. ([#21949](brave/brave-browser#21949)) - Added the ability to copy Brave Wallet transaction hash from "Transactions" on the "Portfolio" page. ([#19886](brave/brave-browser#19886)) - Added confirmation screen after transaction is approved for Brave Wallet. ([#21733](brave/brave-browser#21733)) - Added bottom padding to the Brave Wallet swap container. ([#21340](brave/brave-browser#21340)) - Added loading skeletons for various areas within Brave Wallet. ([#21339](brave/brave-browser#21339)) - Implemented balance updater interval for Brave Wallet. ([#21304](brave/brave-browser#21304)) - Updated design for Brave Shields. ([#18630](brave/brave-browser#18630)) - Updated IPFS node to go-ipfs v0.12.0. ([#21219](brave/brave-browser#21219)) - Updated adblocking to execute all cosmetic scriptlets even if one fails. ([#21932](brave/brave-browser#21932)) - Updated wording on Brave Wallet backup reminder banner. ([#21312](brave/brave-browser#21312)) - Updated Brave Wallet swap capability to prevent unnecessarily encountering "Too many decimal places" error. ([#21527](brave/brave-browser#21527)) - Updated URL for Brave Wallet Ropsten Test Faucet network. ([#21240](brave/brave-browser#21240)) - Updated Brave Wallet password field to be cleared when an incorrect password is entered. ([#21010](brave/brave-browser#21010)) - Updated "Portfolio" page of Brave Wallet to return all EVM network tokens. ([#20854](brave/brave-browser#20854)) - Updated UI to increase spacing between "Assets" and "Transactions" on "Accounts" subview page of Brave Wallet. ([#21532](brave/brave-browser#21532)) - Updated link text color to blue for Brave Wallet onboarding screen. ([#20302](brave/brave-browser#20302)) - Updated alignment of options available from the Brave Wallet "More" menu. ([#19680](brave/brave-browser#19680)) - Renamed "Monthly Contributions" to "Monthly Tips" for Brave Rewards. ([#20564](brave/brave-browser#20564)) - Removed redirect after adding an account to Brave Wallet from the portfolio asset details screen. ([#19138](brave/brave-browser#19138)) - Removed referral code from P3A reports. ([#21460](brave/brave-browser#21460)) - Fixed unexpected storage cleanup on site close when "Clear cookies and site data when you close all windows" is enabled under brave://settings/cookies. ([#22493](brave/brave-browser#22493)) - Fixed unblocked cookie consent dialogs on some websites when the brave://flags/#brave-adblock-cookie-list-default is enabled. ([#22032](brave/brave-browser#22032)) - Fixed inability to solve Brave Rewards CAPTCHA in certain cases. ([#22180](brave/brave-browser#22180)) - Fixed inability to import MetaMask wallet to Brave Wallet. ([#22492](brave/brave-browser#22492)) - Fixed failed second sign request (eth_signTypedData_v4) for Loopring.io L2 activation when using Brave Wallet. ([#22070](brave/brave-browser#22070)) - Fixed data on "Portfolio" page of Brave Wallet not being properly displayed due to parsing error. ([#21941](brave/brave-browser#21941)) - Fixed broken placeholder icons for ERC721 tokens on Brave Wallet "Account" page. ([#21549](brave/brave-browser#21549)) - Fixed "JSON data is not expected" when trying to import a crypto wallet into Brave Wallet in certain cases. ([#19526](brave/brave-browser#19526)) - Fixed Brave Wallet network selector list being partially blurred on page load. ([#21423](brave/brave-browser#21423)) - Fixed Brave Wallet "Add Custom Asset" modal incorrectly being populated with previously added custom token details. ([#21337](brave/brave-browser#21337)) - Fixed EIP-1559 gas oracle incorrectly firing on non-EIP-1559 networks for Brave Wallet. ([#21107](brave/brave-browser#21107)) - Fixed Brave Wallet percentage selector remaining selected when input value was updated. ([#20315](brave/brave-browser#20315)) - Fixed Speedreader icon incorrectly disappearing in certain cases. ([#18243](brave/brave-browser#18243)) - Fixed inability to exit reader mode when Speedreader is disabled. ([#18242](brave/brave-browser#18242)) - Upgraded Chromium to 101.0.4951.41. ([#22431](brave/brave-browser#22431)) ([Changelog for 101.0.4951.41](https://chromium.googlesource.com/chromium/src/+log/100.0.4896.127..101.0.4951.41?pretty=fuller&n=1000))
Why doesn't the new panel remember the advanced open / closed setting? |
@BobT36 Hi; it will remember its previous state starting with the |
Great, at least that makes it slightly less cumbersome then. Cheers. Hopefully the Shields panel can get the same amount of dev effort put in as previously, considering it's one of the major selling points of the brave browser. |
Description
Update to new designs and refactor Shields to use mojom api
Subtasks
Miscellaneous Information:
Figma link: https://www.figma.com/file/3A6F6VrxVahiZFxLr7j7FO/Desktop-Brave-Shields?node-id=689%3A24419
Launch Plan
This allows:
The text was updated successfully, but these errors were encountered: