-
Notifications
You must be signed in to change notification settings - Fork 171
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
fix(app): remove copy link from context menu #10328
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #10328 +/- ##
==========================================
+ Coverage 73.97% 74.37% +0.40%
==========================================
Files 2133 2129 -4
Lines 56900 56510 -390
Branches 5753 5807 +54
==========================================
- Hits 42090 42031 -59
+ Misses 13608 13262 -346
- Partials 1202 1217 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
|
actions.copy({}), | ||
actions.lookUpSelection({}), |
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.
Passing {}
because currently, options are not optional.
sindresorhus/electron-context-menu#153
Once fix the above issue, probably we can remove {}
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.
Perhaps a TODO
with that link would be useful for tracking this?
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.
Looks good in the GUI. I see we decided to keep "Look up…" for compatibility, and it works. No "Copy Link" anywhere.
@ecormany I keep |
glad we pin our dependencies 🤣 |
Merge branch 'edge' into app_fix-contextmenu-remove-copyLink
Overview
This will fix #10054
Removed
copy link
by using themenu
functionhttps://github.com/sindresorhus/electron-context-menu#menu.
There is a kind of issue with
electron-context-menu
in this project.The version app-shell uses is 0.15.0 (released in Aug 2019). The current version is 3.1.2.
For safe, I would like to upgrade this package by another PR.
In addition, 0.15.0 has an issue with
searchWithGoogle
option.Changelog
contextMenu
optionReview requests
no copy link
Risk assessment
low