Commit Graph

84 Commits

Author SHA1 Message Date
nathan
b6773a732b chore: add filter tests 2022-11-27 16:53:42 +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
3dddd907b0 chore: create filter bloc 2022-11-15 11:12:30 +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
f426745094
fix: await the cell dispose (#1437) 2022-11-11 12:41:53 +08:00
Nathan.fooo
840095d73c
fix: create grid for each test (#1431) 2022-11-10 20:22:37 +08:00
Nathan.fooo
309bbbd8e7
chore: Add group by field tests 2022-10-27 14:11:15 +08:00
Nathan.fooo
3bbf91ab2b
Add board group test (#1376) 2022-10-26 22:36:34 +08:00
Nathan.fooo
2eea57aefa
test: add app bloc test (#1370) 2022-10-26 10:38:57 +08:00
Nathan.fooo
96b1c6a540
chore: add grid header bloc test (#1341)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 16:44:10 +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
nathan
1af6c5eadc fix: bloc test errors 2022-10-23 11:52:15 +08:00
nathan
299e771877 fix: create a new property from grid 2022-10-23 10:32:37 +08:00
Richard Shiue
80f034beee
feat: alter some select option editor bloc events and add tests (#1264)
* chore: separate select and unselect events

* style: improve readability

* chore: don't send empty payloads if we can help it

* test: add select option text field test

* test: complete bloc test for select option

* test: delete all options between each test

* fix: keep insert order

* test: combine select and unselect tests

* chore: remove duplicate wait

Co-authored-by: appflowy <annie@appflowy.io>
2022-10-22 19:55:18 +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
appflowy
3a7660108c chore: add documentation 2022-10-12 22:16:14 +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
a2d27657dc refactor: remove insertField function in dart 2022-10-10 20:02:52 +08:00
appflowy
602f7e7b6c fix: format number in percent format 2022-09-27 09:52:50 +08:00
Richard Shiue
edd9128046 fix: press enter to create or select option in text field 2022-09-25 12:32:40 +08:00
Nathan.fooo
7de6a21331
Merge pull request #1137 from AppFlowy-IO/fix/format_date_fail
fix: switch format style of the date after creating
2022-09-23 16:22:17 +08:00
appflowy
082b0d2f5d fix: switch format style of the date after creating 2022-09-23 13:43:48 +08:00
appflowy
44ad0a2623 fix: create the default group for grid 2022-09-23 11:23:35 +08:00
Annie
a5e0e97df5
Merge pull request #1080 from richardshiue/fix-include-time
fix: some improvements for when including time in a date cell
2022-09-21 20:08:35 +08:00
appflowy
893b6e041d fix: show multi-line in row detail page 2022-09-20 16:15:05 +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
2e60459878 chore: rewrite UI strings for time format hints 2022-09-19 18:50:21 +08:00
appflowy
1de3999e3a chore: fix bugs 2022-09-15 16:05:55 +08:00
appflowy
34275664b2 feat: enable delete field in edit row detail page 2022-09-14 17:03:46 +08:00
Richard Shiue
a6130a27c2 fix: prevent grid header from creating identical options 2022-09-12 00:33:46 +08:00
Richard Shiue
0ef3247076 style: if-else block 2022-09-10 12:26:51 +08:00
Richard Shiue
a4d1c614ac fix: making selection in grid/kanban sometimes results in a create option 2022-09-10 12:26:51 +08:00
appflowy
2202c28534 fix: refactor grid row count UI layout 2022-09-08 11:21:39 +08:00
Nathan.fooo
ea271c7342
Merge pull request #1005 from AppFlowy-IO/fix/board_dark_mode
Fix/board dark mode
2022-09-07 22:11:13 +08:00
appflowy
c5963bc765 fix: default name when create a new field 2022-09-07 20:56:23 +08:00
appflowy
56fdc99990 feat: enable select checkbox directly 2022-09-07 19:08:08 +08:00
appflowy
c7db59c99b fix: autofocus after creating a new option 2022-09-07 19:08:05 +08:00
appflowy
4de0008e44 chore: disable group field that does not support grouping 2022-09-05 17:13:52 +08:00
appflowy
5b92805e93 chore: config checkbox ui 2022-09-05 11:44:04 +08:00
appflowy
4f8e012d54 chore: fix bugs when switch group field 2022-09-04 15:49:25 +08:00
appflowy
54d6f3709e chore: replace FieldPB with GridField 2022-09-03 21:18:52 +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
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