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
fix: filter chat page when duplicating (#5676)
Lucas.Xu6d0c9f766bd7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 79d7e607e2..f973b99f42 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,7 +1,13 @@# Release Notes## Version 0.6.2 - 01/07/2024### New Features+- Added support for duplicating spaces.+- Added support for moving pages across spaces.+- Undo markdown formatting with `Ctrl + Z` or `Cmd + Z`.+- Improved shortcuts settings UI.### Bug Fixes+- Fixed unable to zoom in with `Ctrl` and `+` or `Cmd` and `+` on some keyboards.+- Fixed unable to paste nested lists in existing lists.## Version 0.6.1 - 22/06/2024### New Featuresdiff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dartindex ea94d31df3..bf2ad68e16 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart@@ -214,7 +214,11 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage> {AFFocusManager? focusManager;- void _loseFocus() => widget.editorState.selection = null;+ void _loseFocus() {+ if (!widget.editorState.isDisposed) {+ widget.editorState.selection = null;+ }+ }@overridevoid initState() {diff --git a/frontend/rust-lib/flowy-folder/src/manager.rs b/frontend/rust-lib/flowy-folder/src/manager.rsindex adcbe416ac..39ee2fa5de 100644--- a/frontend/rust-lib/flowy-folder/src/manager.rs+++ b/frontend/rust-lib/flowy-folder/src/manager.rs@@ -885,7 +885,7 @@ impl FolderManager {// reverse the child views to keep the orderfor child_view in child_views.iter().rev() {// skip the view_id should be filtered and the child_view is the duplicated view- if !filtered_view_ids.contains(&child_view.id) {+ if !filtered_view_ids.contains(&child_view.id) && child_view.layout != ViewLayout::Chat {stack.push((child_view.id.clone(), duplicated_view.id.clone()));}}