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 that appears in the answer as an interactive card you can review and add to a dashboard.

  1. You ask Eric to build a widget or chart.
  2. Eric searches your datasets and drafts a matching widget.
  3. A card appears in the answer with a live preview.
  4. While Eric is still responding, he can revise that chart; once the run finishes, the chart is fixed for that answer.
  5. When it looks right, use Add to dashboard to create the live widget. The chart stays in the conversation.
  • 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. During the same run, describe changes you want and Eric can update the draft before he finishes responding.

In Main Eric Chat, Eric renders scratch widget charts as cards inside the answer instead of opening a separate preview panel beside the thread.

While the run is still streaming, the card shows Drafting and Eric can keep refining that chart. After the run ends, the card is final; a later message does not change an earlier chart. Ask Eric for a new chart if you need a different version.

Each card shows the chart title, chart type, preview row count, and when the preview was built. Use View data to inspect the underlying rows and View chart to return to the visualization. View YAML opens the scratch definition read-only, with Copy YAML available in that viewer. Use Expand chart when you want a larger preview with the same actions.

When the draft is valid, choose Add to dashboard, pick the target dashboard, and confirm the widget title. Eric copies the chart onto the dashboard and keeps the card in the chat. The card then links to that dashboard, and each chart can be added only once.

If Eric also drafted a supporting Query Dataset for the chart, the card shows that relationship and lets you inspect its YAML. Adding the chart to a dashboard saves the supporting dataset when it is not already published.

When the conversation includes charts, the Session context rail lists them under Charts, newest first. Select a chart to scroll to its card in the thread.

If Eric cannot compile the draft, the card shows Needs repair with a short explanation. While the same run is still active, continue the conversation so Eric can fix it. After the run ends, ask for a new chart instead of expecting an older card to update.

  • Be specific about the dataset, metric, and time range when requesting a widget.
  • If the preview looks wrong while Eric is still working, describe the change in your next message in the same run.
  • After a run finishes, treat each chart card as a snapshot of what Eric delivered in that answer.