Skip to content

Commit 95475cb

Browse files
authored
Fix some known issue for release/0.1.1 (#2061)
* fix: only show discard dialog when prompt text is not empty * fix: auto completion node widget text overflow * chore: update bundle name and copyright
1 parent 0520855 commit 95475cb

File tree

10 files changed

+23
-18
lines changed

10 files changed

+23
-18
lines changed

frontend/appflowy_flutter/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ android {
4545

4646
defaultConfig {
4747
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
48-
applicationId "com.example.appflowy_flutter"
48+
applicationId "io.appflowy.appflowy"
4949
minSdkVersion 19
5050
targetSdkVersion 31
5151
versionCode flutterVersionCode.toInteger()

frontend/appflowy_flutter/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.appflowy_flutter">
2+
package="io.appflowy.appflowy">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

frontend/appflowy_flutter/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.appflowy_flutter">
2+
package="io.appflowy.appflowy">
33
<application
44
android:label="appflowy_flutter"
55
android:icon="@mipmap/ic_launcher"

frontend/appflowy_flutter/android/app/src/main/kotlin/com/example/app_flowy/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.appflowy_flutter
1+
package io.appflowy.appflowy
22

33
import io.flutter.embedding.android.FlutterActivity
44

frontend/appflowy_flutter/android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.appflowy_flutter">
2+
package="io.appflowy.appflowy">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

frontend/appflowy_flutter/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
ENABLE_BITCODE = NO;
360360
INFOPLIST_FILE = Runner/Info.plist;
361361
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
362-
PRODUCT_BUNDLE_IDENTIFIER = com.example.appFlowy;
362+
PRODUCT_BUNDLE_IDENTIFIER = io.appflowy.appflowy;
363363
PRODUCT_NAME = "$(TARGET_NAME)";
364364
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
365365
SWIFT_VERSION = 5.0;
@@ -483,7 +483,7 @@
483483
ENABLE_BITCODE = NO;
484484
INFOPLIST_FILE = Runner/Info.plist;
485485
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
486-
PRODUCT_BUNDLE_IDENTIFIER = com.example.appFlowy;
486+
PRODUCT_BUNDLE_IDENTIFIER = io.appflowy.appflowy;
487487
PRODUCT_NAME = "$(TARGET_NAME)";
488488
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
489489
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -502,7 +502,7 @@
502502
ENABLE_BITCODE = NO;
503503
INFOPLIST_FILE = Runner/Info.plist;
504504
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
505-
PRODUCT_BUNDLE_IDENTIFIER = com.example.appFlowy;
505+
PRODUCT_BUNDLE_IDENTIFIER = io.appflowy.appflowy;
506506
PRODUCT_NAME = "$(TARGET_NAME)";
507507
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
508508
SWIFT_VERSION = 5.0;

frontend/appflowy_flutter/lib/plugins/document/presentation/plugins/openai/widgets/auto_completion_node_widget.dart

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class _AutoCompletionInputState extends State<_AutoCompletionInput> {
7171
final renderBox = context.findRenderObject() as RenderBox?;
7272
if (renderBox != null) {
7373
if (!isTapDownDetailsInRenderBox(details, renderBox)) {
74-
if (text.isNotEmpty || controller.text.isEmpty) {
74+
if (text.isNotEmpty || controller.text.isNotEmpty) {
7575
showDialog(
7676
context: context,
7777
builder: (context) {
@@ -200,10 +200,15 @@ class _AutoCompletionInputState extends State<_AutoCompletionInput> {
200200
),
201201
onPressed: () async => await _onExit(),
202202
),
203-
const Spacer(),
204-
FlowyText.regular(
205-
LocaleKeys.document_plugins_warning.tr(),
206-
color: Theme.of(context).hintColor,
203+
Expanded(
204+
child: Container(
205+
alignment: Alignment.centerRight,
206+
child: FlowyText.regular(
207+
LocaleKeys.document_plugins_warning.tr(),
208+
color: Theme.of(context).hintColor,
209+
overflow: TextOverflow.ellipsis,
210+
),
211+
),
207212
),
208213
],
209214
);

frontend/appflowy_flutter/linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
22
project(runner LANGUAGES CXX)
33

44
set(BINARY_NAME "appflowy_flutter")
5-
set(APPLICATION_ID "com.example.appflowy_flutter")
5+
set(APPLICATION_ID "io.appflowy.appflowy")
66

77
cmake_policy(SET CMP0063 NEW)
88

frontend/appflowy_flutter/macos/Runner/Configs/AppInfo.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
PRODUCT_NAME = appflowy_flutter
99

1010
// The application's bundle identifier
11-
PRODUCT_BUNDLE_IDENTIFIER = com.example.appFlowy
11+
PRODUCT_BUNDLE_IDENTIFIER = io.appflowy.appflowy
1212

1313
// The copyright displayed in application information
14-
PRODUCT_COPYRIGHT = Copyright © 2021 com.example. All rights reserved.
14+
PRODUCT_COPYRIGHT = Copyright © 2023 AppFlowy.IO. All rights reserved.

frontend/appflowy_flutter/windows/runner/Runner.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ BEGIN
8989
BEGIN
9090
BLOCK "040904e4"
9191
BEGIN
92-
VALUE "CompanyName", "com.example" "\0"
92+
VALUE "CompanyName", "AppFlowy.IO" "\0"
9393
VALUE "FileDescription", "AppFlowy" "\0"
9494
VALUE "FileVersion", VERSION_AS_STRING "\0"
9595
VALUE "InternalName", "appflowy_flutter" "\0"
96-
VALUE "LegalCopyright", "Copyright (C) 2021 com.example. All rights reserved." "\0"
96+
VALUE "LegalCopyright", "Copyright (C) 2023 AppFlowy.IO. All rights reserved." "\0"
9797
VALUE "OriginalFilename", "appflowy_flutter.exe" "\0"
9898
VALUE "ProductName", "appflowy_flutter" "\0"
9999
VALUE "ProductVersion", VERSION_AS_STRING "\0"

0 commit comments

Comments
 (0)