Page MenuHomePhabricator

Source selector Cancel and Start Translation buttons sometime require two clicks
Closed, ResolvedPublic

Description

The "Cancel" and "Start translation" buttons in the source selector sometimes require more than one click to perform their function. The first click takes the focus off the title inputs and triggers the validation. The second click actually clicks the button. This could be potentially confusing for users.

Not high priority because it works in the end. Just requires an additional click.

Event Timeline

Jsahleen renamed this task from Source selector Cancel and Start Translation buttons sometime require to clicks to Source selector Cancel and Start Translation buttons sometime require two clicks.
Jsahleen raised the priority of this task from to Low.
Jsahleen updated the task description. (Show Details)
Jsahleen added a project: Language-Team.
Jsahleen changed Security from none to None.
Jsahleen subscribed.

We can fix this by changing the warning messages to display on input but with a throttle. Then the blur event will not get in the way of the buttons being clicked.

Change 179192 had a related patch set uploaded (by Amire80):
Source selector: Add input event for validation and warning

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

Patch-For-Review

Change 179192 merged by jenkins-bot:
Source selector: Add input event for validation and warning

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