appflowy
3dff72942b
refactor: replace delta with node body
2022-09-10 20:35:18 +08:00
appflowy
1faf959e1e
chore: fix rename errors
2022-09-10 10:17:00 +08:00
appflowy
41ccd4f59f
chore: move path test to path.rs file
2022-09-10 10:12:59 +08:00
appflowy
387ee911a9
chore: rename files
2022-09-10 10:07:06 +08:00
appflowy
328e0ac73a
refactor: rename && fix potential bugs
2022-09-10 10:05:27 +08:00
appflowy
2d44a9a956
refactor: rename docuemnt tree to node tree
2022-09-10 08:58:08 +08:00
appflowy
745018cf22
refactor: node attribute
2022-09-10 08:42:53 +08:00
appflowy
61c2b928c9
chore: fix warnings
2022-09-09 17:08:20 +08:00
appflowy
8f114e843c
chore: replace fold with count
2022-09-09 17:06:18 +08:00
appflowy
a2918d251f
refactor: refactor transaction builder in rust style
2022-09-09 14:34:40 +08:00
appflowy
ac23f81e24
chore: private the root node
2022-09-09 14:14:15 +08:00
appflowy
9974539946
chore: private the Arena
2022-09-08 20:39:25 +08:00
appflowy
e711bfce1d
chore: udpate test
2022-09-08 19:21:06 +08:00
appflowy
d386698e97
fix: skip root to get the right path
2022-09-08 18:29:23 +08:00
appflowy
89a5ee4a8a
fix: potential crash while calling apply_insert if the path is empty
2022-09-08 17:47:53 +08:00
appflowy
8f5134305e
refactor: generic insert_nodes method
2022-09-08 17:41:38 +08:00
appflowy
294b1bea13
refactor: remove Box in DocumentOperation
2022-09-08 16:58:37 +08:00
appflowy
800e02d85e
refactor: remove Box in DocumentOperation
2022-09-08 16:49:09 +08:00
Nathan.fooo
a3d2cef40a
Merge pull request #928 from matrixhead/main
...
refactor: Migrate the markdown feature from Dart to Rust
2022-09-06 08:18:36 +08:00
appflowy
bb7cddc7f7
chore: reload group when group by new field
2022-09-02 21:34:00 +08:00
gabrielztk
70f9a289a4
Resolve rust clippy warnings ( #946 )
...
* refactor: avoid using `collect()` when not needed
and cascade notation
* refactor: The user might expect to be able
to use Default as the type can be
constructed without arguments.
* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait
* refactor: remove intermediary
variables and use cascade notation
* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait
* refactor: unneeded `return` statement
* refactor: ok_or_else avoids executing a
function when it's not needed
* refactor: dereferenced by the compiler
* refactor: user enumeration for index
* refactor: using `clone` on type `usize`
which implements the `Copy` trait
* refactor: useless conversion to the
same type: `&str`
* refactor: The user might expect to be able use Default
as type can be constructed without arguments
* refactor: The user might expect to be able use Default
as type can be constructed without arguments
* fix: rust formating with fmt
* fix: conflict default implementation
Co-authored-by: appflowy <annie@appflowy.io>
2022-09-01 12:26:51 +08:00
mhead
e496f93b9e
refactor: Migrate the markdown feature from Dart to Rust
2022-08-30 11:33:06 +05:30
Vincent Chan
a309a9c82c
fix: minor issues
2022-08-24 12:21:24 +08:00
Vincent Chan
096544d6a3
feat: test insert sub trees
2022-08-23 19:49:56 +08:00
Vincent Chan
d6ef13adae
feat: get deleted subtrees from the document
2022-08-23 17:58:54 +08:00
Vincent Chan
9d1475df2b
feat: recursive append children
2022-08-23 17:12:11 +08:00
Vincent Chan
bb8e0485cd
feat: serialize
2022-08-23 17:01:10 +08:00
Vincent Chan
ef65551340
feat: add serialize/deserialize
2022-08-22 19:42:43 +08:00
Vincent Chan
b0bafff22c
feat: introduce error to apply method
2022-08-22 19:42:43 +08:00
Vincent Chan
ef185cd5d5
refactor: add at_path suffix to transaction builder
2022-08-22 19:42:43 +08:00
Vincent Chan
1801a47b1d
feat: test update nodes
2022-08-22 19:42:43 +08:00
Vincent Chan
0def48d0ca
feat: transform patht
2022-08-22 19:42:43 +08:00
Vincent Chan
c61b4d0865
fix: CI format error
2022-08-22 19:42:43 +08:00
Vincent Chan
61d181b228
feat: vec to position convertion
2022-08-22 19:42:43 +08:00
Vincent Chan
8401fa0983
feat: update attributes
2022-08-22 19:42:43 +08:00
Vincent Chan
c207bf3679
feat: apply transactions
2022-08-22 19:42:43 +08:00
Vincent Chan
ba160c8026
feat: compose attributes
2022-08-22 19:42:43 +08:00
Vincent Chan
bb7c7e4f41
feat: apply operation
2022-08-22 19:42:43 +08:00
Vincent Chan
aa90613bf6
feat: transaction built der
2022-08-22 19:42:43 +08:00
Vincent Chan
2466b3eebc
feat: add operations of the document
2022-08-22 19:42:43 +08:00
Vincent Chan
7d404ff0da
feat: document model in rust
2022-08-22 19:42:43 +08:00
appflowy
15e1479caa
chore: add GridViewRevisionPad
2022-08-14 23:01:53 +08:00
appflowy
b695ceb832
chore: seperate FolderRevision from FolderPad
2022-08-10 10:07:41 +08:00
appflowy
3882c49523
chore: fix rust fmt
2022-08-03 09:00:26 +08:00
appflowy
b6913a215e
chore: fix renmae crate error
2022-08-03 08:41:13 +08:00
appflowy
dc636a6e05
chore: add codec to lib-ot
2022-08-03 08:14:09 +08:00
appflowy
ff098c538e
chore: rename fns
2022-08-02 09:11:04 +08:00
appflowy
00d81a329f
chore: update lib-ot documentation again and rename some structs
2022-08-02 08:55:33 +08:00
appflowy
57a95825d9
chore: rename flowyStr to OTString
2022-08-01 11:32:25 +08:00
appflowy
f8c071e13d
chore: update documentation about how the iterator/FlowyStr/Operation work
2022-08-01 11:18:42 +08:00