Skip to content

Widget Drafts

Eric can build widget drafts directly inside a chat session. If you ask for a chart, table, or metric, he creates a draft artifact you can preview and publish to a dashboard.

  1. You ask Eric to build a widget.
  2. Eric searches your datasets and drafts a matching widget.
  3. The draft appears in an inline canvas beside the chat.
  4. You can preview the widget live, refresh it, and fix any issues.
  5. Once it looks right, publish it directly to a dashboard.
  • Bar, pie, line, table, number, gauge, funnel, and matrix charts
  • Static text, images, buttons, and iFrames
  • Widgets with filters, date ranges, thresholds, and multiple metrics

Eric picks the widget type based on your request and the data shape. You can refine the draft by continuing the conversation.

When Eric creates a draft, the canvas opens next to the chat. It shows:

SectionWhat it displays
PreviewA live widget rendered with your data
ContentWidget type, static content, or configuration
How it was builtEach metric, dataset source, grouping, filters, and date columns
Needs attentionRepair issues that block publishing
Revision infoCurrent revision number and timestamp

Close the canvas at any time. It reopens automatically when a new draft is created or updated.

If the data changes or you revise the prompt, click Refresh to rebuild the preview from the latest revision. Refresh compares the expected revision with what is on the backend and fetches updated dataset results.

When a draft is ready, the canvas shows two publish options:

  • Publish — adds the widget to the chosen dashboard and stays in chat.
  • Publish and edit — adds the widget to the dashboard and opens it in the widget editor.

You select a target dashboard from the publish dialog. Eric may suggest a dashboard automatically, or you can pick one from the list.

A draft must be in Ready status before it can publish. If there are repair issues, the status shows Needs repair and publishing is blocked until they are resolved.

  • The draft status changes to Published to dashboard.
  • The widget appears on the selected dashboard and can be moved or edited normally.
  • The published widget link is saved with the artifact for reference.
  • Be specific about the dataset, metric, and time range when requesting a widget.
  • If the preview looks wrong, describe the change you want and let Eric revise the draft.
  • Check Needs attention for missing columns, mismatched filters, or unsupported widget configurations.