Skip to content

Commit 0fb004a

Browse files
authored
chore: bump version 0.2.7 (#3022)
* chore: bump version 0.2.7 * chore: update language files using inlang machine translation
1 parent 06bbc06 commit 0fb004a

29 files changed

+5031
-64
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Release Notes
22

3+
## Version 0.2.7 - 07/18/2023
4+
5+
### New Features
6+
7+
- Dynamic load themes
8+
- Inline math equation
9+
310
## Version 0.2.6 - 07/11/2023
411

512
### New Features

frontend/Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
2323
CARGO_MAKE_CRATE_FS_NAME = "dart_ffi"
2424
CARGO_MAKE_CRATE_NAME = "dart-ffi"
2525
LIB_NAME = "dart_ffi"
26-
CURRENT_APP_VERSION = "0.2.6"
26+
CURRENT_APP_VERSION = "0.2.7"
2727
FLUTTER_DESKTOP_FEATURES = "dart,rev-sqlite"
2828
PRODUCT_NAME = "AppFlowy"
2929
# CRATE_TYPE: https://doc.rust-lang.org/reference/linkage.html

frontend/appflowy_flutter/integration_test/document/document_with_toggle_list_test.dart

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ void main() {
4040
// insert a toggle list
4141
const text = 'This is a toggle list sample';
4242
await tester.ime.insertText('> $text');
43-
await tester.editor.updateSelection(
44-
Selection.single(
45-
path: [0],
46-
startOffset: 0,
47-
endOffset: text.length,
48-
),
49-
);
5043

5144
final editorState = tester.editor.getCurrentEditorState();
5245
final toggleList = editorState.document.nodeAtPath([0])!;
@@ -63,10 +56,8 @@ void main() {
6356
text,
6457
);
6558

66-
// Press the arrow down key to move the cursor to the next line
67-
await tester.simulateKeyEvent(
68-
LogicalKeyboardKey.arrowDown,
69-
);
59+
// Simulate pressing enter key to move the cursor to the next line
60+
await tester.ime.insertCharacter('\n');
7061
const text2 = 'This is a child node';
7162
await tester.ime.insertText(text2);
7263
expect(find.text(text2, findRichText: true), findsOneWidget);

frontend/appflowy_flutter/lib/env/env.dart

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ abstract class Env {
7777
static final bool enableSupabaseSync = _Env.enableSupabaseSync;
7878
}
7979

80-
bool get isSupabaseEnable =>
81-
Env.supabaseUrl.isNotEmpty &&
82-
Env.supabaseAnonKey.isNotEmpty &&
83-
Env.supabaseKey.isNotEmpty &&
84-
Env.supabaseJwtSecret.isNotEmpty &&
85-
Env.supabaseDb.isNotEmpty &&
86-
Env.supabaseDbUser.isNotEmpty &&
87-
Env.supabaseDbPassword.isNotEmpty &&
88-
Env.supabaseDbPort.isNotEmpty;
80+
bool get isSupabaseEnable => false;
81+
// Env.supabaseUrl.isNotEmpty &&
82+
// Env.supabaseAnonKey.isNotEmpty &&
83+
// Env.supabaseKey.isNotEmpty &&
84+
// Env.supabaseJwtSecret.isNotEmpty &&
85+
// Env.supabaseDb.isNotEmpty &&
86+
// Env.supabaseDbUser.isNotEmpty &&
87+
// Env.supabaseDbPassword.isNotEmpty &&
88+
// Env.supabaseDbPort.isNotEmpty;

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage> {
110110
super.initState();
111111

112112
indentableBlockTypes.add(ToggleListBlockKeys.type);
113+
convertibleBlockTypes.add(ToggleListBlockKeys.type);
113114
slashMenuItems = _customSlashMenuItems();
114115

115116
effectiveScrollController = widget.scrollController ?? ScrollController();

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Node toggleListBlockNode({
4040
if (textDirection != null)
4141
ToggleListBlockKeys.textDirection: textDirection,
4242
},
43-
children: children ?? [paragraphNode()],
43+
children: children ?? [],
4444
);
4545
}
4646

frontend/appflowy_flutter/pubspec.lock

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,11 @@ packages:
5252
appflowy_editor:
5353
dependency: "direct main"
5454
description:
55-
path: "."
56-
ref: "023f3c8"
57-
resolved-ref: "023f3c835dc427a932bb2022a0d213c0084ffb99"
58-
url: "https://github.com/AppFlowy-IO/appflowy-editor.git"
59-
source: git
60-
version: "1.2.0"
55+
name: appflowy_editor
56+
sha256: b30f645eac57639ff003e6920d04432b9c80a4e2f6e177326e81c221608d7044
57+
url: "https://pub.dev"
58+
source: hosted
59+
version: "1.2.1"
6160
appflowy_popover:
6261
dependency: "direct main"
6362
description:

frontend/appflowy_flutter/pubspec.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 0.2.6
18+
version: 0.2.7
1919

2020
environment:
2121
sdk: ">=3.0.0 <4.0.0"
@@ -42,10 +42,7 @@ dependencies:
4242
git:
4343
url: https://github.com/AppFlowy-IO/appflowy-board.git
4444
ref: a183c57
45-
appflowy_editor:
46-
git:
47-
url: https://github.com/AppFlowy-IO/appflowy-editor.git
48-
ref: 023f3c8
45+
appflowy_editor: ^1.2.1
4946
appflowy_popover:
5047
path: packages/appflowy_popover
5148

frontend/resources/translations/ar-SA.json

Lines changed: 123 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,5 +418,127 @@
418418
"firstDayOfWeek": "اليوم الأول من الأسبوع",
419419
"layoutDateField": "تقويم التخطيط بواسطة"
420420
}
421-
}
421+
},
422+
"youCanAlso": "بامكانك ايضا",
423+
"and": "و",
424+
"blockActions.addBelowTooltip": "انقر للإضافة أدناه",
425+
"blockActions.addAboveCmd": "Alt + انقر",
426+
"blockActions.addAboveMacCmd": "Option + انقر",
427+
"blockActions.addAboveTooltip": "لإضافة أعلاه",
428+
"signIn.loginAsGuestButtonText": "البدء",
429+
"moreAction.moreOptions": "المزيد من الخيارات",
430+
"importPanel.textAndMarkdown": "نص و Markdown",
431+
"importPanel.documentFromV010": "مستند من الإصدار 0.1.0",
432+
"importPanel.databaseFromV010": "قاعدة بيانات من الإصدار 0.1.0",
433+
"importPanel.csv": "CSV",
434+
"importPanel.database": "قاعدة البيانات",
435+
"disclosureAction.openNewTab": "افتح في علامة تبويب جديدة",
436+
"trash.confirmDeleteAll.title": "هل أنت متأكد من حذف جميع الصفحات في المهملات؟",
437+
"trash.confirmDeleteAll.caption": "لا يمكن التراجع عن هذا الإجراء.",
438+
"trash.confirmRestoreAll.title": "هل أنت متأكد من استعادة جميع الصفحات في المهملات؟",
439+
"trash.confirmRestoreAll.caption": "لا يمكن التراجع عن هذا الإجراء.",
440+
"questionBubble.feedback": "تعليق",
441+
"toolbar.addLink": "إضافة رابط",
442+
"toolbar.link": "وصلة",
443+
"tooltip.dragRow": "اضغط مطولاً لإعادة ترتيب الصف",
444+
"tooltip.addBlockBelow": "إضافة كتلة أدناه",
445+
"button.upload": "رفع",
446+
"button.edit": "يحرر",
447+
"button.delete": "يمسح",
448+
"button.duplicate": "ينسخ",
449+
"button.done": "منتهي",
450+
"button.putback": "ضعها بالخلف",
451+
"settings.menu.supabaseSetting": "إعداد Supabase",
452+
"settings.appearance.fontFamily.label": "خط العائلة",
453+
"settings.appearance.fontFamily.search": "يبحث",
454+
"settings.appearance.themeUpload.button": "رفع",
455+
"settings.appearance.themeUpload.description": "قم بتحميل قالب AppFlowy الخاص بك باستخدام الزر أدناه.",
456+
"settings.appearance.themeUpload.failure": "النسق الذي تم تحميله به تنسيق غير صالح.",
457+
"settings.appearance.themeUpload.loading": "يرجى الانتظار بينما نقوم بالتحقق من صحة السمة الخاصة بك وتحميلها ...",
458+
"settings.appearance.themeUpload.uploadSuccess": "تم تحميل موضوعك بنجاح",
459+
"settings.appearance.themeUpload.deletionFailure": "فشل حذف الموضوع. حاول حذفه يدويًا.",
460+
"settings.appearance.themeUpload.filePickerDialogTitle": "اختر ملف .flowy_plugin",
461+
"settings.appearance.themeUpload.urlUploadFailure": "فشل فتح عنوان url: {}",
462+
"settings.appearance.builtInsLabel": "ثيمات مدمجة",
463+
"settings.appearance.pluginsLabel": "الإضافات",
464+
"settings.files.copy": "ينسخ",
465+
"settings.files.exportData": "قم بتصدير بياناتك",
466+
"settings.files.selectAll": "اختر الكل",
467+
"settings.files.deselectAll": "الغاء تحديد الكل",
468+
"settings.files.defineWhereYourDataIsStored": "حدد مكان تخزين بياناتك",
469+
"settings.files.set": "تعيين",
470+
"settings.files.changeLocationTooltips": "قم بتغيير دليل البيانات",
471+
"settings.files.change": "يتغير",
472+
"settings.files.openLocationTooltips": "افتح دليل بيانات آخر",
473+
"settings.files.openCurrentDataFolder": "افتح دليل البيانات الحالي",
474+
"settings.files.recoverLocationTooltips": "إعادة التعيين إلى دليل البيانات الافتراضي لـ AppFlowy",
475+
"settings.files.exportFileSuccess": "تم تصدير الملف بنجاح!",
476+
"settings.files.exportFileFail": "فشل تصدير الملف!",
477+
"settings.files.export": "يصدّر",
478+
"grid.deleteView": "هل أنت متأكد أنك تريد حذف هذا العرض؟",
479+
"grid.createView": "جديد",
480+
"grid.settings.properties": "ملكيات",
481+
"grid.settings.reorderPropertiesTooltip": "اسحب لإعادة ترتيب الخصائص",
482+
"grid.settings.databaseLayout": "تَخطِيط",
483+
"grid.field.updatedAtFieldName": "وقت آخر تعديل",
484+
"grid.field.createdAtFieldName": "وقت الإنشاء",
485+
"grid.row.action": "فعل",
486+
"document.slashMenu.calendar.selectACalendarToLinkTo": "حدد تقويمًا للارتباط به",
487+
"document.slashMenu.calendar.createANewCalendar": "قم بإنشاء تقويم جديد",
488+
"document.selectionMenu.outline": "الخطوط العريضة",
489+
"document.plugins.referencedCalendar": "التقويم المشار إليه",
490+
"document.plugins.autoGeneratorRewrite": "اعادة كتابة",
491+
"document.plugins.smartEditImproveWriting": "تحسين الكتابة",
492+
"document.plugins.smartEditMakeLonger": "اجعله أطول",
493+
"document.plugins.createInlineMathEquation": "اصنع معادلة",
494+
"document.plugins.toggleList": "تبديل القائمة",
495+
"document.plugins.optionAction.click": "انقر",
496+
"document.plugins.optionAction.toOpenMenu": " لفتح القائمة",
497+
"document.plugins.optionAction.delete": "يمسح",
498+
"document.plugins.optionAction.duplicate": "ينسخ",
499+
"document.plugins.optionAction.turnInto": "تحول إلى",
500+
"document.plugins.optionAction.moveUp": "تحرك",
501+
"document.plugins.optionAction.moveDown": "تحرك لأسفل",
502+
"document.plugins.optionAction.color": "لون",
503+
"document.plugins.optionAction.align": "محاذاة",
504+
"document.plugins.optionAction.left": "غادر",
505+
"document.plugins.optionAction.center": "مركز",
506+
"document.plugins.optionAction.right": "يمين",
507+
"document.plugins.optionAction.defaultColor": "تقصير",
508+
"document.plugins.image.copiedToPasteBoard": "تم نسخ رابط الصورة إلى الحافظة",
509+
"document.plugins.outline.addHeadingToCreateOutline": "أضف عناوين لإنشاء جدول محتويات.",
510+
"document.textBlock.placeholder": "اكتب \"/\" للأوامر",
511+
"document.title.placeholder": "بدون عنوان",
512+
"document.imageBlock.placeholder": "انقر لإضافة الصورة",
513+
"document.imageBlock.upload.label": "رفع",
514+
"document.imageBlock.upload.placeholder": "انقر لتحميل الصورة",
515+
"document.imageBlock.url.label": "رابط الصورة",
516+
"document.imageBlock.url.placeholder": "أدخل عنوان URL للصورة",
517+
"document.imageBlock.support": "الحد الأقصى لحجم الصورة هو 5 ميغا بايت. التنسيقات المدعومة: JPEG ، PNG ، GIF ، SVG",
518+
"document.imageBlock.error.invalidImage": "صورة غير صالحة",
519+
"document.imageBlock.error.invalidImageSize": "يجب أن يكون حجم الصورة أقل من 5 ميغا بايت",
520+
"document.imageBlock.error.invalidImageFormat": "تنسيق الصورة غير مدعوم. التنسيقات المدعومة: JPEG ، PNG ، GIF ، SVG",
521+
"document.imageBlock.error.invalidImageUrl": "عنوان URL للصورة غير صالح",
522+
"document.codeBlock.language.label": "لغة",
523+
"document.codeBlock.language.placeholder": "اختار اللغة",
524+
"document.inlineLink.placeholder": "الصق أو اكتب ارتباطًا",
525+
"document.inlineLink.url.label": "URL رابط",
526+
"document.inlineLink.url.placeholder": "أدخل رابط URL",
527+
"document.inlineLink.title.label": "عنوان الارتباط",
528+
"document.inlineLink.title.placeholder": "أدخل عنوان الارتباط",
529+
"calendar.settings.noDateTitle": "بدون تاريخ",
530+
"calendar.settings.noDateHint": "ستظهر الأحداث غير المجدولة هنا",
531+
"calendar.settings.clickToAdd": "انقر للإضافة إلى التقويم",
532+
"calendar.settings.name": "تخطيط التقويم",
533+
"calendar.referencedCalendarPrefix": "نظرا ل",
534+
"errorDialog.title": "خطأ AppFlowy",
535+
"errorDialog.howToFixFallback": "نأسف للإزعاج! قم بإرسال مشكلة على صفحة GitHub الخاصة بنا والتي تصف الخطأ الخاص بك.",
536+
"errorDialog.github": "عرض على جيثب",
537+
"search.label": "يبحث",
538+
"search.placeholder.actions": "إجراءات البحث ...",
539+
"message.copy.success": "نسخ!",
540+
"message.copy.fail": "غير قادر على النسخ",
541+
"unSupportBlock": "الإصدار الحالي لا يدعم هذه الكتلة.",
542+
"views.deleteContentTitle": "هل أنت متأكد من أنك تريد حذف {pageType}؟",
543+
"views.deleteContentCaption": "إذا قمت بحذف {pageType} هذه ، فيمكنك استعادتها من سلة المهملات."
422544
}

0 commit comments

Comments
 (0)