diff --git a/lib/features/workspace/data_grid_groupings_view.dart b/lib/features/workspace/data_grid_groupings_view.dart index 9cc8b0e3..df8b7c72 100644 --- a/lib/features/workspace/data_grid_groupings_view.dart +++ b/lib/features/workspace/data_grid_groupings_view.dart @@ -100,8 +100,11 @@ class _DataGridGroupingsViewState @override material.Widget build(material.BuildContext context) { if (widget.columns.isEmpty || widget.rows.isEmpty) { - return material.Center( - child: const Text('No data available for grouping.').muted(), + return const material.Center( + child: QueryaEmptyState( + title: 'No data to group', + description: 'Run a query that returns rows, then group them here.', + ), ); } diff --git a/test/features/workspace/data_grid_groupings_view_test.dart b/test/features/workspace/data_grid_groupings_view_test.dart index fa704f12..1b0bb087 100644 --- a/test/features/workspace/data_grid_groupings_view_test.dart +++ b/test/features/workspace/data_grid_groupings_view_test.dart @@ -26,7 +26,7 @@ void main() { ); await tester.pumpAndSettle(); - expect(find.text('No data available for grouping.'), findsOneWidget); + expect(find.text('No data to group'), findsOneWidget); }); testWidgets('renders grouping categories and allows aggregation switching', (tester) async {