Commit Graph

2107 Commits

Author SHA1 Message Date
Nathan.fooo
7dbd9fe8cd
chore: implement document editor trait (#1321) 2022-10-20 15:33:18 +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
Lucas.Xu
833a6cd95f
Merge pull request #1314 from LucasXu0/feature/context_menu
feat: implement context menu
2022-10-19 08:14:00 +07:00
Lucas.Xu
31ed88364a
Merge pull request #1317 from alemoreau/grid-incomplete_display_of_the_property_names
fix: add overflow ellipsis in FieldCellButton
2022-10-19 08:13:43 +07:00
Alexandre Moreau
3ee703cd6d style: align code and add comment 2022-10-18 19:03:26 +02:00
Alexandre Moreau
0e278ddf3f fix: add overflow ellipsis in FieldCellButton 2022-10-18 13:44:23 +02:00
Lucas.Xu
c793eb67fc test: skip the secondary tap test on Windows 2022-10-18 19:26:50 +08:00
Lucas.Xu
d90414a8c1 fix: could not copy and paste the plain text 2022-10-18 19:23:04 +08:00
Lucas.Xu
1eaeb2c4c1 feat: implement new shortcut: press Escape to exit editing mode 2022-10-18 17:22:12 +08:00
Lucas.Xu
793d3808ec test: add context menu test 2022-10-18 16:58:09 +08:00
Lucas.Xu
9e40b7f992 Merge remote-tracking branch 'origin/main' into feature/context_menu 2022-10-18 16:17:29 +08:00
Lucas.Xu
30700cd513 feat: implement context menu 2022-10-18 15:44:32 +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
7edc4fd76e
chore: add select option bloc test (#1291)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-17 10:31:56 +08:00
Chirag Bargoojar
df91e00985
feat: horizontal scroll on multiselect options (#1282) 2022-10-16 20:49:47 +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
David
cbd84dfaad
chore: Update es-VE.json (#1287)
Corrected some errors of the spanish translation file.
2022-10-16 11:17:46 +07:00
Nathan.fooo
230eb5fd55
fix: run bloc_test (#1286)
* fix: run bloc_test

* fix: dart_test ci  workflow

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 23:34:56 +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
63111927cc
chore: remove events files when run clean + rebuild all (#1284)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 17:15:11 +08:00
Jed Aureus Gonzales
8a94bbd602
feat: added support for markdown to link an image (#1277)
* feat: added support for markdown to link an image

#1064

* fix: fixed failing FlowyEditor test

#1064

* chore: add documentation

* chore: add documentation

* chore: update locale

* Refactor/rename crate (#1275)

* chore: addressed review comments

#1064

* chore: removed unused import

* fix: compile error and wrong image attributes

Co-authored-by: appflowy <annie@appflowy.io>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2022-10-15 17:04:02 +08:00
Chirag Bargoojar
f53c2567fc
fix: grid cell abnormal on click behaviour (#1278) 2022-10-14 16:09:40 +08:00
Lucas.Xu
c7bdd4bcc2
Merge pull request #1273 from LucasXu0/transform
feat: notify transaction instead of operations
2022-10-14 11:36:28 +08:00
Nathan.fooo
cf4a2920f8
Refactor/rename crate (#1275) 2022-10-13 23:29:37 +08:00
Lucas.Xu
f3eeb471e7 refactor: abstract the common transaction to commands 2022-10-13 19:46:22 +08:00
Lucas.Xu
48bb80b1d0
Merge pull request #1272 from LucasXu0/locale
chore: update locale
2022-10-13 11:56:25 +08:00
Lucas.Xu
71b1769eee feat: notify transaction instead of operations 2022-10-13 11:55:16 +08:00
Lucas.Xu
8895430d9e chore: update locale 2022-10-13 11:30:02 +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
Swapnil Kumbhar
0bc0a72d8a
Code coverage for Rust (#1263)
* feat: Bumped Rust to stable-2022-04-07 (1.60.0)

* feat: Added coverage tests and report generation

* feat: Added workflow for Rust Coverage

* feat: Bumped Rust to 1.60.0 in Workflows

* test: Testing for CI

* ci: Added name and fixed path for Rust Coverage

* revert: "test: Testing for CI"

This reverts commit 049a7b1088.

* fix: Added .pub-cache to PATH, change incremental builds to zero

* test: Testing for CI

* ci: Installing protobuf compiler in CI

* revert: "test: Testing for CI"

This reverts commit 049a7b1088.

* ci: Added environment setup for dart

* test: Testing for CI

* feat: Added task to check if 'grcov' is installed

* ci: Added steps to install grcov

* test: Testing for CI

* ci: Fixed name for grcov installation step

* feat: Added cargo binaries to PATH in tests

* revert: "test: Testing for CI"

This reverts commit 24e425db66.

* revert: "test: Testing for CI"

This reverts commit a5de816bce.

* ci: Fixed a very silly failing case

* test: Created a test rust file for cov test
2022-10-11 19:54:31 +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
Lucas.Xu
d80a67bdda
refactor: implement appflowy editor core 2022-10-11 12:02:46 +08:00
Lucas.Xu
f469253916 chore: update README.MD 2022-10-11 09:36:04 +08:00
Lucas.Xu
06173195c5 chore: dart fix 2022-10-11 09:33:16 +08:00
Minho Yi
68344ef718
Feat: Translation for Korean ko_KR (#1262)
* feat: add translation ko_KR.json

* feat: add ko Locale
2022-10-11 09:27:20 +08:00
Nathan.fooo
6b528733fa
Merge pull request #1261 from sahej-dev/main
fix: Extra spacing in multiselect cell
2022-10-11 08:21:42 +08:00
Nathan.fooo
a20e92f08a
Merge pull request #1260 from AppFlowy-IO/refactor/switch_to_field 2022-10-11 07:58:59 +08:00
sahej-dev
820d2548b6 fix: Extra spacing in multiselect cell 2022-10-10 23:08:35 +05:30
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
Lucas.Xu
b5e9bf6ee3 test: operation.dart 2022-10-10 23:33:58 +08:00
appflowy
1f94d9d496 chore: fix test 2022-10-10 21:21:29 +08:00
Lucas.Xu
19bf8e3b7a refactor: move transaction.dart to core/transform 2022-10-10 20:07:52 +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
Lucas.Xu
319875529f refactor: move operation.dart to core/transform 2022-10-10 16:31:28 +08:00
Lucas.Xu
805bdc9d32 refactor: move document.dart to core/document 2022-10-10 14:58:28 +08:00
Lucas.Xu
b10ff5e68e refactor: move built_in_attributes_key to core/legacy 2022-10-10 14:53:36 +08:00
Lucas.Xu
5e7507c8e7 refactor: rename state_tree to document and move document to core/state 2022-10-10 12:08:13 +08:00
Nathan.fooo
4549ed20e7
Refactor/rename delta (#1256)
* chore: rename delta

* chore: renanme delta
2022-10-10 11:56:48 +08:00
Lucas.Xu
d02c29426e refactor: move selection to core/location 2022-10-10 10:39:42 +08:00
Lucas.Xu
b0257a626d refactor: move position to core/selection 2022-10-10 09:59:12 +08:00
Lucas.Xu
e095fd4181 refactor: move text_delta to core/document 2022-10-10 09:41:54 +08:00
Lucas.Xu
b9788bce09 refactor: move path to core/document 2022-10-09 23:53:18 +08:00
Lucas.Xu
7f92f8988f refactor: move node_iterator to core/document 2022-10-09 23:25:47 +08:00
Richard Shiue
9758fe51f8
fix: regression on hover effect persisting after closing menu (#1253)
* fix: regression on hover effect persisting after closing menu

* chore: reset onhover when FlowyHover get rebuild

Co-authored-by: appflowy <annie@appflowy.io>
2022-10-09 22:50:35 +08:00
Ishan Pandhare
78b7027343
added new translation (hi_IN) to appflowy-editor (#1237)
feat: added new translation (hi_IN) to appflowy-editor
2022-10-09 16:11:46 +08:00
Ishan Pandhare
6c39b5b321
added translation for ru-RU (#1234)
feat: added translation for ru-RU
2022-10-09 16:11:05 +08:00
Lucas.Xu
a015c28e5a
Merge pull request #1232 from Ishanned/branch1
feat: added translation for de_DE
2022-10-09 16:09:15 +08:00
Lucas.Xu
cbb6b2d9b0 refactor: move attributes to core/document 2022-10-09 15:54:39 +08:00
Lucas.Xu
11eca2b3d9 refactor: move node to core/document 2022-10-09 14:30:55 +08:00
Nathan.fooo
89d036158b
chore: update view state when close the popover (#1251) 2022-10-08 20:48:14 +08:00
Nathan.fooo
ca8be6ab10
chore: replace overlay with popover (#1250) 2022-10-08 17:10:04 +08:00
Lucas.Xu
1841fb293e chore: temporarily remove the code that automatically formats when inserting text 2022-10-08 11:25:26 +08:00
Lucas.Xu
e9c0956c51 Merge remote-tracking branch 'origin/main' into tekdel/main
# Conflicts:
#	frontend/app_flowy/packages/appflowy_editor/test/infra/test_raw_key_event.dart
2022-10-08 11:11:42 +08:00
Lucas.Xu
228a41d7ea Merge remote-tracking branch 'origin/main' into enzoftware/main
# Conflicts:
#	frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/tex_block_node_widget.dart
2022-10-08 10:24:51 +08:00
Ayush
238af3ed0e
Added flatpak files (#208) 2022-10-08 09:29:29 +08:00
vortixhead
fa9e32d86a
feat: limit max character length on select/multiselect options (#1246)
* Add maxLength of 30 characters and truncation to text fields

* Add dynamic height

* Add maxLength param

* Add maxLength in Rounded Field
2022-10-08 09:24:05 +08:00
Sarang S
2537a04fef
feat: Translation for Malayalam (ml_IN) (#1245) 2022-10-07 21:33:09 +08:00
Lucas.Xu
b9f6b62053
Merge pull request #1242 from LucasXu0/0.0.6
chore: flutter analyze and flutter format
2022-10-07 16:27:36 +08:00
appflowy
dff5e84ca5 chore: update appflowy_board version 2022-10-07 15:33:54 +08:00
Lucas.Xu
2d61581eb3 chore: flutter analyze and flutter format 2022-10-07 15:25:33 +08:00
Lucas.Xu
4abd74ed4b
Merge pull request #1240 from LucasXu0/0.0.6
chore: bump version to 0.0.6 (appflowy_editor)
2022-10-07 15:17:20 +08:00
Nathan.fooo
591d8a3872
Merge pull request #1241 from AppFlowy-IO/fix/1193
Fix/1193
2022-10-07 15:15:05 +08:00
appflowy
fa3f9c21fc fix: state of AppFlowyBoard is wrong after reordering the group 2022-10-07 14:42:40 +08:00
Lucas.Xu
323b56982b chore: bump version to 0.0.6 (appflowy_editor) 2022-10-07 12:24:10 +08:00
Lucas.Xu
e27e8e43e1 chore: update the menu item size for code_block, horizaontal_rule and tex_block 2022-10-07 11:39:49 +08:00
Lucas.Xu
e6d4f9e3f7 feat: implement horizontal rule 2022-10-07 11:24:39 +08:00
appflowy
73e81da356 fix: select card text 2022-10-06 22:26:18 +08:00
Lucas.Xu
d146bb6481 chore: fix compile error 2022-10-06 22:02:56 +08:00
Richard Shiue
5860d35d1a
fix: improve look of calendar (#1226) 2022-10-06 21:36:39 +08:00
Richard Shiue
a4a88959fd
fix: make sidebar resizing follow cursor more closely (#1202)
* fix: make sidebar resizing follow cursor more closely

* fix: don't animate sidebar size changes when dragging
2022-10-06 21:31:52 +08:00
Richard Shiue
5a5f5eceb5
fix: improve look of share button dropdown menu (#1224) 2022-10-06 19:33:02 +08:00
Enzo Lizama
73a97fdbea fix: conflict merge 2022-10-05 23:55:01 -05:00
Enzo Lizama Paredes
d2121ed2b9
Merge branch 'main' into main 2022-10-05 23:53:58 -05:00
Enzo Lizama
90ac7970bd chore: remove dynamic methods 2022-10-05 23:49:41 -05:00
Enzo Lizama
bfe61ea09d test: node tests 2022-10-05 23:46:34 -05:00
Ishan Pandhare
454f33e0fb added translation for de_DE 2022-10-06 09:59:09 +05:30
Enzo Lizama
eaf396630c chore: url launcher test 2022-10-05 23:06:48 -05:00
Lucas.Xu
c9fc9e7497
Merge branch 'main' into latex 2022-10-06 10:32:38 +08:00
Lucas.Xu
09bf373e92 Merge branch 'main' into double_tilde_to_strikethrough
# Conflicts:
#	frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/markdown_syntax_to_styled_text.dart
#	frontend/app_flowy/packages/appflowy_editor/lib/src/service/shortcut_event/built_in_shortcut_events.dart
2022-10-06 10:08:50 +08:00
Lucas.Xu
d7d6729241
Merge pull request #1211 from citricacid2/main
feat: added markdown links
2022-10-06 09:59:16 +08:00