-
Notifications
You must be signed in to change notification settings - Fork 63
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
New API: Open Shortcut Setting #310
Comments
Originally reported at #300, but split off it. I posted the following reply at #300 (comment) : There is already precedent for opening the extension settings page via |
In addition, for open shortcuts, not just to open a page, but to navigate to a specific shortcut in that page. The use case is user click the edit button from an extension page, then go to there for this shortcut. |
There was also a feature request for a method to open the shortcuts management page from an extension, at https://bugzilla.mozilla.org/show_bug.cgi?id=1538451 . Someone has provided a patch there, so I'd like to discuss the shape of the API at the next meeting. |
We had a very similar issue back in 2021 that we may want to close given this updated proposal: #126 |
Bikeshed: |
Chrome is supportive of this capability. We would like to have some further discussions about the namespace ( |
I'm in favor of |
I'm in favor of the Extension developers who are looking for ways to improve their support for shortcut management are far more likely going to look inside the The question of which namespace to use originated from an earlier meeting (2024-08-15 meeting notes), where it was mentioned that Chrome allows users to assign a shortcut to the extension button, independently of whether an extension has declared a { ...
"commands": {
"_execute_action": {
"description": "Activate the extension"
}
}
} The description above is directly taken from Chrome's current UI. As you can see, it is a very generic description, and extensions who'd like to offer first-class support for shortcuts would serve the user much better by providing a more specific description. Putting the new method under And from the capabilities point of view: if a browser does not support extension-specific shortcuts, then it is easier to document and implement the unavailability of the functionality by omitting the |
Thanks for writing that up @Rob--W. Happy from the Chrome side to move forward with the The name proposed in this issue is I expect we would also be fine with |
All of these names look acceptable to me. Between Another name could be I'll propose to proceed with |
The Problem
Take Chrome as an example, the shortcut page is
chrome://extensions/shortcuts
, which centralizes all extensions' shortcuts settings. We need to let users locate to current extension (not other extensions) in this page. Assuming that the user has dozens of extensions installed, if we cannot directly locate to current extension, then the user will spend the effort to find this extension first. Assuming that if the extension supports 30 shortcuts, it is also necessary to directly locate to a specified shortcut (not other shortcuts) in this extension.The Proposal
The text was updated successfully, but these errors were encountered: