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
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
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
appflowy
798e16d3aa
chore: update lib ot tests
2022-08-01 09:31:40 +08:00
MikeWallaceDev
7436f7de3e
docs: made minor changes to grammar
2022-07-25 18:34:26 -04:00
appflowy
dd71acf843
chore: rename some function & add more documentation
2022-07-24 18:10:29 +08:00
appflowy
3c5b9e6b50
chore: add documentation for lib-ot crate
2022-07-24 17:40:40 +08:00
appflowy
47081f3095
chore: update grid test
2022-03-15 19:00:28 +08:00
appflowy
cea7d30a53
chore: config BlockMetaPad
2022-03-10 21:43:23 +08:00
appflowy
1b80934899
chore: impl view data processor
2022-03-05 22:30:42 +08:00
appflowy
8a0308703e
fix: compose folder error
2022-03-01 23:38:26 +08:00
appflowy
8747457836
refactor: add plugins
2022-03-01 00:23:04 +08:00
appflowy
8eaec5e58c
fix compact bugs & update unit tests
2022-01-27 10:20:09 +08:00
appflowy
bba8f8ae01
fix fmt and clippy warnings
2022-01-24 17:56:58 +08:00
appflowy
a9eec5baed
solver conflicts
2022-01-24 17:32:40 +08:00
nathan
cfb589dda1
fix format and clippy warnings
2022-01-23 12:14:00 +08:00
appflowy
3eff006d6d
add root folder test
2022-01-16 13:44:14 +08:00
appflowy
6bca483c28
config folder collaboration
2022-01-15 23:58:36 +08:00
appflowy
0fba8d9195
add server document
2022-01-12 20:48:28 +08:00
appflowy
855d396122
refactor cloud service triat
2022-01-10 23:45:59 +08:00
appflowy
46a3eb57fa
rename some structs
2022-01-10 17:39:32 +08:00
appflowy
08a43c03d4
config af log filter
2022-01-09 16:13:08 +08:00
appflowy
7e7254b306
1. fix the potential infinite loop when composing delta. Because of calculating the wrong code unit offset.
...
2. add test of calculating Chinese character
2022-01-09 11:23:37 +08:00
appflowy
c456687a18
1. rename flowy_str functions
...
2. mv the document_test to flowy_document crate
2022-01-09 11:23:31 +08:00
appflowy
9ca2d60f3f
correct the document delta by removing unnecessary op
2022-01-06 12:55:30 +08:00