You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a925454
Browse filesBrowse the repository at this point in the historyBrowse files
feat(dashboards): redesign empty states and gallery, fix delete UX and stale-config bug
Empty canvas now shows clickable example prompts instead of a bare heading.
Gallery cards get deterministic mini-chart thumbnails, a dashboard-count
subtitle, and a richer true-empty state. Delete now uses an in-app confirm
popover and error toast instead of native window.confirm/alert, which read
as out-of-place browser chrome and can be silently suppressed in embedded
webviews. Also fixes a bug where a dashboard whose last saved state was a
chat-only reply (no html artifact) rendered the same empty canvas as a
brand-new dashboard despite chat history claiming it was built — now shown
as a distinct "nothing built here yet" state.
// Starting points shown on a brand-new, empty dashboard — concrete enough to click
13
+
// and send immediately, so the first screen a user sees isn't just an empty prompt.
14
+
constEXAMPLE_PROMPTS=[
15
+
{icon: TrendingUp,title: 'Revenue by month',prompt: 'Show revenue by month for the last 12 months, with a trend line and month-over-month change.'},
16
+
{icon: Users,title: 'Top customers',prompt: 'Show top customers by total spend, with their order count and average order value.'},
17
+
{icon: PieChart,title: 'Order breakdown',prompt: 'Show order status breakdown (completed, pending, cancelled) as a share of total orders.'},
18
+
{icon: Layers,title: 'Business overview',prompt: 'Build a dashboard with the most important KPIs and a couple of charts summarizing overall business health.'},
19
+
]
20
+
12
21
// Focused, chrome-less builder. Left = the agent (generate / refine); main = the
13
22
// live dashboard canvas. The DeepSQL logo and breadcrumb return to the gallery.
<pclassName={styles.emptySub}>Describe what you want to see and the DeepSQL agent will build it — grounded on your schema, verified against your data.</p>
0 commit comments