Skip to content

Conversation

@ngafar
Copy link
Collaborator

@ngafar ngafar commented Jan 16, 2026

Description

The Chart Wizard now includes an Add New Field button. When clicked, the user can describe the field they want to add, and the AI will try to add the new field to the chart config section.

Additionally, I've made a small tweak so that chart updates don't take users the top of the cell, forcing them to scroll down to see their changes. To accomplish this we first collapse the code cell, then scroll to start. Because the cell is collapsed, changes do not force any scrolling behavior.

I am anticipating that this new collapsing behavior will likely not be an issue for users, who are unlikely to be making changes to the chart via manual code updates.

Testing

Create a chart, add a new field. Make sure the new field works.

Documentation

N/A - should be self-explanatory.


Note

Introduces user-driven chart config expansion and refines Chart Wizard behavior.

  • Backend: split ChartWizardHandler into ConvertChartHandler and new AddFieldHandler; add create_chart_add_field_prompt; move routes under mito-ai/chart-wizard with convert and add-field; add JSON/error handling.
  • Frontend: new AddFieldButton prompts for a field, calls addChartField, extracts code from markdown, validates, and notifies; ChartWizardWidget integrates the button and shows a loading overlay.
  • Plugin/UX: when opening Chart Wizard, set active cell, collapse input, and scroll to start to prevent jumpy updates; normalize log events to chart_wizard_*.
  • REST API/CSS: add addChartField client, update convert path, and style overlay in ChartWizardWidget.css.

Written by Cursor Bugbot for commit 9f4d4db. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Jan 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
monorepo Ready Ready Preview, Comment Jan 16, 2026 6:03pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants