Commit Graph

382 Commits

Author SHA1 Message Date
nathan
b4671c1d99 feat: support checklist 2022-11-30 15:14:27 +08:00
Nathan.fooo
acaaabee2a
chore: add transform field tests (#1504)
Co-authored-by: nathan <nathan@appflowy.io>
2022-11-29 13:34:10 +08:00
Nathan.fooo
c47f755155
feat: support checkbox filter (#1492)
* feat: support checkbox filter

* fix: unit test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 23:44:23 +08:00
Nathan.fooo
182bfae5ad
fix: filter UI bugs (#1489)
* chore: remove the add filter button if there is no filters can not be added

* fix: update field info after filter was changed

* chore: update filter choicechip ui

* chore: insert and delete one by one to keep the delete/insert index is right

* chore: show filter after creating the default filter

* chore: update textfield_tags version to calm the warnings

* chore: try to fix potential fails on backend test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 14:47:11 +08:00
Nathan.fooo
69a7ae5201
Implement Grid's filter UI (#1474)
* fix: border of field cell

* chore: add filter button

* chore: refactor setting button event

* chore: notify row did changed with filter configuration

* chore: add filter bloc test

* chore: config add filter button

* chore: create filter

* chore: load filters and update corresponding field property

* chore: add filter choice chip

* chore: config choice chip ui

* chore: send notification when filter updated

* chore: update filter after update field type option data

* fix: remove/add filter when update field's type option

* chore: create home setting bloc to save the setting of the home screen

* chore: add filter test

* chore: edit text filter ui

* fix: filter cell bugs

* fix: insert row out of bound

* chore: update setting icon in grid

* chore: shrink wrap the filter list

* refactor: extract row container from row cache

* chore: disable split-debuginfo

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-26 21:28:08 +08:00
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