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: remove the unit tests of Windows and macOS (#3771)
Lucas.Xu95aeac201f04
diff --git a/.github/workflows/flutter_ci.yaml b/.github/workflows/flutter_ci.yamlindex 4d931a1fbe..f65401aa24 100644--- a/.github/workflows/flutter_ci.yaml+++ b/.github/workflows/flutter_ci.yaml@@ -136,7 +136,7 @@ jobs:strategy:fail-fast: falsematrix:- os: [ubuntu-latest, macos-latest, windows-latest]+ os: [ubuntu-latest]include:- os: ubuntu-latestflutter_profile: development-linux-x86_64diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/more/font_size_switcher.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/more/font_size_switcher.dartindex fd76b579f3..5242db91e0 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/more/font_size_switcher.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/more/font_size_switcher.dart@@ -27,19 +27,15 @@ class _FontSizeSwitcherState extends State<FontSizeSwitcher> {_FontSizeSelection? _selection;- @override- void initState() {- super.initState();-- _selection = _fontSizes.firstWhereOrNull((element) => element.$3);- }-@overrideWidget build(BuildContext context) {final selectedBgColor = AFThemeExtension.of(context).toggleButtonBGColor;final foregroundColor = Theme.of(context).colorScheme.onBackground;return BlocBuilder<DocumentAppearanceCubit, DocumentAppearance>(builder: (context, state) {+ _selection = _fontSizes.firstWhereOrNull(+ (element) => element.$2 == state.fontSize,+ );return Column(crossAxisAlignment: CrossAxisAlignment.start,children: [diff --git a/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart b/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dartindex 3a0e3a71a3..265f36c3ec 100644--- a/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart+++ b/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart@@ -6,7 +6,6 @@ import 'package:appflowy/workspace/application/settings/appearance/appearance_cuimport 'package:appflowy/workspace/application/settings/notifications/notification_settings_cubit.dart';import 'package:appflowy_backend/log.dart';import 'package:appflowy_backend/protobuf/flowy-user/protobuf.dart';-import 'package:appflowy_editor/appflowy_editor.dart' hide Log;import 'package:easy_localization/easy_localization.dart';import 'package:flowy_infra/theme.dart';import 'package:flowy_infra_ui/flowy_infra_ui.dart';@@ -145,10 +144,7 @@ class _ApplicationWidgetState extends State<ApplicationWidget> {theme: state.lightTheme,darkTheme: state.darkTheme,themeMode: state.themeMode,- localizationsDelegates: [- ...context.localizationDelegates,- AppFlowyEditorLocalizations.delegate- ],+ localizationsDelegates: context.localizationDelegates,supportedLocales: context.supportedLocales,locale: state.locale,routerConfig: routerConfig,diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lockindex 7588317892..278e8d2306 100644--- a/frontend/appflowy_flutter/pubspec.lock+++ b/frontend/appflowy_flutter/pubspec.lock@@ -54,11 +54,11 @@ packages:dependency: "direct main"description:path: "."- ref: "6d163b8"- resolved-ref: "6d163b88976f6481c4eea5e91c0ed4d68378e56f"+ ref: a573847+ resolved-ref: a573847a24ad25441b176f783f1e09bc5a9e08adurl: "https://github.com/AppFlowy-IO/appflowy-editor.git"source: git- version: "1.4.4"+ version: "1.5.0"appflowy_popover:dependency: "direct main"description:@@ -749,10 +749,10 @@ packages:dependency: transitivedescription:name: irondash_engine_context- sha256: "559d4f156ba4d9a33c48185a1d7d5e887083bb601b0b130180d0aae3c1449338"+ sha256: f66a1af95756d5fece5034d357853d0127e09b9e4ef58be1f022ca47e11c6f7eurl: "https://pub.dev"source: hosted- version: "0.4.0-dev.2"+ version: "0.4.0"irondash_message_channel:dependency: transitivedescription:@@ -1430,6 +1430,14 @@ packages:url: "https://pub.dev"source: hostedversion: "1.9.1"+ sprintf:+ dependency: transitive+ description:+ name: sprintf+ sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23"+ url: "https://pub.dev"+ source: hosted+ version: "7.0.0"stack_trace:dependency: transitivedescription:@@ -1507,18 +1515,18 @@ packages:dependency: "direct main"description:name: super_clipboard- sha256: "80f7f42e9778101d77e930dcd9206cf72a1d8b696b3cbc1e3f9cbeb71ac4cde7"+ sha256: "67496ce89d45e63960541b4907557e7138ee80d1c68a59d87e4d67310eeadbb6"url: "https://pub.dev"source: hosted- version: "0.7.0-dev.5"+ version: "0.7.1"super_native_extensions:dependency: transitivedescription:name: super_native_extensions- sha256: e3903ee807e82a930288811cf1b31a0dee30378bb544f30e3ea58d0ed2f884f2+ sha256: e9ff692aa13c3d489220c9be3c85653fb8b1c7e39ba5fe4c8dcee7f97c0e4337url: "https://pub.dev"source: hosted- version: "0.7.0-dev.5"+ version: "0.7.1"sync_http:dependency: transitivedescription:@@ -1721,13 +1729,13 @@ packages:source: gitversion: "1.0.0"uuid:- dependency: transitive+ dependency: "direct overridden"description:name: uuid- sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313"+ sha256: b715b8d3858b6fa9f68f87d20d98830283628014750c2b09b6f516c1da4af2a7url: "https://pub.dev"source: hosted- version: "3.0.7"+ version: "4.1.0"vector_graphics:dependency: transitivedescription:diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yamlindex 3260ab2032..3ae4295a50 100644--- a/frontend/appflowy_flutter/pubspec.yaml+++ b/frontend/appflowy_flutter/pubspec.yaml@@ -47,7 +47,7 @@ dependencies:appflowy_editor:git:url: https://github.com/AppFlowy-IO/appflowy-editor.git- ref: "6d163b8"+ ref: "a573847"appflowy_popover:path: packages/appflowy_popover@@ -106,7 +106,7 @@ dependencies:url_protocol:hive: ^2.2.3hive_flutter: ^1.1.0- super_clipboard: ^0.7.0-dev.4+ super_clipboard: ^0.7.1go_router: ^10.1.2string_validator: ^1.0.0unsplash_client: ^2.1.1@@ -137,6 +137,7 @@ dev_dependencies:dependency_overrides:http: ^1.0.0+ uuid: ^4.1.0supabase_flutter:git: