-
Notifications
You must be signed in to change notification settings - Fork 873
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
Add "Manage custom filters" context menu item #8394
Conversation
components/brave_extension/extension/brave_extension/background/api/cosmeticFilterAPI.ts
Show resolved
Hide resolved
components/brave_extension/extension/brave_extension/background/events/cosmeticFilterEvents.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality works great! Just had a question about the async keyword removal on addSiteCosmeticFilter
. The other changes look good! 😄
@bsclifton after discussion with @pes10k it looks like the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonok-edm perfect - thanks for confirming. Sorry I didn't get to dig in there more after raising the comment. LGTM! 😄👍
Did this possibly introduce this CI failure on unittests @antonok-edm ? |
Yep, my fault - sorry about that! 😬 I just opened #8429 to update the tests accordingly. |
ah crap - my bad on that 😱 I saw the pre-init failure and (unfortunately) assumed it was an npm vulnerability. Great catch @bbondy 😄 |
Resolves brave/brave-browser#14978
I've also added 2 commits here to clean up minor details from #8156 - one function no longer needs to be async and there are a bunch of locale strings that can now be removed safely.
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
From any page, right click on the page and check that the
Brave > Manage custom filters
context menu item exists and navigates to a newbrave://adblock
tab, or an existing one if present.