Page MenuHomePhabricator

Data table of Graph cannot take negative values of x & y.
Open, LowPublic

Description

Steps to reproduce:

  1. Open VE
  2. Click on Insert --> Graph
  3. Attempt to insert negative values on data table in 'Data' mode

Observation:
The cursor just shifts to the end of the number and there is no way a negative sign can be entered before the number.

Note:
User can however enter negative parameters using 'Raw data' mode instead.

Video given below:

Event Timeline

I see slightly different behavior from my end. I can insert negative values and it is letting me enter negative sign but when I reopen the dialog, they all get converted to the default values for Y.
This looks like a really broken feature from a VE user's perspective because of this. Would be great to get a feedback on this.

Change 756127 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/Graph@master] Fix input validation of Graph dialog to accept negative numbers

https://gerrit.wikimedia.org/r/756127

Change 756127 abandoned by TheDJ:

[mediawiki/extensions/Graph@master] Fix input validation of Graph dialog to accept negative numbers

Reason:

https://gerrit.wikimedia.org/r/756127

TheDJ removed TheDJ as the assignee of this task.Wed, Apr 17, 11:50 AM