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
feat: implement 'app-command' events for browser history navigation keys on Linux #15441
Conversation
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
Apologies if this isn't the correct way to cc someone, but could you take a look @codebytere? |
Also I was unable to test these changes on Mac or Windows, I can remove the second commit if that is an issue and no one else can test. |
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.
Can these be collapsed into the app-command
event that already supports these events on Windows.
Refs: https://electronjs.org/docs/api/browser-window#event-app-command-windows
E.g. browser-backward
and browser-forward
|
@SaswatB Adding new platform support for those events is |
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.
Looking good, just a code style comment 👍
very appreciate you guys if this pr could be merged soon. 👍 |
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.
Looking good 👍
Would it be possible to backport these changes to versions 3 and 2? What would be the process for such? |
@SaswatB This change is |
Is there anything blocking this from being merged? |
…ute on such events
402d2f6
to
de18af1
Compare
Release Notes Persisted
|
Congrats on merging your first pull request! 🎉🎉🎉 |
Could you please tell me which version of electron this feature will be merged into? |
@sevenryze it seems it’s in electron 3.something already. |
@SaswatB Thank you so much for addressing this issue! |
Description of Change
Implemented the
browser-backward
andbrowser-forward
app-command
events on Linux.For issue #6996.
Checklist
npm test
passesRelease Notes
Notes: The
browser-backward
andbrowser-forward
app-command
events events available in BrowserWindow now work on Linux