Commit Graph

441 Commits

Author SHA1 Message Date
Nathan.fooo
a2f9ca2f28
fix: options don't refresh after moving the card (#1536)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 15:23:59 +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.fooo
806a924fff
Merge pull request #1528 from AppFlowy-IO/feat/folder_node
Feat/folder node
2022-12-05 09:53:59 +08:00
ENsu
a2161216d8
feat: can transform options from single & multi select (#1493)
* feat: can transform options from single & multi select

* test: add single-multi switch test
2022-12-04 16:32:37 +08:00
nathan
fa01dbb572 chore: rename 2022-12-02 10:44:46 +08:00
nathan
44f9254c0a chore: add codegen crate 2022-12-01 15:17:55 +08:00
nathan
96c427e869 refactor: rename flowy-dispatch structs 2022-12-01 09:26:16 +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
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