Repository navigation
Conversation
remap-enter-key-on-issue-pr-commit-title-fields featureavoid-accidental-submissions feature
|
Thank you for the PR and for following the template! I fixed some mistakes but I'm not sure it passes lint/types. |
|
Can't we |
To be honest I don't really like that file. Here specifically it can be solved by just adding a check for |
@fregante Always glad to be of help! |
|
Blocked by refined-github/github-url-detection#68 |
…issue-pr-commit-title-fields
That's impossible. |
|
Ah I see what's going on. In the same form there's another |
Co-authored-by: Federico Brigante <[email protected]>
…ps://github.com/darkred/refined-github into remap-enter-key-on-issue-pr-commit-title-fields
(was not available before)
(also renamed onKeyDownEnter() to onKeyDown() )
|
Thanks Kostas! |
|
I'm glad I could help! |
|
|
||
| function addQuickSubmit(): void { | ||
| select('input#commit-summary-input')!.classList.add('js-quick-submit'); | ||
| } |
There was a problem hiding this comment.
Not sure why we added this here. Doesn't this allow submission via ctrl-enter? It should be extracted to its own feature (and the shortcut should mention cmd on Mac )

Closes #4248
Test URLs
Screenshot