Commit Graph

123 Commits

Author SHA1 Message Date
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
96c427e869 refactor: rename flowy-dispatch structs 2022-12-01 09:26:16 +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
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
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
ebdd28cf1c chore: add ref count map 2022-11-08 09:30:10 +08:00
Nathan.fooo
3bbf91ab2b
Add board group test (#1376) 2022-10-26 22:36:34 +08:00
appflowy
3a7660108c chore: add documentation 2022-10-12 22:16:14 +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
b8895ce787 chore: remove unuse code 2022-10-11 01:04:13 +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
dfb7ed1053 fix: switch field type in board 2022-09-24 22:36:35 +08:00
appflowy
4f8e012d54 chore: fix bugs when switch group field 2022-09-04 15:49:25 +08:00
appflowy
e75d8f22c8 chore: add edit field type option helper 2022-09-02 13:24:10 +08:00
appflowy
c827f9b156 chore: fix card refresh issue 2022-08-25 12:36:56 +08:00
appflowy
074c497d57 fix: fix some bugs 2022-08-22 17:45:15 +08:00
appflowy
23efbc00c1 ci: fix unit test 2022-08-21 13:58:03 +08:00
appflowy
91b2917d60 chore: reader and writter for group configuration 2022-08-20 15:40:13 +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
d3cd60e527 refactor: rename structs 2022-08-18 21:44:22 +08:00
appflowy
b7d71428be chore: send group notification 2022-08-16 15:49:54 +08:00
appflowy
0514b005ca feat: config view lens 2022-08-15 20:07:01 +08:00
appflowy
24ca8da8c8 chore: add create card notification 2022-08-14 15:30:34 +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
dc53cb00dd chore: create the default group for the rows that are not belong to any groups 2022-08-13 16:23:44 +08:00
appflowy
57ede798d8 refactor: remove UpdateRowPB, refactor RowInfo class 2022-08-13 15:00:13 +08:00
appflowy
461751cf59 chore: config group service 2022-08-11 21:18:27 +08:00
appflowy
08b9930510 refactor: prefer namespace isolation, remove Grid keyword in some structs 2022-08-11 13:25:55 +08:00
appflowy
aae2d96a4f chore: refactor multi-select type option and add GroupPB 2022-08-11 13:04:55 +08:00
appflowy
8cdecd50fe chore: rename structs 2022-07-25 13:50:58 +08:00
appflowy
e45b14910b chore: add suffix PB to dart class 2022-07-17 14:49:29 +08:00
appflowy
1bf0f0f875 chore: add suffix PB to rust struct 2022-07-17 13:38:53 +08:00
appflowy
f10e324b73 refactor: type options directory 2022-07-13 11:09:13 +08:00
appflowy
1e3640f8ac chore: config cell displayable data 2022-07-12 22:24:01 +08:00
appflowy
284755eccf refactor: row builder 2022-07-12 15:49:14 +08:00
appflowy
7d39e90a9a chore: separate RowScript from EditorScropt 2022-07-11 20:09:34 +08:00
appflowy
5bfbda5606 fix: decode cell revision into AnyCellData 2022-07-10 22:26:21 +08:00
appflowy
45774093e1 chore: separate cell operation from row mod 2022-07-08 15:41:26 +08:00
appflowy
5177884b26 refactor: cell data operation 2022-07-08 14:55:44 +08:00
appflowy
0d5f0d29d9 chore: add checkbox & select option filter tests 2022-07-07 22:45:17 +08:00