You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/05/29 01:06:04 UTC

[GitHub] [incubator-druid] mcbrewster opened a new pull request #7787: Web-console: Add run keyboard short cut to sql-control

mcbrewster opened a new pull request #7787: Web-console: Add run keyboard short cut to sql-control
URL: https://github.com/apache/incubator-druid/pull/7787
 
 
   <img width="168" alt="Screen Shot 2019-05-28 at 6 01 08 PM" src="https://user-images.githubusercontent.com/37322608/58521826-a837e100-8172-11e9-9537-d6e66393647c.png">
   
   Pressing control+enter will now have the same function as pressing run with limit. 
   
   This is achieved by setting both an onkeydown and onkeyup event listener. Onkeydown the handler checks if the key is either enter or control, that information will be recorded in the state, and removed from the state on key up. When the second key is pressed the Onkeydown handler then checks to see if it is the right combination of control and enter being pressed, if that is true onRunClick is called. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org