Commit Graph

150 Commits

Author SHA1 Message Date
Nathan.fooo
5a30f46b85
feat: sort cell (#1593)
* chore: call cell decode data

* chore: cache cell decoded data

* chore: update cache cell data

* chore: cache cell data

* refactor: separate cell type option functionalities

* refactor: add TypeOptionCellDataFilter trait

* chore: remove unused codes

* chore: fix wanrings

* chore: add sort tests

* chore: sort single select and multi select

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-24 23:19:11 +08:00
Nathan.fooo
eee3dcf43a
Create test template (#1594)
* refactor: rename functions

* chore: create test templagte

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-21 11:00:08 +08:00
Nathan.fooo
9f7f86a49a
chore: update test (#1584) 2022-12-20 08:39:46 +08:00
Nathan.fooo
260705280f
fix: remove unused steps (#1580)
* chore: remove unused code

* chore: update pin-project version to remove rust lint warnings

* chore: fix potential test failed

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-19 10:47:40 +08:00
Nathan.fooo
85e489babb
Refactor/type option (#1578) 2022-12-17 10:15:13 +08:00
nathan
31458e817a fix: potential test timeout 2022-12-12 19:49:20 +08:00
nathan
9ba17e004e refactor: type option impl trait 2022-12-12 18:00:09 +08:00
nathan
e141e7ee63 chore: add cell cmp trait 2022-12-12 15:29:33 +08:00
nathan
1ac1fabb6e chore: add suffix PB to filter structs 2022-12-12 11:25:49 +08:00
nathan
0cf0b29721 chore: hide the grid blocks from Dart 2022-12-11 13:10:35 +08:00
Nathan.fooo
8c225fe547
Feat/restore revision (#1549)
* chore: write snapshot

* chore: add tests

* chore: sync close

* chore: restore from snapshot

* chore: delete invalid revisions after restored from snapshot

* chore: create default view if it fail to deserialize view's revisions when there is no snapshot

* chore: auto generate snapshot

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 09:19:47 +08:00
Nathan.fooo
0d879a6091
Fix/select option filter (#1530)
* fix: multi select filter bugs

* fix: single select bugs

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 09:54:47 +08:00
nathan
fa01dbb572 chore: rename 2022-12-02 10:44:46 +08:00
nathan
29e07089ca fix: checklist cell did get notified after the cell content change 2022-11-30 15:15:03 +08:00
nathan
1ba299815e feat: implement checklist UI 2022-11-30 15:14:27 +08:00
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
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
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
appflowy
130c5f8e6e refactor: reanme flowy-grid-data-model to grid-rev-model 2022-11-08 14:12:13 +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
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
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
appflowy
1f94d9d496 chore: fix test 2022-10-10 21:21:29 +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
nathan
dfb7ed1053 fix: switch field type in board 2022-09-24 22:36:35 +08:00
appflowy
8da2d24d4e fix: unit test 2022-09-23 15:22:22 +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
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
appflowy
940289c6e3 chore: add board no status column 2022-08-30 15:21:53 +08:00
appflowy
50e772edff chore: adjust header, card padding ui 2022-08-25 09:51:33 +08:00
appflowy
82b44c2c98 chore: update board column name 2022-08-24 16:57:53 +08:00
appflowy
074c497d57 fix: fix some bugs 2022-08-22 17:45:15 +08:00
appflowy
93f5b5d754 fix: save group rev without apply change 2022-08-21 23:18:42 +08:00