Page MenuHomePhabricator

[enhancement] Hitting enter on "edit summary" dialog should submit the form
Closed, ResolvedPublic

Description

A couple of usability tweaks:

  • autofocus the edit summary dialog's text field when it is displayed
  • setup an event handler to make hitting enter in the text field trigger the same action as clicking the "publish changes" button.
  • Bonus points: make hitting esc while the text field is focused act like the close button was clicked.

Event Timeline

Change 678439 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/toolhub@main] ui: submit toolinfo edit form on enter in description

https://gerrit.wikimedia.org/r/678439

bd808 moved this task from Backlog to Review on the Toolhub board.

Change 678439 merged by jenkins-bot:

[wikimedia/toolhub@main] ui: submit toolinfo edit form on enter in description

https://gerrit.wikimedia.org/r/678439