Commit Graph

1696 Commits

Author SHA1 Message Date
Alexandre Moreau
5d2ff8e07c fix: remove attribute if it already exists on the node 2022-10-25 00:42:31 +02:00
Nathan.fooo
0d8be87031
chore: add view bloc test (#1343)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 17:52:17 +08:00
Nathan.fooo
c65d00e95c
chore: add field editor bloc test (#1342)
* chore: add field editor bloc test

* chore: update log

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 16:56:33 +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
Lucas.Xu
aa58c79dbb
feat: support markdown export and customize save path (#1339) 2022-10-23 15:05:51 +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
Åke Engelbrektson
aa8addf4a3
feat: Add Swedish translation (#1333)
* Create sv.json

* Update app_widget.dart

* Update language.dart
2022-10-23 13:14:08 +08:00
nathan
1af6c5eadc fix: bloc test errors 2022-10-23 11:52:15 +08:00
nathan
54826da701 chore: update wait response time 2022-10-23 10:59:53 +08:00
nathan
299e771877 fix: create a new property from grid 2022-10-23 10:32:37 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +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
Lucas.Xu
bf1d4b923a
Merge pull request #1322 from ChiragKr04/fix/grid-half-hidden-textfield
fix: half hidden textfield in name field
2022-10-21 09:48:54 +08:00
chiragkr04
9064b9f7ad fix: half hidden textfield in name field 2022-10-20 16:19:23 +05:30
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
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
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
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
sahej-dev
820d2548b6 fix: Extra spacing in multiselect cell 2022-10-10 23:08:35 +05:30
Lucas.Xu
b5e9bf6ee3 test: operation.dart 2022-10-10 23:33:58 +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
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
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
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
Lucas.Xu
562da32586
Merge pull request #1220 from citricacid2/num-list
feat: added numbered list to the slash menu
2022-10-05 22:31:22 +08:00
Ishan Pandhare
8ee5c6ed25
added translation for pt_PT (#1219) 2022-10-05 21:26:55 +08:00
Lucas.Xu
2501c15a8f chore: update l10n and fix selection_menu_widget_test 2022-10-05 21:07:45 +08:00
Enzo Lizama
fe524736ec test: add url launcher test 2022-10-04 22:40:15 -05:00
Enzo Lizama
b4aceec346 test: add mockito 2022-10-04 22:40:07 -05:00