Charlie_WMDE created this task.
Charlie_WMDE added a project: Wikidata Query Builder.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  As an editor I want to know which properties I can use for my query in order 
to make an informed decision on how to create my query.
  
  **Problem:**
  We are currently allowing any property to be input, even though we don't 
support all of them.
  
  **Example:**
  LilyPond notation
  
  **mockups 
<https://www.figma.com/file/hZpaYX0xNNhK0L7kBvN6WK/Query-Builder?node-id=2242%3A25922>:**
  Disabled view
  F32414534: image.png <https://phabricator.wikimedia.org/F32414534>
  On hover/click with tooltip visible
  F32414535: image.png <https://phabricator.wikimedia.org/F32414535>
  Error state when unsupported datatype is selected
  F32414538: image.png <https://phabricator.wikimedia.org/F32414538>
  Error message when trying to run query
  F32414539: image.png <https://phabricator.wikimedia.org/F32414539>
  
  **BDD**
  GIVEN 
  AND 
  WHEN
  AND
  THEN
  AND
  
  **Acceptance criteria:**
  
  - When searching for properties, the ones that we don't support appear 
disabled in the result list of the lookup component
  - When hovering the disabled components or trying to click them, we display a 
tooltip that explains briefly why this property is disabled (TODO: tooltip copy)
  - If editors manage to select an unsupported property via the URL or 
otherwise, the component will display an error state (see mocks)
  - If the editor attempts to run the query, we additionally display an error 
message in the results (see mocks)
  
  **Notes:**

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/4990/

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

To: Charlie_WMDE
Cc: Aklapper, Charlie_WMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to