Last modified: 2014-03-11 10:07:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59665, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57665 - editing data values using server-side parser/validation will disable "save" button until server responds
editing data values using server-side parser/validation will disable "save" b...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
papercut, u=dev c=frontend p=0
: javascript
Depends on:
Blocks: 52916
  Show dependency treegraph
 
Reported: 2013-11-27 16:08 UTC by Daniel A. R. Werner
Modified: 2014-03-11 10:07 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2013-11-27 16:08:17 UTC
When editing a Snak value which uses server-side backend parser/validation (e.g. Quantities), the "save" button will be disabled until the request returns and says the value is valid.
Originally, we designed the system to always allow hitting "save" independently of backend validation - only immediate frontend parsing failure would immediately disable the save button after a value change and prevent any parse/validation request to the backend for the current value. If the backend had a problem with the value, the user would be notified and the edit mode would switch back on (with the save button disabled until the value changes again?).

Allowing to hit the save button before backend validation is done allows better use of keyboard only usage. E.g. I enter a quantity and hit enter. With the current implementation the enter might be ignored depending on how fast after entering the number I hit enter and how fast the connection works.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links