[Wikidata-bugs] [Maniphest] T268879: Remove value input when selecting conflicting property

2020-11-30 Thread Charlie_WMDE
Charlie_WMDE closed this task as a duplicate of T265986: Value field behavior 
when selecting conflicting property.

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

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

To: Charlie_WMDE
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] T268879: Remove value input when selecting conflicting property

2020-11-27 Thread Bugreporter
Bugreporter added a comment.


  In this case you should consider string and external ID as the same, or 
alternatively use the value type instead of data type.

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

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] T268879: Remove value input when selecting conflicting property

2020-11-27 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 a query builder I want to know in advance if my query will fail in order 
to correct it in advance
  
  **Problem:**
  Currently, when selecting a property with datatype A, typing a matching 
value, then selecting a property with datatype B, i am not informed that the 
formerly input value will not work anymore. When running the query, i don't get 
an error but simply get 0 results instead of letting users know that the query 
input was invalid.
  
  **Example:**
  If I select the property postal code (which only takes strings as a value) 
and type 12345 into the value field, then go back to the property component and 
select the property instance of (which only takes items) but i still have that 
string in my value field, and then run the query, I get shown 0 results.
  
  What we want instead is for the value field to clear whatever was in there 
when the datatype of the value doesn't match the selected property anymore.
  
  **Screenshots/mockups:**
  
  **BDD**
  GIVEN a filled property field of datatype A
  AND a filled value field of datatype A
  WHEN selecting a property of a different datatype
  THEN remove the input from the value field
  
  **Acceptance criteria:**
  
  - Clear the value input when the property datatype doesn't match the value 
input datatype anymore
  
  **Open questions:**

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

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