mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: tooltips and overlay related issues (#4206)
* fix: align button tooltip * chore: upgrade Flutter to latest beta version * chore: bump version 0.4.0 * chore: minor ui update * chore: update dependencies * chore: upgrade flutter api * chore: use beta channel * chore: disable search bar and optimize toolbar ui * chore: rename extra info keys * feat: highlight text again after changing color * chore: update iOS icon * fix: lose children issues when converting block type * chore: update editor version * chore: update iOS icon and android navigation bar color * fix: docker build issue * fix: android keyboard issues * chore: update icon
This commit is contained in:
@ -2,7 +2,6 @@ import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:appflowy/env/cloud_env.dart';
|
||||
import 'package:appflowy/startup/tasks/memory_leak_detector.dart';
|
||||
import 'package:appflowy/workspace/application/settings/prelude.dart';
|
||||
import 'package:appflowy_backend/appflowy_backend.dart';
|
||||
import 'package:appflowy_backend/log.dart';
|
||||
@ -14,7 +13,6 @@ import 'deps_resolver.dart';
|
||||
import 'entry_point.dart';
|
||||
import 'launch_configuration.dart';
|
||||
import 'plugin/plugin.dart';
|
||||
import 'tasks/appflowy_cloud_task.dart';
|
||||
import 'tasks/prelude.dart';
|
||||
|
||||
final getIt = GetIt.instance;
|
||||
@ -105,6 +103,7 @@ class FlowyRunner {
|
||||
// this task should be second task, for handling memory leak.
|
||||
// there's a flag named _enable in memory_leak_detector.dart. If it's false, the task will be ignored.
|
||||
MemoryLeakDetectorTask(),
|
||||
const DebugTask(),
|
||||
// localization
|
||||
const InitLocalizationTask(),
|
||||
// init the app window
|
||||
|
20
frontend/appflowy_flutter/lib/startup/tasks/debug_task.dart
Normal file
20
frontend/appflowy_flutter/lib/startup/tasks/debug_task.dart
Normal file
@ -0,0 +1,20 @@
|
||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import '../startup.dart';
|
||||
|
||||
class DebugTask extends LaunchTask {
|
||||
const DebugTask();
|
||||
|
||||
@override
|
||||
Future<void> initialize(LaunchContext context) async {
|
||||
// the hotkey manager is not supported on mobile
|
||||
if (PlatformExtension.isMobile && kDebugMode) {
|
||||
SystemChannels.textInput.invokeMethod('TextInput.hide');
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> dispose() async {}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
import 'package:appflowy/mobile/presentation/database/board/mobile_board_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/card/card.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/date_picker/mobile_date_picker_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/field/mobile_create_field_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/field/mobile_edit_field_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/date_picker/mobile_date_picker_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/mobile_calendar_events_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/mobile_calendar_screen.dart';
|
||||
import 'package:appflowy/mobile/presentation/database/mobile_grid_screen.dart';
|
||||
@ -152,27 +152,28 @@ StatefulShellRoute _mobileHomeScreenWithNavigationBarRoute() {
|
||||
),
|
||||
],
|
||||
),
|
||||
StatefulShellBranch(
|
||||
routes: <RouteBase>[
|
||||
GoRoute(
|
||||
path: '/d',
|
||||
builder: (BuildContext context, GoRouterState state) =>
|
||||
const RootPlaceholderScreen(
|
||||
label: 'Search',
|
||||
detailsPath: '/d/details',
|
||||
),
|
||||
routes: <RouteBase>[
|
||||
GoRoute(
|
||||
path: 'details',
|
||||
builder: (BuildContext context, GoRouterState state) =>
|
||||
const DetailsPlaceholderScreen(
|
||||
label: 'Search Page details',
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
// Enable search feature after we have a search page.
|
||||
// StatefulShellBranch(
|
||||
// routes: <RouteBase>[
|
||||
// GoRoute(
|
||||
// path: '/d',
|
||||
// builder: (BuildContext context, GoRouterState state) =>
|
||||
// const RootPlaceholderScreen(
|
||||
// label: 'Search',
|
||||
// detailsPath: '/d/details',
|
||||
// ),
|
||||
// routes: <RouteBase>[
|
||||
// GoRoute(
|
||||
// path: 'details',
|
||||
// builder: (BuildContext context, GoRouterState state) =>
|
||||
// const DetailsPlaceholderScreen(
|
||||
// label: 'Search Page details',
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
StatefulShellBranch(
|
||||
routes: <RouteBase>[
|
||||
GoRoute(
|
||||
|
@ -1,10 +1,13 @@
|
||||
export 'app_widget.dart';
|
||||
export 'rust_sdk.dart';
|
||||
export 'platform_service.dart';
|
||||
export 'load_plugin.dart';
|
||||
export 'hot_key.dart';
|
||||
export 'platform_error_catcher.dart';
|
||||
export 'windows.dart';
|
||||
export 'localization.dart';
|
||||
export 'supabase_task.dart';
|
||||
export 'appflowy_cloud_task.dart';
|
||||
export 'debug_task.dart';
|
||||
export 'generate_router.dart';
|
||||
export 'hot_key.dart';
|
||||
export 'load_plugin.dart';
|
||||
export 'localization.dart';
|
||||
export 'memory_leak_detector.dart';
|
||||
export 'platform_error_catcher.dart';
|
||||
export 'platform_service.dart';
|
||||
export 'rust_sdk.dart';
|
||||
export 'supabase_task.dart';
|
||||
export 'windows.dart';
|
||||
|
Reference in New Issue
Block a user