add frontend folder

This commit is contained in:
appflowy 2021-11-20 09:32:46 +08:00
parent f93f012bc8
commit 8f1d62f115
1697 changed files with 754 additions and 104 deletions

@ -1,26 +0,0 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flowy_infra_ui_example/main.dart';
void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const ExampleApp());
// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate(
(Widget widget) => widget is Text && widget.data!.startsWith('Running on:'),
),
findsOneWidget,
);
});
}

@ -1,29 +0,0 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import '../lib/main.dart';
void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(MyApp());
// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate((Widget widget) {
if (widget is Text && widget.data != null) {
return widget.data.startsWith('Running on:');
}
return false;
}),
findsOneWidget,
);
});
}

@ -60,12 +60,12 @@ pin-project = "1.0.0"
byteorder = {version = "1.3.4"}
async-stream = "0.3.2"
flowy-user-infra = { path = "../rust-lib/flowy-user-infra" }
flowy-workspace-infra = { path = "../rust-lib/flowy-workspace-infra" }
flowy-document-infra = { path = "../rust-lib/flowy-document-infra" }
lib-ws = { path = "../rust-lib/lib-ws" }
lib-ot = { path = "../rust-lib/lib-ot" }
backend-service = { path = "../rust-lib/backend-service", features = ["http_server"] }
flowy-user-infra = { path = "../frontend/rust-lib/flowy-user-infra" }
flowy-workspace-infra = { path = "../frontend/rust-lib/flowy-workspace-infra" }
flowy-document-infra = { path = "../frontend/rust-lib/flowy-document-infra" }
lib-ws = { path = "../frontend/rust-lib/lib-ws" }
lib-ot = { path = "../frontend/rust-lib/lib-ot" }
backend-service = { path = "../frontend/rust-lib/backend-service", features = ["http_server"] }
ormx = { version = "0.7", features = ["postgres"]}
[dependencies.sqlx]
@ -98,14 +98,14 @@ ignore_auth = []
parking_lot = "0.11"
once_cell = "1.7.2"
linkify = "0.5.0"
backend = { path = ".", features = ["flowy_test"]}
flowy-sdk = { path = "../rust-lib/flowy-sdk", features = ["http_server"] }
flowy-user = { path = "../rust-lib/flowy-user", features = ["http_server"] }
flowy-document = { path = "../rust-lib/flowy-document", features = ["flowy_test", "http_server"] }
futures-util = "0.3.15"
lib-ws = { path = "../rust-lib/lib-ws" }
flowy-test = { path = "../rust-lib/flowy-test" }
lib-infra = { path = "../rust-lib/lib-infra" }
lib-ot = { path = "../rust-lib/lib-ot" }
lib-sqlite = { path = "../rust-lib/lib-sqlite" }
futures-util = "0.3.15"
backend = { path = ".", features = ["flowy_test"]}
flowy-sdk = { path = "../frontend/rust-lib/flowy-sdk", features = ["http_server"] }
flowy-user = { path = "../frontend/rust-lib/flowy-user", features = ["http_server"] }
flowy-document = { path = "../frontend/rust-lib/flowy-document", features = ["flowy_test", "http_server"] }
lib-ws = { path = "../frontend/rust-lib/lib-ws" }
flowy-test = { path = "../frontend/rust-lib/flowy-test" }
lib-infra = { path = "../frontend/rust-lib/lib-infra" }
lib-ot = { path = "../frontend/rust-lib/lib-ot" }
lib-sqlite = { path = "../frontend/rust-lib/lib-sqlite" }

Before

(image error) Size: 359 B

After

(image error) Size: 359 B

Before

(image error) Size: 769 B

After

(image error) Size: 769 B

Before

(image error) Size: 905 B

After

(image error) Size: 905 B

Some files were not shown because too many files have changed in this diff Show More