Commit Graph

522 Commits

Author SHA1 Message Date
nathan
f1ac38dd59 chore: add filter service 2022-11-15 13:04:30 +08:00
nathan
6846bbf103 chore: fix test 2022-11-15 10:19:13 +08:00
Nathan.fooo
a0a16cc493
feat: config grid filter in backend & add tests
* chore: add search crate

* chore: add task order test

* chore: enable timeout

* add task crate

* chore: run filter task

* chore: run filter task

* chore: filter rows

* chore: cache filter result

* chore: filter rows when open a grid

* chore: add tests

* test: add number filter test

* test: add checkbox fitler test

* chore: fix test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-13 22:23:57 +08:00
Nathan.fooo
882d5535e6
Extract protobuf structs from flowy-sync crate (#1425)
* refactor: extract data model from flowy-sync crate

* chore: rename lib-infra features
2022-11-08 21:13:28 +08:00
appflowy
130c5f8e6e refactor: reanme flowy-grid-data-model to grid-rev-model 2022-11-08 14:12:13 +08:00
appflowy
d39b31f357 refactor: rename folder-data-model to folder-rev-model 2022-11-08 13:47:48 +08:00
appflowy
6425997508 chore: merge lagging revisions when close the document 2022-11-08 12:00:04 +08:00
nathan
ebdd28cf1c chore: add ref count map 2022-11-08 09:30:10 +08:00
nathan
ff7aab73cc chore: merge with config setting 2022-11-06 10:31:07 +08:00
nathan
2c71e4f885 chore: add tests 2022-11-02 17:15:27 +08:00
nathan
f5dc9ed975 test: add revision tests 2022-11-02 11:49:36 +08:00
nathan
608a08eb76 refactor: md5 of revision 2022-11-02 10:21:10 +08:00
Nathan.fooo
bc5548ff75
fix: changeset composing (#1398) 2022-10-30 12:54:07 +08:00
Nathan.fooo
9344ea23ca
fix: support float value in attributes (#1396)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-30 09:35:15 +08:00
Nathan.fooo
783fd40f63
Feat/op compose (#1392) 2022-10-29 20:54:11 +08:00
Nathan.fooo
3bbf91ab2b
Add board group test (#1376) 2022-10-26 22:36:34 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +08:00
Nathan.fooo
7dbd9fe8cd
chore: implement document editor trait (#1321) 2022-10-20 15:33:18 +08:00
Nathan.fooo
f1a5726fcb
Feat: add appflowy editor in backend (#1320)
* chore: remove update attributes

* chore: format code

* chore: extension for transaction

* refactor: add document editor trait

* chore: add appflowy_document editor

* chore: add document serde

* chore: add new document editor

* chore: add tests

* chore: add more test

* chore: add test

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-20 11:35:11 +08:00
Nathan.fooo
825725df7d
Refactor/selection option transform (#1294)
* chore: support unnamed struct in AST parser progress

* chore: handle select option type option data transform in one place
2022-10-17 14:14:10 +08:00
Nathan.fooo
cf4a2920f8
Refactor/rename crate (#1275) 2022-10-13 23:29:37 +08:00
appflowy
3511737bb3 fix: edit no status card 2022-10-12 15:41:34 +08:00
Nathan.fooo
1adf6530fe
Refactor/update type options (#1265)
* chore: add documentation

* chore: update type option data after switching to a new field type

* chore: insert yes/no option when switch from checkbox to single/multi select

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-11 21:51:02 +08:00
Swapnil Kumbhar
0bc0a72d8a
Code coverage for Rust (#1263)
* feat: Bumped Rust to stable-2022-04-07 (1.60.0)

* feat: Added coverage tests and report generation

* feat: Added workflow for Rust Coverage

* feat: Bumped Rust to 1.60.0 in Workflows

* test: Testing for CI

* ci: Added name and fixed path for Rust Coverage

* revert: "test: Testing for CI"

This reverts commit 049a7b1088.

* fix: Added .pub-cache to PATH, change incremental builds to zero

* test: Testing for CI

* ci: Installing protobuf compiler in CI

* revert: "test: Testing for CI"

This reverts commit 049a7b1088.

* ci: Added environment setup for dart

* test: Testing for CI

* feat: Added task to check if 'grcov' is installed

* ci: Added steps to install grcov

* test: Testing for CI

* ci: Fixed name for grcov installation step

* feat: Added cargo binaries to PATH in tests

* revert: "test: Testing for CI"

This reverts commit 24e425db66.

* revert: "test: Testing for CI"

This reverts commit a5de816bce.

* ci: Fixed a very silly failing case

* test: Created a test rust file for cov test
2022-10-11 19:54:31 +08:00
appflowy
1f94d9d496 chore: fix test 2022-10-10 21:21:29 +08:00
Nathan.fooo
4e122a9452
chore: add group documentation (#1258) 2022-10-10 19:44:41 +08:00
Nathan.fooo
4549ed20e7
Refactor/rename delta (#1256)
* chore: rename delta

* chore: renanme delta
2022-10-10 11:56:48 +08:00
appflowy
62d0a31a76 refactor: save default group order 2022-10-01 16:50:54 +08:00
nathan
e66b3b07db fix: duplicate board 2022-09-24 21:49:47 +08:00
appflowy
8da2d24d4e fix: unit test 2022-09-23 15:22:22 +08:00
appflowy
44ad0a2623 fix: create the default group for grid 2022-09-23 11:23:35 +08:00
appflowy
589acd9e2b fix: can not delete row from no status group 2022-09-16 21:19:04 +08:00
appflowy
4961236012 chore: update version to 0.0.5.2 2022-09-16 21:08:44 +08:00
appflowy
4c07ae26fc chore: fix trailing characters parser error 2022-09-16 21:08:35 +08:00
appflowy
f792283e70 chore: fix open application error when upgrade to 0.0.5.1 2022-09-16 21:08:25 +08:00
appflowy
f88b8051f7 chore: rename folder 2022-09-15 21:04:57 +08:00
appflowy
01589c6f94 chore: compose operation 2022-09-15 20:59:19 +08:00
appflowy
4b654de2e6 chore: updata path documentation 2022-09-14 12:03:52 +08:00
nathan
2d738fedaa chore: update test 2022-09-14 09:23:33 +08:00
appflowy
fa2cfd7c20 chore: node transform path test 2022-09-13 20:23:56 +08:00
appflowy
c991473259 refactor: refactor delta attributes 2022-09-13 11:38:19 +08:00
appflowy
c552e958ce chore: create attribute 2022-09-12 11:30:02 +08:00
appflowy
822263529c refactor: rename structs 2022-09-12 10:44:33 +08:00
appflowy
2039cc00b5 refactor: move operation to delta folder 2022-09-12 10:27:34 +08:00
nathan
04ba711441 chore: add deserial appflowy editor test 2022-09-11 22:06:36 +08:00
nathan
b7f65ff11d chore: customize node and operation serde 2022-09-11 19:48:14 +08:00
nathan
1d7d4092a5 chore: add update node body test 2022-09-11 12:59:01 +08:00
nathan
2a5d9d5530 chore: rename structs 2022-09-11 08:59:12 +08:00
nathan
3c84e8df51 chore: update node documentation 2022-09-11 08:49:45 +08:00
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
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