https://bugzilla.wikimedia.org/show_bug.cgi?id=57665

       Web browser: ---
            Bug ID: 57665
           Summary: editing data values using server-side
                    parser/validation will disable "save" button until
                    server responds
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to