Skip to content
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

Merged
merged 7 commits into from
Jan 26, 2024

Conversation

fregante
Copy link
Contributor

@fregante fregante commented Jan 25, 2024

What does this PR do?

I think I found a way to restore toggling of the extension via browser action.

Drawbacks

Demo

Screen.Recording.mov

Checklist

  • Add tests
  • New files added to src/tsconfig.strictNullChecks.json (if possible)
  • Designate a primary reviewer: @grahamlangford

Follows

@fregante fregante changed the base branch from main to F/mv3/reliably-worker January 25, 2024 10:19
@fregante fregante added enhancement New feature or request mv3 sidebar labels Jan 25, 2024
Base automatically changed from F/mv3/reliably-worker to main January 25, 2024 15:31
@fregante fregante marked this pull request as ready for review January 25, 2024 15:40
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ed0e25b) 72.61% compared to head (fec762d) 72.61%.

❗ Current head fec762d differs from pull request most recent head 07863f7. Consider uploading reports for the commit 07863f7 to get more accurate results

Files Patch % Lines
src/background/browserAction.ts 0.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@grahamlangford grahamlangford left a 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?

Copy link

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.

@fregante
Copy link
Contributor Author

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.

@fregante fregante enabled auto-merge (squash) January 26, 2024 02:39
@fregante fregante merged commit 86072e8 into main Jan 26, 2024
13 checks passed
@fregante fregante deleted the F/mv3/toggle-browser-action-sidebar branch January 26, 2024 02:44
@grahamlangford grahamlangford added this to the 1.8.8 milestone Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mv3 sidebar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants