Skip to content

Fixes #1455 - prevent shortkeys to fire in comment textarea#1464

Merged
miketaylr merged 4 commits intomasterfrom
issues/1455/2
Mar 30, 2017
Merged

Fixes #1455 - prevent shortkeys to fire in comment textarea#1464
miketaylr merged 4 commits intomasterfrom
issues/1455/2

Conversation

@zoepage
Copy link
Copy Markdown
Member

@zoepage zoepage commented Mar 30, 2017

No description provided.

@zoepage
Copy link
Copy Markdown
Member Author

zoepage commented Mar 30, 2017

r? @miketaylr

@zoepage zoepage changed the title Fixes #1455 - prevent shortkeys to fire in comment textare Fixes #1455 - prevent shortkeys to fire in comment textarea Mar 30, 2017
@miketaylr
Copy link
Copy Markdown
Member

(I think this needs to be rebased against latest master...)

So, it turns out this regression was introduced by #1431... and it was my suggestion to use mousetrap to handle ctrl+enter... which meant the two existing shortcuts would work. Oops. 🙈

This looks good, but we should rename the labelWarp to something else like openEditor or editLabels, IMO.

Copy link
Copy Markdown
Member

@miketaylr miketaylr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

},
keyboardEvents: {
"l": "labelWrap"
"l": "labelWarp"

This comment was marked as abuse.

This comment was marked as abuse.

@miketaylr
Copy link
Copy Markdown
Member

I'll file a followup issue for the renaming, that's a very good "good first bug". :)

@miketaylr miketaylr merged commit 37fa4d2 into master Mar 30, 2017
@miketaylr miketaylr deleted the issues/1455/2 branch March 30, 2017 15:43
@zoepage
Copy link
Copy Markdown
Member Author

zoepage commented Mar 30, 2017

@miketaylr you merged, so no rebase? :)

@miketaylr
Copy link
Copy Markdown
Member

@miketaylr you merged, so no rebase? :)

Yeah, sorry -- the merge applied cleanly. All good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants