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
chore: pick commits from release/0.9.1 (#7874)
Lucasa2b1f8c325ad
diff --git a/frontend/appflowy_flutter/assets/test/workspaces/database/v069.afdb b/frontend/appflowy_flutter/assets/test/workspaces/database/v069.afdbindex 9c497cff5d..42a53528ff 100644--- a/frontend/appflowy_flutter/assets/test/workspaces/database/v069.afdb+++ b/frontend/appflowy_flutter/assets/test/workspaces/database/v069.afdb@@ -8,7 +8,7 @@"{""data"":""Juan"",""last_modified"":1726063423,""created_at"":1726063423,""field_type"":0}","{""created_at"":1726122510,""reminder_id"":"""",""include_time"":false,""is_range"":true,""last_modified"":1726122515,""data"":""1725604115"",""end_timestamp"":""1725776915"",""field_type"":2}","{""field_type"":1,""created_at"":1726063677,""last_modified"":1726063677,""data"":""93100""}","{""field_type"":1,""data"":""4.86"",""created_at"":1726062597,""last_modified"":1726062597}",,"{""last_modified"":1726062377,""field_type"":5,""data"":""Yes"",""created_at"":1726062377}","{""last_modified"":1726064412,""field_type"":7,""data"":""{\""options\"":[{\""id\"":\""tTDq\"",\""name\"":\""complete onboarding\"",\""color\"":\""Purple\""},{\""id\"":\""E8Ds\"",\""name\"":\""contact support\"",\""color\"":\""Purple\""},{\""id\"":\""RoGN\"",\""name\"":\""get started\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[\""tTDq\"",\""E8Ds\""]}"",""created_at"":1726064396}",,"{""created_at"":1726065278,""field_type"":3,""data"":""qnja"",""last_modified"":1726065278}","{""data"":""R9I7,yORP,1i4f"",""field_type"":4,""created_at"":1726105126,""last_modified"":1726105127}","{""data"":""1726122515"",""field_type"":8}","{""data"":""1726060541"",""field_type"":9}""{""data"":""Alex"",""created_at"":1726063432,""last_modified"":1726063432,""field_type"":0}","{""reminder_id"":"""",""data"":""1725292800"",""include_time"":true,""last_modified"":1726122448,""created_at"":1726122422,""is_range"":true,""end_timestamp"":""1725551940"",""field_type"":2}","{""field_type"":1,""last_modified"":1726063683,""created_at"":1726063683,""data"":""3560""}","{""created_at"":1726062561,""data"":""1.96"",""last_modified"":1726062561,""field_type"":1}","{""last_modified"":1726063952,""created_at"":1726063931,""data"":""[email protected]"",""field_type"":6}","{""last_modified"":1726062375,""field_type"":5,""created_at"":1726062375,""data"":""Yes""}","{""data"":""{\""options\"":[{\""id\"":\""qNyr\"",\""name\"":\""finish reading book\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[]}"",""created_at"":1726064616,""last_modified"":1726064616,""field_type"":7}",,"{""data"":""qnja"",""created_at"":1726065272,""last_modified"":1726065272,""field_type"":3}","{""created_at"":1726105180,""last_modified"":1726105180,""field_type"":4,""data"":""R9I7,1i4f""}","{""field_type"":8,""data"":""1726122448""}","{""field_type"":9,""data"":""1726060541""}""{""last_modified"":1726063478,""created_at"":1726063436,""field_type"":0,""data"":""Alexander""}",,"{""field_type"":1,""last_modified"":1726063691,""created_at"":1726063691,""data"":""2073""}","{""field_type"":1,""data"":""0.5"",""last_modified"":1726062577,""created_at"":1726062577}","{""last_modified"":1726063991,""field_type"":6,""created_at"":1726063991,""data"":""[email protected]""}","{""field_type"":5,""last_modified"":1726062378,""created_at"":1726062377,""data"":""No""}",,,"{""created_at"":1726065291,""data"":""GSf_"",""last_modified"":1726065291,""field_type"":3}","{""last_modified"":1726105142,""created_at"":1726105133,""data"":""SEUo"",""field_type"":4}","{""field_type"":8,""data"":""1726105142""}","{""field_type"":9,""data"":""1726060542""}"-"{""field_type"":0,""created_at"":1726063454,""last_modified"":1726063454,""data"":""George""}","{""created_at"":1726122467,""end_timestamp"":""1726468070"",""include_time"":false,""is_range"":true,""reminder_id"":"""",""field_type"":2,""data"":""1726295270"",""last_modified"":1726122470}",,,"{""field_type"":6,""data"":""[email protected]"",""last_modified"":1726064104,""created_at"":1726064016}","{""last_modified"":1726062376,""created_at"":1726062376,""field_type"":5,""data"":""Yes""}","{""data"":""{\""options\"":[{\""id\"":\""s_dQ\"",\""name\"":\""bug triage\"",\""color\"":\""Purple\""},{\""id\"":\""-Zfo\"",\""name\"":\""fix bugs\"",\""color\"":\""Purple\""},{\""id\"":\""wsDN\"",\""name\"":\""attend meetings\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[\""s_dQ\"",\""-Zfo\""]}"",""last_modified"":1726064468,""created_at"":1726064424,""field_type"":7}","{""data"":[""{\""id\"":\""8a77f84d-64e9-4e67-b902-fa23980459ec\"",\""name\"":\""BQdTmxpRI6f.png\"",\""url\"":\""https://static.cdninstagram.com/rsrc.php/v3/ym/r/BQdTmxpRI6f.png\"",\""upload_type\"":\""NetworkMedia\"",\""file_type\"":\""Image\""}""],""field_type"":14,""created_at"":1726122956,""last_modified"":1726122956}","{""field_type"":3,""data"":""qnja"",""created_at"":1726065313,""last_modified"":1726065313}","{""data"":""R9I7,yORP"",""field_type"":4,""last_modified"":1726105198,""created_at"":1726105187}","{""data"":""1726122956"",""field_type"":8}","{""data"":""1726060543"",""field_type"":9}"+"{""field_type"":0,""created_at"":1726063454,""last_modified"":1726063454,""data"":""George""}","{""created_at"":1726122467,""end_timestamp"":""1726468070"",""include_time"":false,""is_range"":true,""reminder_id"":"""",""field_type"":2,""data"":""1726295270"",""last_modified"":1726122470}",,,"{""field_type"":6,""data"":""[email protected]"",""last_modified"":1726064104,""created_at"":1726064016}","{""last_modified"":1726062376,""created_at"":1726062376,""field_type"":5,""data"":""Yes""}","{""data"":""{\""options\"":[{\""id\"":\""s_dQ\"",\""name\"":\""bug triage\"",\""color\"":\""Purple\""},{\""id\"":\""-Zfo\"",\""name\"":\""fix bugs\"",\""color\"":\""Purple\""},{\""id\"":\""wsDN\"",\""name\"":\""attend meetings\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[\""s_dQ\"",\""-Zfo\""]}"",""last_modified"":1726064468,""created_at"":1726064424,""field_type"":7}","{""data"":[""{\""id\"":\""8a77f84d-64e9-4e67-b902-fa23980459ec\"",\""name\"":\""BQdTmxpRI6f.png\"",\""url\"":\""https://file-examples.com/wp-content/storage/2017/10/file_example_PNG_500kB.png\"",\""upload_type\"":\""NetworkMedia\"",\""file_type\"":\""Image\""}""],""field_type"":14,""created_at"":1726122956,""last_modified"":1726122956}","{""field_type"":3,""data"":""qnja"",""created_at"":1726065313,""last_modified"":1726065313}","{""data"":""R9I7,yORP"",""field_type"":4,""last_modified"":1726105198,""created_at"":1726105187}","{""data"":""1726122956"",""field_type"":8}","{""data"":""1726060543"",""field_type"":9}""{""field_type"":0,""last_modified"":1726063467,""data"":""Joanna"",""created_at"":1726063467}","{""include_time"":false,""end_timestamp"":""1727072893"",""is_range"":true,""last_modified"":1726122493,""created_at"":1726122483,""data"":""1726554493"",""field_type"":2,""reminder_id"":""""}","{""last_modified"":1726065463,""data"":""16470"",""field_type"":1,""created_at"":1726065463}","{""created_at"":1726062626,""field_type"":1,""last_modified"":1726062626,""data"":""-5.36""}","{""last_modified"":1726064069,""data"":""[email protected]"",""created_at"":1726064069,""field_type"":6}",,"{""field_type"":7,""created_at"":1726064444,""last_modified"":1726064460,""data"":""{\""options\"":[{\""id\"":\""ZxJz\"",\""name\"":\""post on Twitter\"",\""color\"":\""Purple\""},{\""id\"":\""upwi\"",\""name\"":\""watch Youtube videos\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[\""upwi\""]}""}",,"{""created_at"":1726065317,""last_modified"":1726065317,""field_type"":3,""data"":""qnja""}","{""field_type"":4,""last_modified"":1726105173,""data"":""uRAO,yORP"",""created_at"":1726105170}","{""data"":""1726122493"",""field_type"":8}","{""data"":""1726060545"",""field_type"":9}""{""last_modified"":1726063457,""created_at"":1726063457,""data"":""George"",""field_type"":0}","{""include_time"":true,""reminder_id"":"""",""field_type"":2,""is_range"":true,""created_at"":1726122521,""end_timestamp"":""1725829200"",""data"":""1725822900"",""last_modified"":1726122535}","{""last_modified"":1726065493,""field_type"":1,""data"":""9500"",""created_at"":1726065493}","{""last_modified"":1726062680,""created_at"":1726062680,""field_type"":1,""data"":""1.7""}","{""data"":""[email protected]"",""field_type"":6,""last_modified"":1726064087,""created_at"":1726064036}",,"{""last_modified"":1726064513,""data"":""{\""options\"":[{\""id\"":\""zy0x\"",\""name\"":\""game vs celtics\"",\""color\"":\""Purple\""},{\""id\"":\""WJsv\"",\""name\"":\""training\"",\""color\"":\""Purple\""},{\""id\"":\""w-f8\"",\""name\"":\""game vs spurs\"",\""color\"":\""Purple\""},{\""id\"":\""p1VQ\"",\""name\"":\""game vs knicks\"",\""color\"":\""Purple\""},{\""id\"":\""VjUA\"",\""name\"":\""recovery\"",\""color\"":\""Purple\""},{\""id\"":\""sQ8X\"",\""name\"":\""don't get injured\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[]}"",""created_at"":1726064486,""field_type"":7}",,"{""field_type"":3,""last_modified"":1726065310,""data"":""qnja"",""created_at"":1726065310}","{""created_at"":1726105205,""field_type"":4,""last_modified"":1726105249,""data"":""R9I7,1i4f,yORP,SEUo""}","{""data"":""1726122535"",""field_type"":8}","{""field_type"":9,""data"":""1726060546""}""{""data"":""Judy"",""created_at"":1726063475,""field_type"":0,""last_modified"":1726063487}","{""end_timestamp"":"""",""reminder_id"":"""",""data"":""1726640950"",""field_type"":2,""include_time"":false,""created_at"":1726122550,""last_modified"":1726122550,""is_range"":false}",,,"{""created_at"":1726063882,""field_type"":6,""last_modified"":1726064000,""data"":""[email protected]""}","{""last_modified"":1726062712,""field_type"":5,""data"":""Yes"",""created_at"":1726062712}","{""created_at"":1726064549,""field_type"":7,""data"":""{\""options\"":[{\""id\"":\""j8cC\"",\""name\"":\""finish training\"",\""color\"":\""Purple\""},{\""id\"":\""SmSk\"",\""name\"":\""brainwash\"",\""color\"":\""Purple\""},{\""id\"":\""mnf5\"",\""name\"":\""welcome to ba sing se\"",\""color\"":\""Purple\""},{\""id\"":\""hcrj\"",\""name\"":\""don't mess up\"",\""color\"":\""Purple\""}],\""selected_option_ids\"":[\""j8cC\"",\""SmSk\"",\""mnf5\"",\""hcrj\""]}"",""last_modified"":1726064591}",,,"{""field_type"":4,""last_modified"":1726105152,""created_at"":1726105152,""data"":""R9I7""}","{""field_type"":8,""data"":""1726122550""}","{""field_type"":9,""data"":""1726060549""}"diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart b/frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dartindex 8e6a36e068..cac9a24ae9 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_page.dart@@ -27,7 +27,6 @@ import 'package:easy_localization/easy_localization.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';import 'package:provider/provider.dart';-import 'package:sentry/sentry.dart';class MobileHomeScreen extends StatelessWidget {const MobileHomeScreen({super.key});@@ -65,14 +64,6 @@ class MobileHomeScreen extends StatelessWidget {return const WorkspaceFailedScreen();}- Sentry.configureScope(- (scope) => scope.setUser(- SentryUser(- id: userProfile.id.toString(),- ),- ),- );-return Scaffold(body: SafeArea(bottom: false,diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_page.dart b/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_page.dartindex 6da0194df5..5be836185e 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_page.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_page.dart@@ -10,7 +10,6 @@ import 'package:easy_localization/easy_localization.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';import 'package:provider/provider.dart';-import 'package:sentry_flutter/sentry_flutter.dart';import 'mobile_search_ask_ai_entrance.dart';import 'mobile_search_result.dart';@@ -54,13 +53,6 @@ class MobileSearchScreen extends StatelessWidget {return const WorkspaceFailedScreen();}- Sentry.configureScope(- (scope) => scope.setUser(- SentryUser(- id: userProfile.id.toString(),- ),- ),- );return Provider.value(value: userProfile,child: MobileSearchPage(diff --git a/frontend/appflowy_flutter/lib/startup/startup.dart b/frontend/appflowy_flutter/lib/startup/startup.dartindex 781632c69f..88d0640af0 100644--- a/frontend/appflowy_flutter/lib/startup/startup.dart+++ b/frontend/appflowy_flutter/lib/startup/startup.dart@@ -121,7 +121,6 @@ class FlowyRunner {// don't catch errors in test modeif (!mode.isUnitTest && !mode.isIntegrationTest)const PlatformErrorCatcherTask(),- if (!mode.isUnitTest) const InitSentryTask(),// this task should be second task, for handling memory leak.// there's a flag named _enable in memory_leak_detector.dart. If it's false, the task will be ignored.MemoryLeakDetectorTask(),diff --git a/frontend/appflowy_flutter/lib/startup/tasks/prelude.dart b/frontend/appflowy_flutter/lib/startup/tasks/prelude.dartindex 9e8f9df49a..da0f49863c 100644--- a/frontend/appflowy_flutter/lib/startup/tasks/prelude.dart+++ b/frontend/appflowy_flutter/lib/startup/tasks/prelude.dart@@ -13,5 +13,4 @@ export 'platform_error_catcher.dart';export 'platform_service.dart';export 'recent_service_task.dart';export 'rust_sdk.dart';-export 'sentry.dart';export 'windows.dart';diff --git a/frontend/appflowy_flutter/lib/startup/tasks/sentry.dart b/frontend/appflowy_flutter/lib/startup/tasks/sentry.dartdeleted file mode 100644index d65e25fec6..0000000000--- a/frontend/appflowy_flutter/lib/startup/tasks/sentry.dart+++ /dev/null@@ -1,30 +0,0 @@-import 'package:appflowy/env/env.dart';-import 'package:appflowy_backend/log.dart';-import 'package:sentry_flutter/sentry_flutter.dart';--import '../startup.dart';--class InitSentryTask extends LaunchTask {- const InitSentryTask();-- @override- Future<void> initialize(LaunchContext context) async {- await super.initialize(context);-- const dsn = Env.sentryDsn;- if (dsn.isEmpty) {- Log.info('Sentry DSN is not set, skipping initialization');- return;- }-- Log.info('Initializing Sentry');-- await SentryFlutter.init(- (options) {- options.dsn = dsn;- options.tracesSampleRate = 0.1;- options.profilesSampleRate = 0.1;- },- );- }-}diff --git a/frontend/appflowy_flutter/lib/workspace/application/sidebar/billing/sidebar_plan_bloc.dart b/frontend/appflowy_flutter/lib/workspace/application/sidebar/billing/sidebar_plan_bloc.dartindex 56d6ae8cc8..15b6e49c32 100644--- a/frontend/appflowy_flutter/lib/workspace/application/sidebar/billing/sidebar_plan_bloc.dart+++ b/frontend/appflowy_flutter/lib/workspace/application/sidebar/billing/sidebar_plan_bloc.dart@@ -194,8 +194,18 @@ class SidebarPlanBloc extends Bloc<SidebarPlanEvent, SidebarPlanState> {).getWorkspaceUsage().then((result) {result.fold((usage) {- if (!isClosed && usage != null) {- add(SidebarPlanEvent.updateWorkspaceUsage(usage));+ if (!isClosed) {+ // if the user cannot fetch the workspace usage,+ // clear the tier indicator+ if (usage == null) {+ add(+ const SidebarPlanEvent.updateTierIndicator(+ SidebarToastTierIndicator.loading(),+ ),+ );+ } else {+ add(SidebarPlanEvent.updateWorkspaceUsage(usage));+ }}},(error) => Log.error("Failed to get workspace usage: $error"),diff --git a/frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dart b/frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dartindex ae6220994e..b5ef9bd541 100644--- a/frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dart+++ b/frontend/appflowy_flutter/lib/workspace/application/workspace/workspace_service.dart@@ -1,6 +1,5 @@import 'dart:async';-import 'package:appflowy/shared/af_role_pb_extension.dart';import 'package:appflowy_backend/dispatch/dispatch.dart';import 'package:appflowy_backend/protobuf/flowy-error/errors.pb.dart';import 'package:appflowy_backend/protobuf/flowy-folder/protobuf.dart';@@ -86,17 +85,6 @@ class WorkspaceService {}Future<FlowyResult<WorkspaceUsagePB?, FlowyError>> getWorkspaceUsage() async {- final request = WorkspaceMemberIdPB()..uid = userId;- final result = await UserEventGetMemberInfo(request).send();- final isOwner = result.fold(- (member) => member.role.isOwner,- (_) => false,- );-- if (!isOwner) {- return FlowyResult.success(null);- }-final payload = UserWorkspaceIdPB(workspaceId: workspaceId);return UserEventGetWorkspaceUsage(payload).send();}diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/desktop_home_screen.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/desktop_home_screen.dartindex 39055bf93b..36dfb84586 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/home/desktop_home_screen.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/desktop_home_screen.dart@@ -26,7 +26,6 @@ import 'package:appflowy_backend/protobuf/flowy-user/protobuf.dart'import 'package:flowy_infra_ui/style_widget/container.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';-import 'package:sentry/sentry.dart';import 'package:sized_context/sized_context.dart';import 'package:styled_widget/styled_widget.dart';@@ -70,14 +69,6 @@ class DesktopHomeScreen extends StatelessWidget {return const WorkspaceFailedScreen();}- Sentry.configureScope(- (scope) => scope.setUser(- SentryUser(- id: userProfile.id.toString(),- ),- ),- );-return AFFocusManager(child: MultiBlocProvider(key: ValueKey(userProfile.id),diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/sites/domain/domain_item.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/sites/domain/domain_item.dartindex b1d9b9cdae..0641782d78 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/sites/domain/domain_item.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/sites/domain/domain_item.dart@@ -236,7 +236,7 @@ class _FreePlanUpgradeButton extends StatelessWidget {return Container(alignment: Alignment.centerLeft,child: FlowyTooltip(- message: LocaleKeys.settings_sites_namespace_upgradeToPro.tr(),+ message: LocaleKeys.settings_sites_homePage_upgradeToPro.tr(),child: PrimaryRoundedButton(text: 'Pro ↗',fontSize: 12.0,@@ -255,7 +255,7 @@ class _FreePlanUpgradeButton extends StatelessWidget {showToastNotification(message:LocaleKeys.settings_sites_namespace_redirectToPayment.tr(),- type: ToastificationType.info,+ type: ToastificationType.error,);context.read<SettingsSitesBloc>().add(@@ -266,7 +266,7 @@ class _FreePlanUpgradeButton extends StatelessWidget {message: LocaleKeys.settings_sites_namespace_pleaseAskOwnerToSetHomePage.tr(),- type: ToastificationType.info,+ type: ToastificationType.error,);}},diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/members/inivitation/inivite_member_by_link.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/members/inivitation/inivite_member_by_link.dartindex 6a48e12215..236651ebfa 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/members/inivitation/inivite_member_by_link.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/members/inivitation/inivite_member_by_link.dart@@ -4,6 +4,7 @@ import 'package:appflowy/startup/startup.dart';import 'package:appflowy/workspace/presentation/home/menu/sidebar/space/shared_widget.dart';import 'package:appflowy/workspace/presentation/settings/widgets/members/workspace_member_bloc.dart';import 'package:appflowy/workspace/presentation/widgets/dialogs.dart';+import 'package:appflowy_backend/protobuf/flowy-user/workspace.pbenum.dart';import 'package:appflowy_ui/appflowy_ui.dart';import 'package:easy_localization/easy_localization.dart';import 'package:flutter/gestures.dart';@@ -86,11 +87,14 @@ class _Description extends StatelessWidget {Future<void> _onGenerateInviteLink(BuildContext context) async {final state = context.read<WorkspaceMemberBloc>().state;+ final subscriptionInfo = state.subscriptionInfo;final inviteLink = state.inviteLink;// check the current workspace member count, if it exceed the limit, show a upgrade dialog.// prevent hard code here, because the member count may exceed the limit after the invite link is generated.- if (inviteLink == null && state.members.length >= 3) {+ if (inviteLink == null &&+ subscriptionInfo?.plan == WorkspacePlanPB.FreePlan &&+ state.members.length >= 2) {await showConfirmDialog(context: context,title:@@ -165,9 +169,11 @@ class _CopyLinkButtonState extends State<_CopyLinkButton> {),onTap: () async {final state = context.read<WorkspaceMemberBloc>().state;+ final subscriptionInfo = state.subscriptionInfo;// check the current workspace member count, if it exceed the limit, show a upgrade dialog.// prevent hard code here, because the member count may exceed the limit after the invite link is generated.- if (state.members.length >= 3) {+ if (subscriptionInfo?.plan == WorkspacePlanPB.FreePlan &&+ state.members.length >= 2) {await showConfirmDialog(context: context,title: LocaleKeysdiff --git a/frontend/appflowy_flutter/macos/Podfile.lock b/frontend/appflowy_flutter/macos/Podfile.lockindex 6b4b65908c..879f010c46 100644--- a/frontend/appflowy_flutter/macos/Podfile.lock+++ b/frontend/appflowy_flutter/macos/Podfile.lock@@ -36,11 +36,6 @@ PODS:- ReachabilitySwift (5.2.4)- screen_retriever_macos (0.0.1):- FlutterMacOS- - Sentry/HybridSDK (8.46.0)- - sentry_flutter (8.14.2):- - Flutter- - FlutterMacOS- - Sentry/HybridSDK (= 8.46.0)- share_plus (0.0.1):- FlutterMacOS- shared_preferences_foundation (0.0.1):@@ -77,7 +72,6 @@ DEPENDENCIES:- package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`)- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)- screen_retriever_macos (from `Flutter/ephemeral/.symlinks/plugins/screen_retriever_macos/macos`)- - sentry_flutter (from `Flutter/ephemeral/.symlinks/plugins/sentry_flutter/macos`)- share_plus (from `Flutter/ephemeral/.symlinks/plugins/share_plus/macos`)- shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`)- sqflite_darwin (from `Flutter/ephemeral/.symlinks/plugins/sqflite_darwin/darwin`)@@ -90,7 +84,6 @@ SPEC REPOS:trunk:- HotKey- ReachabilitySwift- - Sentry- SparkleEXTERNAL SOURCES:@@ -126,8 +119,6 @@ EXTERNAL SOURCES::path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwinscreen_retriever_macos::path: Flutter/ephemeral/.symlinks/plugins/screen_retriever_macos/macos- sentry_flutter:- :path: Flutter/ephemeral/.symlinks/plugins/sentry_flutter/macosshare_plus::path: Flutter/ephemeral/.symlinks/plugins/share_plus/macosshared_preferences_foundation:@@ -144,34 +135,32 @@ EXTERNAL SOURCES::path: Flutter/ephemeral/.symlinks/plugins/window_manager/macosSPEC CHECKSUMS:- app_links: 10e0a0ab602ffaf34d142cd4862f29d34b303b2a- appflowy_backend: 865496343de667fc8c600e04b9fd05234e130cf9- auto_updater_macos: 3e3462c418fe4e731917eacd8d28eef7af84086d- bitsdojo_window_macos: 44e3b8fe3dd463820e0321f6256c5b1c16bb6a00- connectivity_plus: 18d3c32514c886e046de60e9c13895109866c747- desktop_drop: 69eeff437544aa619c8db7f4481b3a65f7696898- device_info_plus: 1b14eed9bf95428983aed283a8d51cce3d8c4215- file_selector_macos: cc3858c981fe6889f364731200d6232dac1d812d- flowy_infra_ui: 03301a39ad118771adbf051a664265c61c507f38+ app_links: 9028728e32c83a0831d9db8cf91c526d16cc5468+ appflowy_backend: 464aeb3e5c6966a41641a2111e5ead72ce2695f7+ auto_updater_macos: 3a42f1a06be6981f1a18be37e6e7bf86aa732118+ bitsdojo_window_macos: 7959fb0ca65a3ccda30095c181ecb856fae48ea9+ connectivity_plus: e74b9f74717d2d99d45751750e266e55912baeb5+ desktop_drop: e0b672a7d84c0a6cbc378595e82cdb15f2970a43+ device_info_plus: 4fb280989f669696856f8b129e4a5e3cd6c48f76+ file_selector_macos: 6280b52b459ae6c590af5d78fc35c7267a3c4b31+ flowy_infra_ui: 8760ff42a789de40bf5007a5f176b454722a341eFlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24HotKey: 400beb7caa29054ea8d864c96f5ba7e5b4852277- hotkey_manager: c32bf0bfe8f934b7bc17ab4ad5c4c142960b023c- irondash_engine_context: da62996ee25616d2f01bbeb85dc115d813359478- local_notifier: e9506bc66fc70311e8bc7291fb70f743c081e4ff- package_info_plus: 12f1c5c2cfe8727ca46cbd0b26677728972d9a5b- path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46+ hotkey_manager: b443f35f4d772162937aa73fd8995e579f8ac4e2+ irondash_engine_context: 893c7d96d20ce361d7e996f39d360c4c2f9869ba+ local_notifier: ebf072651e35ae5e47280ad52e2707375cb2ae4e+ package_info_plus: f0052d280d17aa382b932f399edf32507174e870+ path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564ReachabilitySwift: 32793e867593cfc1177f5d16491e3a197d2fccda- screen_retriever_macos: 776e0fa5d42c6163d2bf772d22478df4b302b161- Sentry: da60d980b197a46db0b35ea12cb8f39af48d8854- sentry_flutter: 2df8b0aab7e4aba81261c230cbea31c82a62dd1b- share_plus: 1fa619de8392a4398bfaf176d441853922614e89- shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78+ screen_retriever_macos: 452e51764a9e1cdb74b3c541238795849f21557f+ share_plus: 510bf0af1a42cd602274b4629920c9649c52f4cc+ shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7Sparkle: 9c328bdcfbcaf8f030c4b678eadfd0fcb03822d8- sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d- super_native_extensions: 85efee3a7495b46b04befcfc86ed12069264ebf3- url_launcher_macos: c82c93949963e55b228a30115bd219499a6fe404- webview_flutter_wkwebview: 0982481e3d9c78fd5c6f62a002fcd24fc791f1e4- window_manager: 990c8e348c4da2a93b81da638245d40554ec9436+ sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0+ super_native_extensions: c2795d6d9aedf4a79fae25cb6160b71b50549189+ url_launcher_macos: 0fba8ddabfc33ce0a9afe7c5fef5aab3d8d2d673+ webview_flutter_wkwebview: 44d4dee7d7056d5ad185d25b38404436d56c547c+ window_manager: e8d0b1431ab6c454f2b5c9ae26004bbfa43469aaPODFILE CHECKSUM: 0532f3f001ca3110b8be345d6491fff690e95823diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lockindex 390c4495e4..d396a37be6 100644--- a/frontend/appflowy_flutter/pubspec.lock+++ b/frontend/appflowy_flutter/pubspec.lock@@ -1851,22 +1851,6 @@ packages:url: "https://pub.dev"source: hostedversion: "0.3.8"- sentry:- dependency: "direct main"- description:- name: sentry- sha256: "599701ca0693a74da361bc780b0752e1abc98226cf5095f6b069648116c896bb"- url: "https://pub.dev"- source: hosted- version: "8.14.2"- sentry_flutter:- dependency: "direct main"- description:- name: sentry_flutter- sha256: "5ba2cf40646a77d113b37a07bd69f61bb3ec8a73cbabe5537b05a7c89d2656f8"- url: "https://pub.dev"- source: hosted- version: "8.14.2"share_plus:dependency: "direct main"description:diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yamlindex fb086181d0..9c90559b49 100644--- a/frontend/appflowy_flutter/pubspec.yaml+++ b/frontend/appflowy_flutter/pubspec.yaml@@ -124,8 +124,6 @@ dependencies:scaled_app: ^2.3.0scroll_to_index: ^3.0.1scrollable_positioned_list: ^0.3.8- sentry: 8.14.2- sentry_flutter: 8.14.2share_plus: ^10.0.2shared_preferences: ^2.2.2sheet:diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.jsonindex b874d8cb24..9118e1c1f9 100644--- a/frontend/resources/translations/en.json+++ b/frontend/resources/translations/en.json@@ -561,6 +561,9 @@"selectHomePage": "Select a page","clearHomePage": "Clear the home page for this namespace","customUrl": "Custom URL",+ "homePage": {+ "upgradeToPro": "Upgrade to Pro Plan to set a homepage"+ },"namespace": {"description": "This change will apply to all the published pages live on this namespace","tooltip": "We reserve the rights to remove any inappropriate namespaces",@@ -3382,4 +3385,4 @@"rewrite": "Rewrite","insertBelow": "Insert below"}-}+}\ No newline at end of file