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.

feat: ensure the ai writer block visible when generating result

Lucas.Xuba1dfc6de409
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart
index 83e300146e..b5f32d9f3c 100644
--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart
+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart
@@ -366,7 +366,9 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage>
contextMenuItems: customContextMenuItems,
// customize the header and footer.
header: widget.header,
-
+ autoScrollEdgeOffset: UniversalPlatform.isDesktopOrWeb
+ ? 250
+ : appFlowyEditorAutoScrollEdgeOffset,
footer: GestureDetector(
behavior: HitTestBehavior.translucent,
onTap: () async {
@@ -375,7 +377,7 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage>
},
child: SizedBox(
width: double.infinity,
- height: UniversalPlatform.isDesktopOrWeb ? 200 : 400,
+ height: UniversalPlatform.isDesktopOrWeb ? 300 : 400,
),
),
dropTargetStyle: AppFlowyDropTargetStyle(
diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lock
index c29671f625..7f66b1d87a 100644
--- a/frontend/appflowy_flutter/pubspec.lock
+++ b/frontend/appflowy_flutter/pubspec.lock
@@ -90,8 +90,8 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: "63e92c1"
- resolved-ref: "63e92c19f506dab795d6e1829f82e63a073e7f11"
+ ref: c802beb
+ resolved-ref: c802beb8b97ca6261a4ca96db0e1e920e3f3a570
url: "https://github.com/AppFlowy-IO/appflowy-editor.git"
source: git
version: "5.1.0"
diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yaml
index 29cf86decf..324332df18 100644
--- a/frontend/appflowy_flutter/pubspec.yaml
+++ b/frontend/appflowy_flutter/pubspec.yaml
@@ -180,7 +180,7 @@ dependency_overrides:
appflowy_editor:
git:
url: https://github.com/AppFlowy-IO/appflowy-editor.git
- ref: "63e92c1"
+ ref: "c802beb"
appflowy_editor_plugins:
git: