Page MenuHomePhabricator

Chart wizard: deserialize JSON when editing a chart
Open, HighPublic

Description

Background

It can be confusing for users to edit a chart values when they are not familiar with JSON.

Goal

Add the ability for users to edit .chart pages in visual mode by deserialize the JSON values and rendering the corresponding values.

Acceptance criteria

  • Set the values when edit a chart.

Event Timeline

HMonroy triaged this task as High priority.Apr 15 2026, 9:55 PM
HMonroy raised the priority of this task from High to Needs Triage.
HMonroy triaged this task as High priority.
MusikAnimal renamed this task from Visual mode: deserialize JSON when editing a chart to Chart wizard: deserialize JSON when editing a chart.Sat, May 9, 6:19 PM

I think this is saying that when editing an existing chart, the wizard should be used with the values pre-filled. After r1287514 (T425610), the chart definition JSON is passed to the ChartWizard component, and we set the refs in the store for each field (which currently is only the source dataset field).

So basically, I think this would get taken care of as we add each new field, as opposed to being done in a standalone task.