-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Provide facets to locate rows which generate certain quality assurance issues in the Wikibase extension #5033
Copy link
Copy link
Closed
Labels
Module: FrontendThese issues involve working on HTML, CSS, and JavaScript code that affects the user interface.These issues involve working on HTML, CSS, and JavaScript code that affects the user interface.Type: Feature RequestIdentifies requests for new features or enhancements. These involve proposing new improvements.Identifies requests for new features or enhancements. These involve proposing new improvements.facetsBehaviour or rendering of facets in a projectBehaviour or rendering of facets in a projectwikibaseRelated to wikidata/wikibase integrationRelated to wikidata/wikibase integration
Metadata
Metadata
Assignees
Labels
Module: FrontendThese issues involve working on HTML, CSS, and JavaScript code that affects the user interface.These issues involve working on HTML, CSS, and JavaScript code that affects the user interface.Type: Feature RequestIdentifies requests for new features or enhancements. These involve proposing new improvements.Identifies requests for new features or enhancements. These involve proposing new improvements.facetsBehaviour or rendering of facets in a projectBehaviour or rendering of facets in a projectwikibaseRelated to wikidata/wikibase integrationRelated to wikidata/wikibase integration
Type
Fields
Give feedbackNo fields configured for issues without a type.
In the "Issues" tab, we report issues about Wikibase edits generated by the project grid and the schema. We give some examples of the values which generate the issues, but it would be much more convenient if users could simply get a facet which selects which rows generate each issue.
Not every issue can be tracked to a single row: for instance, the addition of two different identifier values on a given item is likely due to two different rows contributing those identifier values independently.
Proposed solution
For issues which can be tracked back to a single row (such as string formatting issues), add a button on the issue to create a facet which selects the rows generating that issue. I propose the following internal architecture:
wikibaseIssues()), whose task is to evaluate the schema on the current row, run scrutinizers on it, and return the list of issue identifiers that it generatesgrel:wikibaseIssues().inArray('duplicate-whitespace'))Alternatives considered
We could also try to extend this feature to issues which can be generated by multiple rows, but that is likely to require a more complicated architecture, so I would propose to leave that out first.