Commit Graph

401 Commits

Author SHA1 Message Date
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
gabrielztk
70f9a289a4
Resolve rust clippy warnings (#946)
* refactor: avoid using `collect()` when not needed
and cascade notation

* refactor:  The user might expect to be able
to use Default as the type can be
constructed without arguments.

* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait

* refactor: remove intermediary
variables and use cascade notation

* refactor: using `clone` on type `indextree::NodeId`
which implements the `Copy` trait

* refactor: unneeded `return` statement

* refactor: ok_or_else avoids executing a
function when it's not needed

* refactor: dereferenced by the compiler

* refactor: user enumeration for index

* refactor: using `clone` on type `usize`
 which implements the `Copy` trait

* refactor: useless conversion to the
same type: `&str`

* refactor:  The user might expect to be able use Default
as type can be constructed without arguments

* refactor:  The user might expect to be able use Default
as type can be constructed without arguments

* fix: rust formating with fmt

* fix: conflict default implementation

Co-authored-by: appflowy <annie@appflowy.io>
2022-09-01 12:26:51 +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
appflowy
cde8ad9084 chore: enable create card from header button 2022-08-31 14:56:03 +08:00
appflowy
506af26b6d chore: save move to no status card 2022-08-31 11:58:28 +08:00
appflowy
a7349f43aa chore: add edit card button 2022-08-30 20:54:11 +08:00
appflowy
6e71d6d325 chore: fix warnings 2022-08-30 16:45:48 +08:00
appflowy
940289c6e3 chore: add board no status column 2022-08-30 15:21:53 +08:00
appflowy
af3bfebb64 chore: become editing when creating a new card 2022-08-29 17:52:36 +08:00
appflowy
aba0f946dd chore: do not build the cell if its fieldId equal to the corresponding group field id 2022-08-26 16:07:51 +08:00
appflowy
c43d0790dc chore: enable create board 2022-08-25 15:46:21 +08:00
appflowy
90db76811c chore: update board template 2022-08-25 14:11:05 +08:00
appflowy
14874772b1 chore: insert default group at index 0 2022-08-25 13:44:58 +08:00
appflowy
c827f9b156 chore: fix card refresh issue 2022-08-25 12:36:56 +08:00
appflowy
50e772edff chore: adjust header, card padding ui 2022-08-25 09:51:33 +08:00
appflowy
a896637eab fix: reload card content 2022-08-24 21:06:42 +08:00
appflowy
82b44c2c98 chore: update board column name 2022-08-24 16:57:53 +08:00
appflowy
f5f3f51cca chore: update column name when field was changed 2022-08-24 08:27:34 +08:00
appflowy
074c497d57 fix: fix some bugs 2022-08-22 17:45:15 +08:00
appflowy
ffc6f141fa chore: fix GroupConfigurationRevision deserialize error 2022-08-22 10:06:08 +08:00
appflowy
93f5b5d754 fix: save group rev without apply change 2022-08-21 23:18:42 +08:00
appflowy
23efbc00c1 ci: fix unit test 2022-08-21 13:58:03 +08:00
appflowy
6e6a812243 chore: save group revision and fix warnings 2022-08-20 23:57:51 +08:00
appflowy
3c022d4de5 chore: save group configuration 2022-08-20 17:10:34 +08:00
appflowy
49601b66ef chore: save group configuration 2022-08-20 16:44:44 +08:00
appflowy
91b2917d60 chore: reader and writter for group configuration 2022-08-20 15:40:13 +08:00
appflowy
5fac1f044a chore: move some structs 2022-08-19 23:11:05 +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
da485c6df9 chore: add more test 2022-08-19 09:10:12 +08:00
appflowy
0680b20579 chore: add group unit test 2022-08-18 21:44:22 +08:00
appflowy
d3cd60e527 refactor: rename structs 2022-08-18 21:44:22 +08:00
appflowy
4856a024a2 chore: Update row when moving row caused cell data changed 2022-08-18 21:44:22 +08:00
appflowy
c4514e421a chore: move card from one column to another 2022-08-18 21:44:22 +08:00
appflowy
f32068d64b refactor: move row params 2022-08-18 21:44:21 +08:00
appflowy
3a27413dfc fix: row is not added into group when create a new row 2022-08-18 21:44:21 +08:00
appflowy
0ecb15cfa3 chore: fix some bugs 2022-08-17 14:33:45 +08:00
appflowy
9922645e59 chore: group the row after updated the row 2022-08-17 09:03:43 +08:00
appflowy
9456fbd573 chore: fix some bugs 2022-08-16 20:34:12 +08:00
appflowy
162152916c chore: delete board card 2022-08-16 17:41:02 +08:00
appflowy
bc346dfd67 chore: create board card 2022-08-16 17:16:18 +08:00