Commit Graph

189 Commits

Author SHA1 Message Date
appflowy
93cf9712dc cursor: next op with length 2021-08-13 14:13:31 +08:00
appflowy
bc7da582a3 extend cursor with generic metric 2021-08-12 13:57:41 +08:00
appflowy
1ec4655d1b add format and insert extension 2021-08-11 23:34:35 +08:00
appflowy
e4a64fd06a remove attributes type follow 2021-08-11 17:18:10 +08:00
appflowy
039b4917ed add attribute iterator 2021-08-11 11:42:46 +08:00
appflowy
15c3a821ec add extensions 2021-08-11 08:40:58 +08:00
appflowy
1490d5c1b0 fix warnings 2021-08-10 17:08:47 +08:00
appflowy
7b6d1632f4 replace attributes::empty with attributes::custom 2021-08-10 14:24:41 +08:00
appflowy
ca81c990bf fix undo redo bugs, merge last undo if need 2021-08-10 11:23:13 +08:00
appflowy
251b065dd8 add redo/undo test with delete operation 2021-08-10 11:23:13 +08:00
appflowy
efa78dd456 fix redo attribut bugs 2021-08-08 22:29:16 +08:00
appflowy
51ae139f89 fix invert attribute bugs 2021-08-07 09:19:18 +08:00
appflowy
481f158a4a fix tests bugs 2021-08-06 23:06:27 +08:00
appflowy
c667ee0f36 add redo test 2021-08-06 22:25:09 +08:00
appflowy
3d837c51f4 add undo test 2021-08-06 08:40:45 +08:00
appflowy
760c191758 config undo redo for document 2021-08-05 22:52:19 +08:00
appflowy
e2b8738b65 add flowy-ot document 2021-08-05 20:05:40 +08:00
appflowy
97bba6e286 splite attribute and operation into crate 2021-08-05 19:55:28 +08:00
appflowy
ab2ee27768 take the retain attributes when composing (insert, retain) 2021-08-05 15:05:20 +08:00
appflowy
98f8442194 fix invert bugs 2021-08-05 11:30:29 +08:00
appflowy
c960d063fb fix merge attributes bug 2021-08-04 22:33:16 +08:00
appflowy
b322f40ff7 fix: inverted delta not equal to the old delta 2021-08-04 16:59:21 +08:00
appflowy
80a94880fc config ot invert detal 2021-08-04 15:09:04 +08:00
appflowy
958918e0a0 add tests and fix warnings 2021-08-04 07:55:54 +08:00
appflowy
4ebeac13f5 insert text with index 2021-08-03 23:13:20 +08:00
appflowy
3770c648c3 attribute: follow, empty, custom 2021-08-03 16:57:37 +08:00
appflowy
d78c33e194 fix ot bugs 2021-08-02 23:34:06 +08:00
appflowy
0b82336b6c config flowy ot attributes and add attribute test 2021-08-02 18:35:59 +08:00
appflowy
efaee88466 attribute insert test 2021-08-01 16:39:32 +08:00
appflowy
592244f6b9 operation & delta serde 2021-08-01 14:39:30 +08:00
appflowy
eae0c17dda config delta 2021-08-01 10:45:15 +08:00
appflowy
a3ed1b2874 add attributes 2021-07-31 23:22:17 +08:00
appflowy
b449707021 add flowy ot 2021-07-31 20:53:45 +08:00
appflowy
55de7f69a4 rename flowy-editor to flowy-document 2021-07-31 10:50:56 +08:00
appflowy
6a02520f84 refactor app and view can carry belongings 2021-07-29 22:23:10 +08:00
appflowy
c8ba8284ef update view & update app & add some rust test 2021-07-29 17:27:59 +08:00
appflowy
199fbd8873 rename some widget with prefix Flowy 2021-07-28 18:40:08 +08:00
appflowy
dfcb5059bf config hover background & fix bugs 2021-07-28 18:40:08 +08:00
appflowy
0191645d49 fetch user workspaces 2021-07-26 14:35:07 +08:00
appflowy
d30ee5db89 opt: build the rust sdk while running the flutter program 2021-07-25 11:08:59 +08:00
appflowy
c5881daddd rename files 2021-07-25 08:14:38 +08:00
appflowy
b0df64138f config doc bloc 2021-07-24 18:55:13 +08:00
appflowy
0ec02c1ac0 fix: create doc with Delta requirement to fix Document load error 2021-07-24 15:20:18 +08:00
appflowy
64b8f37470 fix: create default workspace after sign in 2021-07-24 15:05:47 +08:00
appflowy
c05b772fe6 config editor for doc 2021-07-24 14:05:49 +08:00
appflowy
3bb12d50bd config view repository 2021-07-23 23:56:59 +08:00
appflowy
bfdc0b6ee9 config view's update and query handle 2021-07-23 22:42:44 +08:00
appflowy
7e5c2cc62c save doc file in user's doc dir 2021-07-23 17:30:33 +08:00
appflowy
af1c35de45 create local file when create view with type doc 2021-07-23 16:45:29 +08:00
appflowy
36e338ddde replace syc::rwlock with tokio::rwlock 2021-07-23 15:00:13 +08:00
appflowy
984e912542 rename moduleData to unit 2021-07-23 14:54:31 +08:00
appflowy
c27f616ddb test read file & save file in flowy-editor 2021-07-23 14:37:18 +08:00
appflowy
4e80b296f8 config doc sql table 2021-07-23 08:14:45 +08:00
appflowy
2bb332fb2c integrate editor into sdk 2021-07-22 22:26:38 +08:00
appflowy
fa061ea832 add flowy-editor crate 2021-07-22 21:43:01 +08:00
appflowy
959545c4b1 add new view type: doc 2021-07-22 17:39:44 +08:00
appflowy
9b9d462f36 combine event and state into bloc & add watch bloc of workspace 2021-07-22 11:23:15 +08:00
appflowy
ebc489738c test stream from rust to flutter 2021-07-21 22:41:44 +08:00
appflowy
a529a3bf43 config workspace and app repo callback 2021-07-21 17:07:49 +08:00
appflowy
892526c2f9 config rust and flutter steam 2021-07-21 17:07:49 +08:00
appflowy
b89958a551 config create app ui 2021-07-20 23:51:08 +08:00
appflowy
7868305a32 create app's views 2021-07-20 23:50:43 +08:00
appflowy
b1f4f0520a create app in workspace 2021-07-20 23:50:43 +08:00
appflowy
b547e94273 config view 2021-07-19 22:44:37 +08:00
appflowy
55fad84590 add create app test & create default workspace when user login at first time 2021-07-19 21:05:49 +08:00
appflowy
139222ddcb rename all sql table struct with Table signature 2021-07-19 17:37:58 +08:00
appflowy
7e9a68f9fd rm rust-lib .idea foler and ignore it 2021-07-19 17:29:18 +08:00
appflowy
ef4c4180e2 fix sqlite database is lock issue by setting busy_timeout and wal mode 2021-07-19 16:15:20 +08:00
appflowy
602018765d generic DispatchFuture and mark async_send with sync trait 2021-07-19 11:32:33 +08:00
appflowy
e1f73f5246 find out how to nested the future into handler 2021-07-18 23:58:06 +08:00
appflowy
a63d5f5eaf support multi user db initialize 2021-07-18 09:03:21 +08:00
appflowy
848975e7f4 enable test with single user id 2021-07-17 10:26:05 +08:00
appflowy
ce6412722f refactor build with generic tester 2021-07-17 08:24:17 +08:00
appflowy
bab373ba35 extract tester as trait 2021-07-16 23:18:12 +08:00
appflowy
4354ff0c59 writing code in airport, continue after onboard 2021-07-15 08:46:16 +08:00
appflowy
e767cc3a01 add test builder 2021-07-14 23:00:58 +08:00
appflowy
182adafee5 add update user test & add app and workspace test 2021-07-14 21:12:52 +08:00
appflowy
687ead563f generic the EventTester with specify error type 2021-07-14 08:23:35 +08:00
appflowy
0e26706176 add create workspace test 2021-07-14 08:07:25 +08:00
appflowy
df1d84d43d workspace and app dto 2021-07-13 23:08:20 +08:00
appflowy
5de69abb36 add workspace and app 2021-07-13 17:21:21 +08:00
appflowy
bf198783e1 [code gen]: generate the protobuf files in corresponding module 2021-07-13 14:28:01 +08:00
appflowy
7d342df1f1 test sign in 2021-07-13 13:14:49 +08:00
appflowy
cabd2384a2 remove files generated by code gen before code gen 2021-07-13 10:11:02 +08:00
appflowy
02f0eef08b construct appflowy home screen 2021-07-12 23:27:58 +08:00
appflowy
222f6c7ba7 support custom error ty of dart event code gen 2021-07-12 13:53:32 +08:00
appflowy
e998c9a532 extract event_err ty info from Flowy_Event macro 2021-07-12 11:41:08 +08:00
appflowy
6f3a03fa07 support event input and output as optional to generate dart code 2021-07-11 22:38:49 +08:00
appflowy
04fc7f1cd0 pass the user test: sign in , sign out, get status 2021-07-11 21:54:55 +08:00
appflowy
3b06cde2d2 [feat]: get user detail & logout 2021-07-11 17:38:03 +08:00
appflowy
a6e32627d4 fix flutter warnings 2021-07-11 15:39:38 +08:00
appflowy
1d74fbdd7b add get user detail event, extract remote serviceinto UserServer 2021-07-11 15:33:19 +08:00
appflowy
2a9d007c5c add kv store crate to save local setting 2021-07-11 00:07:37 +08:00
appflowy
55454c5bec save user info to database after sign up 2021-07-10 16:27:20 +08:00
appflowy
b9d7902acb config user db and user session 2021-07-09 23:31:44 +08:00
appflowy
13e52ae350 enable module data passed in 2021-07-09 17:47:15 +08:00
appflowy
a980843fe6 fix flutter warnings 2021-07-09 16:36:36 +08:00
appflowy
8bf355f956 use diesel as sqlite orm & setup db init schedule 2021-07-09 16:34:50 +08:00
appflowy
ae23a41445 fix some test bugs when dispatcher initialize by multi threads 2021-07-09 14:02:42 +08:00
appflowy
53a041b6cd rename flowy-sys to flowy-dispatch 2021-07-08 22:06:20 +08:00