-
Notifications
You must be signed in to change notification settings - Fork 22
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
Restore ability to toggle sidebar via action
click in MV3
#7429
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7429 +/- ##
==========================================
- Coverage 72.61% 72.61% -0.01%
==========================================
Files 1210 1210
Lines 37821 37822 +1
Branches 7098 7098
==========================================
Hits 27464 27464
- Misses 10357 10358 +1 ☔ View full report in Codecov by Sentry. |
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.
I hate it. But it works, and like you said it's simple. It's insane to me that this isn't supported. I believe you have an issue open requesting this as a feature?
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
Yes the issue is in the PR description. I don't expect the API to appear within the next 6 months so we'll have to live with it for now. Worst case scenario we'll remove the feature and update the docs only if it causes issues. |
What does this PR do?
I think I found a way to restore toggling of the extension via browser action.
Drawbacks
close
action only works if it's already fully loadedsidePanel.setOptions
has further drawbackssidePanel
API:sidePanel.close()
andsidePanel.toggle()
w3c/webextensions#521Demo
Screen.Recording.mov
Checklist
src/tsconfig.strictNullChecks.json
(if possible)Follows