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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
Added tooltip when hovering over No-Data (#3612)
Nikhil Raj8a735799c673
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dartindex 1fbd80ae3d..c205f3d792 100644--- a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart+++ b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart@@ -14,6 +14,7 @@ import 'package:flowy_infra/size.dart';import 'package:flowy_infra/theme_extension.dart';import 'package:flowy_infra_ui/flowy_infra_ui.dart';+import 'package:flowy_infra_ui/widget/flowy_tooltip.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';@@ -375,9 +376,13 @@ class _UnscheduledEventsButtonState extends State<UnscheduledEventsButton> {_popoverController.show();}},- child: FlowyText.regular(- "${LocaleKeys.calendar_settings_noDateTitle.tr()} (${state.unscheduleEvents.length})",- fontSize: 10,+ child: FlowyTooltip(+ message: LocaleKeys.calendar_settings_noDateHint+ .plural(state.unscheduleEvents.length),+ child: FlowyText.regular(+ "${LocaleKeys.calendar_settings_noDateTitle.tr()} (${state.unscheduleEvents.length})",+ fontSize: 10,+ ),),),popupBuilder: (context) {diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.jsonindex 76185d7b70..1915afd372 100644--- a/frontend/resources/translations/en.json+++ b/frontend/resources/translations/en.json@@ -771,7 +771,11 @@"firstDayOfWeek": "Start week on","layoutDateField": "Layout calendar by","noDateTitle": "No Date",- "noDateHint": "Unscheduled events will show up here",+ "noDateHint": {+ "zero": "Unscheduled events will show up here",+ "one": "{} unscheduled event",+ "other": "{} unscheduled events"+ },"clickToAdd": "Click to add to the calendar","name": "Calendar layout"},