Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: filter chat page when duplicating #5676

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

@override
void initState() {
Expand Down
2 changes: 1 addition & 1 deletion frontend/rust-lib/flowy-folder/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ impl FolderManager {
// reverse the child views to keep the order
for 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()));
}
}
Expand Down
Loading