brave-browser: Add button on `brave://adblock` page to force-update all adblock components
It would help adblock breakage remediation tremendously if users can force-update all adblock components by going to brave://adblock and pressing a button instead of having to go to brave://components and clicking each Update button manually.
The button could live under the Filter lists section:
Subsection Title: Update all filter lists
Helper Text: Manually update all filter lists to latest version
Button Text: Update lists
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 16 (3 by maintainers)
Adding
QA/Test-All-Platformslabel to verify force-update to the adblock componentsVerification
PASSEDusingCase 1: New install Update successful - PASSED
brave://settings/shields/filtersopen brave://componentsConfirmed
Lists updatedbutton shown as expectedConfirmed below Adblock components are updated successfully with the statuses as expected when clicked
Update listsbutton.Component already up to dateComponent already up to dateConfirmed default lists
EasyList CookieandFanboy's Mobile Notificationsare updatedhttps://github.com/brave/brave-browser/assets/98358127/46446062-cc58-4014-9b06-d4598b5ce2c2
Confirmed user selected lists
YouTube Mobile Distractions&uBlock Annoyancesare updatedhttps://github.com/brave/brave-browser/assets/98358127/6d1a0865-53aa-494a-b838-50c5158a1c58
Case 2: New install Updated failed - PASSED
brave://settings/shields/filtersopen brave://componentsConfirmed
Updated failed - Retrybutton shown as expectedConfirmed Adblock components are shown
Update errorstatus as below when clickedUpdate listsbutton.Update error-Update error``https://github.com/brave/brave-browser/assets/98358127/af4deed7-4bca-4418-b297-96125c8d5d1c
Case 3: Upgrade - PASSED
brave://settings/shields/filtersShow full listbutton is shownbrave://componentsin a new window and verified components are verifiedUpdate Listsbutton is shownConfirmed adblock components are updated as expected.
Case 4: Buttons UI (Light theme/Dark theme) - PASSED
Added the designs here: https://www.figma.com/file/tLXWGCpNoiJxDZDdpfordj/[ARCHIVE]-Desktop-Settings?type=design&node-id=4262%3A78166&mode=design&t=nZVBGxEjpmvYEC3u-1
This should update all optional and default enabled filter lists. Is that not what you’re seeing? For custom filter lists, we could add a separate “Update all” button (since it’s in a separate section) but that’s a more advanced use-case.
Verification
PASSEDusingCase 1: New install Update successful - PASSED
1.67.100brave://settings/shields/filtersbrave://componentsConfirmed
Lists updatedbutton shown as expectedConfirmed below Adblock components are updated successfully with the statuses as expected when clicked
Update listsbutton.Component already up to dateComponent already up to dateConfirmed default lists
EasyList CookieandFanboy's Mobile Notificationsare updatedConfirmed user-selected lists
Fanboy's Anti-chat Apps&YouTube Mobile Recommendationsare updatedCase 2: New install Updated failed - PASSED
1.67.100brave://settings/shields/filtersopen brave://componentsConfirmed
Updated failed - Retrybutton shown as expectedConfirmed Adblock components are shown
Update errorstatus as below when clickedUpdate listsbutton.
Update errorUpdate errorCase 3: Upgrade - PASSED
1.66.115brave://settings/shields/filtersShow full listbutton is shownbrave://componentsin a new window and verified components are verified1.67.100Update Listsbutton is shownbrave://componentspageConfirmed adblock components are updated as expected.
Case 4: Buttons UI (Dark theme) - PASSED
@ShivanKaul android issue for the same : https://github.com/brave/brave-browser/issues/35270
iOS corollary: https://github.com/brave/brave-browser/issues/35982
cc @aguscruiz