Page MenuHomePhabricator

meaningful error messages in case of API- or Parsing-Problems
Closed, ResolvedPublic

Description

Need: As an user, I want to be informed when there is a problem and be able to solve it, if needed.

Problem: When the user clicks the button to "assess item quality" the data is requested from the API, which might return an error

Suggested messages:

In case the API can’t be reached: "There was a problem connecting to the service. Please check your internet connection or try again later"

In case the result can’t be parsed: "There was a problem parsing the results from the APIs. This is probably a problem with our code. If you know how, report the issue at [link]"

Acceptance Criteria

  • Error is shown when there is a network connection issue
  • Error is shown when API fails to process request
  • Error is shown when application fails to parse results (Deep link to report an issue)
  • Fix 'Report an issue' link to deep link in footer (e.g. sample deep link)

Event Timeline

Created another pull request to wikidata-query-gui to enable proper error handling for Sparql requests.

Errors from Sparql requests will be handled the same as the wikidata-query-gui project:

e.g.

image.png (486×753 px, 51 KB)

Lydia_Pintscher claimed this task.
Lydia_Pintscher moved this task from In review to Done on the Item Quality Evaluator board.