[Wikidata-bugs] [Maniphest] T266456: Handling unsupported datatypes

2020-10-26 Thread Bugreporter
Bugreporter added a comment.


  User should still be able to select a property with unsupported datatypes. 
The difference should be user may not specify a value.

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

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

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


[Wikidata-bugs] [Maniphest] T266456: Handling unsupported datatypes

2020-10-26 Thread Charlie_WMDE
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 
:**
  Disabled view
  F32414534: image.png 
  On hover/click with tooltip visible
  F32414535: image.png 
  Error state when unsupported datatype is selected
  F32414538: image.png 
  Error message when trying to run query
  F32414539: image.png 
  
  **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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs