Commit Graph

427 Commits

Author SHA1 Message Date
Nathan.fooo
fc10ee2d6b
Fix filter test (#1459)
* chore: move grid_view_editor.rs to view_editor folder

* chore: hide invisible rows

* fix: lock issue

* fix: flutter test potential failed

* chore: separate group tests

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-17 16:44:17 +08:00
nathan
0ee27097ce chore: add fitler bloc test 2022-11-15 23:17:01 +08:00
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
appflowy
ef3837f246 chore: add selection option fitler test 2022-11-14 19:40:45 +08:00
appflowy
18c209848b chore: add select option tests 2022-11-14 17:21:32 +08:00
appflowy
c80fa5da78 chore: add date filter tests 2022-11-14 16:33:24 +08:00
appflowy
0e137f12f5 chore: date with utc 2022-11-14 12:03:22 +08:00
appflowy
6aba344583 chore: rename some pb structs 2022-11-14 09:59:23 +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
e482ac75f9
test: edit a field in kanban board (#1428) 2022-11-09 12:25:07 +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
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
appflowy
de4c1b24ef chore: fix warnings 2022-11-07 20:40:10 +08:00
appflowy
b3b24d0cc0 chore: calculate the compact length after receiving ack 2022-11-07 17:30:24 +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
608a08eb76 refactor: md5 of revision 2022-11-02 10:21:10 +08:00
Nathan.fooo
e9ad705ea3
Refactor/revision compose (#1410) 2022-11-01 18:59:53 +08:00
Nathan.fooo
3bbf91ab2b
Add board group test (#1376) 2022-10-26 22:36:34 +08:00
Nathan.fooo
c8044a92d1
fix: group by field (#1374) 2022-10-26 21:46:47 +08:00
Richard Shiue
10229ca8b5
fix: avoid overlapping option colors (#1318) 2022-10-25 08:35:31 +08:00
Nathan.fooo
87247ccd9d
fix: hide field & add field tests (#1340)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 15:05:06 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +08:00
Nathan.fooo
8dff9dc67c
chore: disable log in bloc test (#1336) 2022-10-22 20:58:33 +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
He Linming
aead4dd068
feat: transform checkbox to select value (#1274)
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2022-10-17 13:10:44 +08:00
Nathan.fooo
6a8c15899c
chore: add grid bloc test (#1289)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-16 16:51:21 +08:00
Nathan.fooo
eb970a6b7a
fix: FieldEditor not refresh its type-option data after switching to a new field (#1285)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 19:06:34 +08:00
Nathan.fooo
cf4a2920f8
Refactor/rename crate (#1275) 2022-10-13 23:29:37 +08:00
appflowy
3a7660108c chore: add documentation 2022-10-12 22:16:14 +08:00
appflowy
a0d0a13030 chore: add documentation 2022-10-12 21:52:17 +08:00
appflowy
3511737bb3 fix: edit no status card 2022-10-12 15:41:34 +08:00
appflowy
d2933bdb04 chore: add documentation 2022-10-12 12:11:33 +08:00
Nathan.fooo
00f7256e70
Merge pull request #1267 from AppFlowy-IO/fix/no_status_group_order
fix: no status groups order
2022-10-12 11:45:55 +08:00
appflowy
da20d5c221 fix: can not keep the noo status groups order. Refactor the default index of no status group is 0 2022-10-12 11:16:59 +08:00
Nathan.fooo
a516ec82bc
fix: row disappear when update the row in checkbox board (#1266) 2022-10-12 10:20:26 +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
Richard Shiue
295b887cf1
feat: use commas to select a tag in multi-select grid cells (#1158)
* fix: comma to select tags

* chore: support passing multiple option ids

* chore: add more unit tests for single select and multi select

* chore: move to select multiple options using a single payload

* chore: do not unselect the option if insert option ids contain that option

Co-authored-by: appflowy <annie@appflowy.io>
2022-10-11 13:43:29 +08:00
Nathan.fooo
a20e92f08a
Merge pull request #1260 from AppFlowy-IO/refactor/switch_to_field 2022-10-11 07:58:59 +08:00
nathan
b8895ce787 chore: remove unuse code 2022-10-11 01:04:13 +08:00
Linchengyi
396d310d22
test: cover all Enum NumberFormat (#1257) 2022-10-11 00:02:44 +08:00
appflowy
1f94d9d496 chore: fix test 2022-10-10 21:21:29 +08:00
appflowy
a2d27657dc refactor: remove insertField function in dart 2022-10-10 20:02:52 +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
fa3f9c21fc fix: state of AppFlowyBoard is wrong after reordering the group 2022-10-07 14:42:40 +08:00
appflowy
62d0a31a76 refactor: save default group order 2022-10-01 16:50:54 +08:00
appflowy
5763e289ef feat: support moving group 2022-09-30 20:44:41 +08:00
appflowy
155cf3dca5 fix: display cell data after switching to text field 2022-09-27 18:22:11 +08:00
Nathan.fooo
e44b0a4bb8
Merge pull request #1180 from AppFlowy-IO/refactor/text_type_option_test
refactor: text type option test
2022-09-27 15:49:11 +08:00
appflowy
84aa156885 refactor: text type option test 2022-09-27 14:20:18 +08:00
appflowy
d1f80b15a0 fix: update the group when the corresponding field changed 2022-09-27 11:21:06 +08:00
appflowy
602f7e7b6c fix: format number in percent format 2022-09-27 09:52:50 +08:00
nathan
d6d8b4da5a fix: duplicate time format str 2022-09-25 10:57:40 +08:00
nathan
dfb7ed1053 fix: switch field type in board 2022-09-24 22:36:35 +08:00
nathan
e66b3b07db fix: duplicate board 2022-09-24 21:49:47 +08:00
appflowy
fa0a485c85 fix: move checkbox card fail 2022-09-24 17:25:59 +08:00
appflowy
0218f4e8b9 fix: create view panel icon color 2022-09-23 17:27:30 +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
Nathan.fooo
f84e0548a8
Merge pull request #1121 from AppFlowy-IO/fix/black_page_after_delete_doc
chore: open next page when current page get deleted
2022-09-22 14:39:48 +08:00
appflowy
37f85cebde chore: open next page when current page get deleted 2022-09-22 13:43:37 +08:00
Richard Shiue
05975e55f0 test: fix includeTime-related tests 2022-09-19 18:50:31 +08:00
Richard Shiue
c3033bd6e8 fix: few UI/usability issues with the time input field 2022-09-19 18:50:31 +08:00
Richard Shiue
a413746c05 fix: immediately show or hide time when includeTime changes 2022-09-19 18:50:31 +08:00
appflowy
589acd9e2b fix: can not delete row from no status group 2022-09-16 21:19:04 +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
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
8894e9c784 chore: update create board template 2022-09-07 12:42:27 +08:00
appflowy
0c45e3ce95 fix: remove default group for checkbox 2022-09-07 12:29:26 +08:00
appflowy
3ae28186e8 fix: rebuild card when create new field from row detail page 2022-09-06 17:52:05 +08:00
appflowy
bfebea7b31 fix: add new created row 2022-09-05 20:25:57 +08:00
appflowy
5b92805e93 chore: config checkbox ui 2022-09-05 11:44:04 +08:00
appflowy
6384edf0e6 chore: support group by checkbox field 2022-09-04 23:15:49 +08:00
appflowy
4f8e012d54 chore: fix bugs when switch group field 2022-09-04 15:49:25 +08:00
appflowy
f57ba8b9a8 chore: read setting 2022-09-03 16:47:58 +08:00
appflowy
b3e5bb00ac chore: config switch group field UI 2022-09-03 15:20:40 +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
appflowy
1931cdd4c0 chore: support switch to multi select field 2022-09-02 13:23:45 +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
Nathan.fooo
0225f0aa4d
Merge pull request #951 from AppFlowy-IO/feat/create_card_from_header
chore: enable create card from header button
2022-08-31 15:54:10 +08:00
appflowy
cde8ad9084 chore: enable create card from header button 2022-08-31 14:56:03 +08:00
appflowy
506af26b6d chore: save move to no status card 2022-08-31 11:58:28 +08:00
appflowy
a7349f43aa chore: add edit card button 2022-08-30 20:54:11 +08:00
appflowy
6e71d6d325 chore: fix warnings 2022-08-30 16:45:48 +08:00
appflowy
940289c6e3 chore: add board no status column 2022-08-30 15:21:53 +08:00
appflowy
af3bfebb64 chore: become editing when creating a new card 2022-08-29 17:52:36 +08:00
appflowy
aba0f946dd chore: do not build the cell if its fieldId equal to the corresponding group field id 2022-08-26 16:07:51 +08:00
appflowy
c43d0790dc chore: enable create board 2022-08-25 15:46:21 +08:00
appflowy
90db76811c chore: update board template 2022-08-25 14:11:05 +08:00
appflowy
14874772b1 chore: insert default group at index 0 2022-08-25 13:44:58 +08:00
appflowy
c827f9b156 chore: fix card refresh issue 2022-08-25 12:36:56 +08:00
appflowy
50e772edff chore: adjust header, card padding ui 2022-08-25 09:51:33 +08:00