Jan_Dittrich added subscribers: daniel, Addshore.
Jan_Dittrich added a comment.

Talked about it with the team.

A concern is that the validation happens currently server-side (don't trust the client etc. ).
It would be bad if we would need to replicate the code client side.
We could just do it on save, but @thiemowmde noted on T138312 that this is not a nice way either (aside of line-validation performing much better in tests)

So one decent way would be to send the data to the server, e.g. after 300ms and have the validation result send back to the client.
It may be too costly for some values but it would be already great if we could provide an easy way to resolve most of the errors via inline-validation.

If there are specific questions regarding the nature of the errors (e.g. a particular value is too costly to check but maybe it happens very rarely anyway) we could log it (would need consultation with @Addshore to prevent huuuuuuge logs)

@daniel, @adrianheine – did I get this right?


TASK DETAIL
https://phabricator.wikimedia.org/T138748

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lydia_Pintscher, Jan_Dittrich
Cc: Addshore, daniel, Charlie_WMDE, Jonas, adrianheine, thiemowmde, Aklapper, Zppix, Jan_Dittrich, codynguyen1116, D3r1ck01, Izno, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to