Page MenuHomePhabricator

clear two step process in shex simple tool
Closed, ResolvedPublic5 Estimated Story Points


The "validate" button on[]&textMapIsSparqlQuery& in the first step does not actually validate but fetch the list of entities to be checked based on a query. So It should be renamed to say "run query to fetch entities". Once the query has been run it should say "validate entities".

Acceptance criteria:

  • There is a clearly graspable two-step process of first fetching the entities and then validating them.

Ideally, when the user edits the query again afterwards (which means that the next Ctrl+Enter will fetch results again), the button label should update accordingly; if this turns out to be too much work, we can instead simply change the button label to some static string that’s always correct, e. g. “fetch query results or validate (Ctrl+Enter)”.

Event Timeline

I just found out that the “fetch results” part also happens as soon as a “change” event is fired on the input (e. g. when the input is unfocused), so the user might not even need to press Ctrl+Enter twice.

Michael added a subscriber: Michael.

As far as I can see, this was implemented in #45 and works as expected.

Lea_Lacroix_WMDE added a subscriber: Lea_Lacroix_WMDE.

Check, we now have two steps with different labels.