Commit Graph

5996 Commits

Author SHA1 Message Date
appflowy
07268291d1 temp 2021-08-13 18:16:52 +08:00
appflowy
cd751a7b15 get next op length without consume it 2021-08-13 17:22:28 +08:00
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
Jaylen Bian
1d7540c954 Merge branch 'infra_ui/overlay_base' into main 2021-08-09 10:50:10 +08:00
Jaylen Bian
9b6871803a [infra_ui][overlay] Implement remaining overlap behavior 2021-08-09 10:50:08 +08:00
Jaylen Bian
0edd8b86c0 [infra_ui][overlay] Update overlay example project for list_overlay and option_overlay 2021-08-09 10:49:37 +08:00
Jaylen Bian
82e6856f75 [infra_ui][overlay] Implement option overlay 2021-08-09 10:49:16 +08:00
Jaylen Bian
051240a2fb [infra_ui][overlay] Implement list overlay 2021-08-09 10:48:45 +08:00
appflowy
efa78dd456 fix redo attribut bugs 2021-08-08 22:29:16 +08:00
Jaylen Bian
2d54ae8325 [infra_ui][overlay] Implement remaining overlap behavior 2021-08-08 22:04:49 +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
Jaylen Bian
eb4728e346 [infra_ui][overlay] Implement overlap behavior and update example proj 2021-08-02 15:04:20 +08:00
Jaylen Bian
39ac4b59be [infra_ui][overlay] Update interface document 2021-08-02 14:41:35 +08:00
Jaylen Bian
e2d063e3ad [infra_ui][overlay] Remove deprecated files 2021-08-02 00:31:16 +08:00
Jaylen Bian
d7a3e7b2ec [infra_ui][overlay] Merge overlay anchor feature 2021-08-01 21:35:58 +08:00
Jaylen Bian
5c4df3c6f2 [infra_ui][overlar] Implement edge aligned anchor mode and update example project 2021-08-01 21:34:45 +08:00
Jaylen Bian
dffb56d1a9 [infra_ui][overlar] Implement corner aligned anchor mode and update example project 2021-08-01 19:17:24 +08:00
Jaylen Bian
ada5ab737e [infra_ui][overlar] Add overlap behaviour interface and implement part of anchor type 2021-08-01 18:53:49 +08:00
Jaylen Bian
58e4a4d5f1 [infra_ui][overlar] Implement overlay insertion interface 2021-08-01 18:03:24 +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
Jaylen Bian
a6a350a831 [infra_ui][overlar] Update overlay example with anchored and positioned mode 2021-08-01 11:11:00 +08:00
Jaylen Bian
80cb0f9fa1 [infra_ui][overlar] Implement overlay anchor - widget part 2021-08-01 10:53:58 +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