Commit Graph

464 Commits

Author SHA1 Message Date
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
4f8e012d54 chore: fix bugs when switch group field 2022-09-04 15:49:25 +08:00
appflowy
bb7cddc7f7 chore: reload group when group by new field 2022-09-02 21:34:00 +08:00
appflowy
e75d8f22c8 chore: add edit field type option helper 2022-09-02 13:24:10 +08:00
appflowy
f192f89ebb chore: refactor group gen process 2022-09-02 13:24:09 +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
appflowy
14874772b1 chore: insert default group at index 0 2022-08-25 13:44:58 +08:00
Nathan.fooo
0d39afca2f
Merge pull request #898 from AppFlowy-IO/feat/board_update_when_field_change
Feat/board update when field change
2022-08-24 22:05:27 +08:00
appflowy
82b44c2c98 chore: update board column name 2022-08-24 16:57:53 +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
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
074c497d57 fix: fix some bugs 2022-08-22 17:45:15 +08:00
appflowy
ffc6f141fa chore: fix GroupConfigurationRevision deserialize error 2022-08-22 10:06:08 +08:00
appflowy
93f5b5d754 fix: save group rev without apply change 2022-08-21 23:18:42 +08:00
appflowy
23efbc00c1 ci: fix unit test 2022-08-21 13:58:03 +08:00
appflowy
6e6a812243 chore: save group revision and fix warnings 2022-08-20 23:57:51 +08:00
appflowy
3c022d4de5 chore: save group configuration 2022-08-20 17:10:34 +08:00
appflowy
49601b66ef chore: save group configuration 2022-08-20 16:44:44 +08:00
appflowy
91b2917d60 chore: reader and writter for group configuration 2022-08-20 15:40:13 +08:00
appflowy
5fac1f044a chore: move some structs 2022-08-19 23:11:05 +08:00
appflowy
c81b6f10fa refactor: baord configuration 2022-08-19 19:59:09 +08:00
appflowy
659ae5d523 chore: fix some bugs and add more tests 2022-08-19 11:58:34 +08:00
appflowy
da485c6df9 chore: add more test 2022-08-19 09:10:12 +08:00
appflowy
0680b20579 chore: add group unit test 2022-08-18 21:44:22 +08:00
appflowy
af23e3e803 refactor: replace plugin type with layout type 2022-08-18 21:44:22 +08:00
appflowy
d3cd60e527 refactor: rename structs 2022-08-18 21:44:22 +08:00
appflowy
4856a024a2 chore: Update row when moving row caused cell data changed 2022-08-18 21:44:22 +08:00
appflowy
c4514e421a chore: move card from one column to another 2022-08-18 21:44:22 +08:00
appflowy
f32068d64b refactor: move row params 2022-08-18 21:44:21 +08:00
appflowy
b7d71428be chore: send group notification 2022-08-16 15:49:54 +08:00
appflowy
4683dbee45 chore: add revision reset helper 2022-08-16 11:24:37 +08:00
appflowy
461160094c chore: create grid view when create grid 2022-08-15 23:17:29 +08:00
appflowy
0514b005ca feat: config view lens 2022-08-15 20:07:01 +08:00
appflowy
32e20a4dc7 chore: rename some struct 2022-08-14 23:17:49 +08:00
appflowy
15e1479caa chore: add GridViewRevisionPad 2022-08-14 23:01:53 +08:00
appflowy
8da6ed9d28 chore: add grid view revision struct 2022-08-14 21:09:18 +08:00
appflowy
43eaa2748d chore: insert cell content when creating card 2022-08-14 11:05:55 +08:00
appflowy
f0914cd6f1 chore: add group action handler to intercept the create row progress 2022-08-13 23:26:42 +08:00
appflowy
5de6a7447a chore: read group data from backend 2022-08-12 16:05:56 +08:00
appflowy
461751cf59 chore: config group service 2022-08-11 21:18:27 +08:00
appflowy
8b535720ef chore: add AF prefix to appflowy_board classes 2022-08-11 13:33:36 +08:00
appflowy
aae2d96a4f chore: refactor multi-select type option and add GroupPB 2022-08-11 13:04:55 +08:00
appflowy
29ea3c83c8 chore: refactor grid setting 2022-08-11 10:08:42 +08:00
appflowy
ad3e2f5725 chore: add sub data type 2022-08-10 17:59:28 +08:00
appflowy
ba3e8cc14b chore: format json output 2022-08-10 10:35:00 +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
Nathan.fooo
9685aeb0cb
Merge pull request #707 from AppFlowy-IO/feat/flowy_grid_crate_documentation
chore: add documentation for flowy-grid crate
2022-07-31 17:33:12 +08:00
Nathan.fooo
97c0198e77
Merge pull request #721 from LucasXu0/fix/linux_arm64_build
fix: update faccess version from 0.2.3 to 0.2.4 for fixing linux-arm64 building
2022-07-28 09:51:25 +08:00
Lucas.Xu
e89e40d652 fix: update faccess version from 0.2.3 to 0.2.4 for fixing linux-arm64 building (https://github.com/Freaky/faccess/pull/1) 2022-07-26 11:58:21 +08:00
MikeWallaceDev
7436f7de3e docs: made minor changes to grammar 2022-07-25 18:34:26 -04:00
MikeWallaceDev
51617d9eb9 docs: made small changes to grammar 2022-07-25 17:17:11 -04:00
appflowy
00785022e8 chore: add documentation for flowy_grid crate 2022-07-25 15:30:34 +08: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
c97e1ccb95 chore: fix tests 2022-07-20 18:47:05 +08:00
appflowy
e0db7bd4f9 chore: remove feature flag: filter 2022-07-20 18:27:12 +08:00
appflowy
1e3c69f15b Merge branch 'main' into feat/history 2022-07-20 14:07:54 +08:00
appflowy
0ecff26636 chore: remove pb reference in util.rs 2022-07-19 13:07:30 +08:00
appflowy
e7c672cb7e chore: replace try_from with from 2022-07-19 11:31:04 +08:00
appflowy
67f88fab0b refactor: add PB suffix to flowy-editor crate's structs 2022-07-18 11:58:39 +08:00
appflowy
ab80e9b0ed chore: add 5 rows in test grid 2022-07-14 09:29:05 +08:00
appflowy
d02acbae6e chore: add more test 2022-07-14 08:05:38 +08:00
appflowy
284755eccf refactor: row builder 2022-07-12 15:49:14 +08:00
appflowy
5bfbda5606 fix: decode cell revision into AnyCellData 2022-07-10 22:26:21 +08:00
appflowy
8fa7a20326 chore: make grid setting from revision 2022-07-10 17:06:36 +08:00