Page MenuHomePhabricator

Give visual feedback while XTools is thinking
Closed, ResolvedPublic2 Estimated Story Points

Description

While XTools is thinking, we need some visual feedback so that people don't keep clicking Submit.

This could include any or all of the following: disabling the Submit button, show a spinner, show a count of time waiting, show "please wait, this could take a minute"

Do whatever you think is relevant/helpful.

Event Timeline

kaldari set the point value for this task to 2.Jul 5 2017, 11:24 PM
kaldari edited projects, added Community-Tech-Sprint; removed Community-Tech.

I've added a ponderator to all submit buttons. It's nothing fancy: just stops the re-clicking of the submit button, changes the text to 'Loading' followed by a counting-up minutes-and-seconds timer.

Code change: https://github.com/x-tools/xtools-rebirth/compare/1cfc3cb198ac...d2bafaca7c3f

http://xtools.wmflabs.org is updated

Left two comments on the code. Otherwise looks good to me!

Good suggestions! I've fixed up the code.

kaldari subscribed.

Looks great!

MusikAnimal renamed this task from Give visual feedback while Editcounter is thinking to Give visual feedback while XTools is thinking.Jul 10 2017, 7:02 PM
MusikAnimal updated the task description. (Show Details)