Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: add a tooltip for database tab bar items (#7970)

Richard Shiue02dc7ab6b330
diff --git a/frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/desktop_field_cell.dart b/frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/desktop_field_cell.dart
index 915bf70a61..c60fff1613 100755
--- a/frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/desktop_field_cell.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/header/desktop_field_cell.dart
@@ -94,12 +94,16 @@ class _GridFieldCellState extends State<GridFieldCell> {
onFieldInserted: widget.onFieldInsertedOnEitherSide,
);
},
- child: SizedBox(
- height: GridSize.headerHeight,
- child: FieldCellButton(
- field: widget.fieldInfo.field,
- onTap: widget.onTap,
- margin: const EdgeInsetsDirectional.fromSTEB(12, 9, 10, 9),
+ child: FlowyTooltip(
+ message: widget.fieldInfo.name,
+ preferBelow: false,
+ child: SizedBox(
+ height: GridSize.headerHeight,
+ child: FieldCellButton(
+ field: widget.fieldInfo.field,
+ onTap: widget.onTap,
+ margin: const EdgeInsetsDirectional.fromSTEB(12, 9, 10, 9),
+ ),
),
),
);