Skip to content

Commit c3bfae8

Browse files
LucasXu0Ahad-patelrichardshiue
authored
chore: bump version 0.7.7 (#6951)
* feat: add same delete design in database (#6620) * add same delete design in database * fix: remove padding when widget is null or function is null * fix(desktop): resize sidebar menu regression (#6897) * fix: initial ai chat load (#6920) * fix: unable to open local file using afLaunchUrl function (#6927) * fix: unable to open local file using afLaunchUrl function * chore: use the latest api to open the local file * chore: use the latest api to open the local file * chore: use the latest api to open the local file * test: add local paht regex test * fix(flutter): implement mention date transaction handler (#6933) * fix: implement mention date transaction handler * test: add integration tests * chore: code cleanup * chore: early return if null delta * fix(flutter_desktop): clicking on empty space when editing a cell sho… (#6949) * fix(flutter_desktop): clicking on empty space when editing a cell shouldn't close event card * test: fix integration tests * chore: bump version 0.7.7 * fix: hotfix issues for v0.7.7 (#6948) * fix: include link preview block and file block in exported markdown * test: include link preview block and file block in exported markdown * chore: remove unused logs * chore: update editor version * fix: "+" menu should be close after pressing space * test: cancel inline page reference menu by space * chore: update editor version * chore: remove unused logs --------- Co-authored-by: Ahad Patel <[email protected]> Co-authored-by: Richard Shiue <[email protected]>
1 parent d3c7d4b commit c3bfae8

File tree

52 files changed

+990
-114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+990
-114
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Release Notes
2+
## Version 0.7.6 - 03/12/2024
3+
### Bug Fixes
4+
5+
26
## Version 0.7.6 - 03/12/2024
37
### New Features
48
- Revamped the simple table UI

Diff for: frontend/Makefile.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
2626
CARGO_MAKE_CRATE_FS_NAME = "dart_ffi"
2727
CARGO_MAKE_CRATE_NAME = "dart-ffi"
2828
LIB_NAME = "dart_ffi"
29-
APPFLOWY_VERSION = "0.7.6"
29+
APPFLOWY_VERSION = "0.7.7"
3030
FLUTTER_DESKTOP_FEATURES = "dart"
3131
PRODUCT_NAME = "AppFlowy"
3232
MACOSX_DEPLOYMENT_TARGET = "11.0"

Diff for: frontend/appflowy_flutter/integration_test/desktop/database/database_calendar_test.dart

+2
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ void main() {
301301
await tester.createOption(name: "qwer");
302302
await tester.selectOption(name: "asdf");
303303
await tester.dismissCellEditor();
304+
await tester.dismissCellEditor();
304305

305306
await tester.tapDatabaseFilterButton();
306307
await tester.tapCreateFilterByFieldType(FieldType.MultiSelect, "Tags");
@@ -332,6 +333,7 @@ void main() {
332333
await tester.tapButton(finderForFieldType(FieldType.MultiSelect));
333334
await tester.selectOption(name: "asdf");
334335
await tester.dismissCellEditor();
336+
await tester.dismissCellEditor();
335337

336338
tester.assertNumberOfEventsInCalendar(0);
337339

Diff for: frontend/appflowy_flutter/integration_test/desktop/document/document_inline_sub_page_test.dart

+19-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import 'dart:io';
22

33
import 'package:appflowy/generated/locale_keys.g.dart';
44
import 'package:appflowy/plugins/document/presentation/editor_plugins/mention/mention_page_block.dart';
5+
import 'package:appflowy/plugins/inline_actions/inline_actions_menu.dart';
56
import 'package:appflowy/workspace/presentation/home/menu/view/view_action_type.dart';
7+
import 'package:appflowy_backend/protobuf/flowy-folder/view.pb.dart';
68
import 'package:appflowy_editor/appflowy_editor.dart';
79
import 'package:easy_localization/easy_localization.dart';
810
import 'package:flutter/services.dart';
9-
10-
import 'package:appflowy_backend/protobuf/flowy-folder/view.pb.dart';
1111
import 'package:flutter_test/flutter_test.dart';
1212
import 'package:integration_test/integration_test.dart';
1313

@@ -330,6 +330,23 @@ void main() {
330330
expect(find.text("$_createdPageName (copy)"), findsNWidgets(2));
331331
expect(find.text("$_createdPageName (copy) (copy)"), findsOneWidget);
332332
});
333+
334+
testWidgets('Cancel inline page reference menu by space', (tester) async {
335+
await tester.initializeAppFlowy();
336+
await tester.tapAnonymousSignInButton();
337+
await tester.createOpenRenameDocumentUnderParent(name: _firstDocName);
338+
339+
await tester.editor.tapLineOfEditorAt(0);
340+
await tester.editor.showPlusMenu();
341+
342+
// Cancel by space
343+
await tester.simulateKeyEvent(
344+
LogicalKeyboardKey.space,
345+
);
346+
await tester.pumpAndSettle();
347+
348+
expect(find.byType(InlineActionsMenu), findsNothing);
349+
});
333350
});
334351
}
335352

0 commit comments

Comments
 (0)