Commit Graph

2228 Commits

Author SHA1 Message Date
Nathan.fooo
3fbcd928db
fix: padding for edit field (#1400) 2022-10-30 19:31:53 +08:00
Lucas.Xu
fa4e3d0d2a
Merge pull request #1397 from LucasXu0/auto_focus
feat: implement auto focus
2022-10-30 17:07:35 +08:00
Nathan.fooo
bc5548ff75
fix: changeset composing (#1398) 2022-10-30 12:54:07 +08:00
Lucas.Xu
6130dfe36a feat: implement auto focus 2022-10-30 10:34:55 +08:00
Lucas.Xu
64b4a99aa1
Merge pull request #1391 from LucasXu0/pick_0_0_6_1_to_main
chore: pick release/0.0.6 to main
2022-10-30 10:17:05 +08:00
Cyrine-benabid
baeedf557d feat: close popover on AddOptionButton tap 2022-10-30 02:24:57 +02:00
Cyrine ben-abid
b7f369b3d9 feat: close popover on text field tap 2022-10-29 16:47:32 +02:00
Cyrine ben-abid
3e76fa8e42 fix: close popover on add option button clicked and textfield focused 2022-10-29 16:47:32 +02:00
Nathan.fooo
783fd40f63
Feat/op compose (#1392) 2022-10-29 20:54:11 +08:00
Lucas.Xu
10541502b8 chore: pick release/0.0.6 to main 2022-10-29 17:00:40 +08:00
Lucas.Xu
95fdfd7da2
Merge pull request #1390 from LucasXu0/fix_enter_key_handler
fix: remove the unnecessary operation in enter key handler
2022-10-29 16:56:07 +08:00
Lucas.Xu
4a48a2af5a fix: remove the unnecessary operation in enter keyhandler 2022-10-29 15:16:31 +08:00
Sean Riley Hawkins
4d89b7a24e
test: scroll service test for editor 2022-10-28 21:25:04 +08:00
Lucas.Xu
b6dc18ba32 chore: update appflowy_editor CHANGELOG 2022-10-27 15:30:19 +08:00
Lucas.Xu
9c24597bbd
Merge pull request #1380 from LucasXu0/appflowy_editor_0_0_7
appflowy editor 0.0.7
2022-10-27 15:23:17 +08:00
Lucas.Xu
ea46272b49
Merge pull request #1373 from LucasXu0/fix_checkbox_copy
fix: copy link and code style
2022-10-27 15:22:54 +08:00
Lucas.Xu
ac36d76eed chore: update version 0.0.7 2022-10-27 14:53:15 +08:00
Lucas.Xu
90b9456b0b chore: update documentation for customizing a theme 2022-10-27 14:52:17 +08:00
Nathan.fooo
309bbbd8e7
chore: Add group by field tests 2022-10-27 14:11:15 +08:00
Lucas.Xu
862ba3173a chore: update main.dart 2022-10-27 14:08:54 +08:00
Lucas.Xu
76cdb689fb chore: update language for bn_BN 2022-10-27 14:00:24 +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
Lucas.Xu
799ceb432f fix: copy link and code style 2022-10-26 20:14:35 +08:00
Lucas.Xu
c7c9048fe3
Merge pull request #1364 from LucasXu0/adapt_dart_mode
feat: adapt dark mode
2022-10-26 14:55:37 +08:00
Utsav Paul
7e2a0144a1
feat: added new translation (bn_BN) to appflowy-editor (#1356)
* Create intl_bn_BN.arb

* Update intl_bn_BN.arb
2022-10-26 14:52:53 +08:00
Lucas.Xu
3f97820094 feat: customize the placeholder text style 2022-10-26 14:51:39 +08:00
Lucas.Xu
e7adc3bcbf fix: selection menu show in wrong position 2022-10-26 14:36:00 +08:00
Lucas.Xu
381913307c fix: copy selection exception 2022-10-26 11:54:21 +08:00
Lucas.Xu
799ed2fdb9 feat: custom upload image menu style 2022-10-26 11:47:38 +08:00
Lucas.Xu
a68903918c feat: custom link menu style 2022-10-26 11:43:10 +08:00
Nathan.fooo
170bbb6db0
test: add home bloc test (#1371) 2022-10-26 11:09:51 +08:00
Lucas.Xu
a702c06dc8 feat: custom context menu style 2022-10-26 11:01:25 +08:00
Lucas.Xu
fac76ac5b8 feat: custom selection menu style 2022-10-26 10:52:30 +08:00
Nathan.fooo
2eea57aefa
test: add app bloc test (#1370) 2022-10-26 10:38:57 +08:00
Lucas.Xu
23a65bfa2a feat: customize appflowy editor selection menu style 2022-10-26 10:16:14 +08:00
Lucas.Xu
8656cfeb1e chore: add extension for themedata 2022-10-25 22:15:31 +08:00
Lucas.Xu
6a853036a5 feat: customize appflowy editor heading style 2022-10-25 22:07:30 +08:00
Lucas.Xu
c5cea81be2 feat: integrate appflowy editor dark mode 2022-10-25 21:58:44 +08:00
Lucas.Xu
dde50d32d6 feat: refactor theme plugin, use themedata extension 2022-10-25 21:35:44 +08:00
Lucas.Xu
cdee706f46 feat: refactor theme plugin, use themedata extension 2022-10-25 20:22:38 +08:00
Nathan.fooo
586c20a14e
chore: add board test (#1363) 2022-10-25 19:50:11 +08:00
Richard Shiue
1e6c4a4d88
feat: introduce a default font (#1210)
* style: code auto-format

* feat: introduce default poppins font

* chore: port more const textstyles to shared styles
2022-10-25 19:49:58 +08:00
Nathan.fooo
18185cc90c
chore: add app setting test (#1361) 2022-10-25 17:30:57 +08:00
Nathan.fooo
67e4a759c7
chore: add reorder bloc test (#1354)
* chore: add reorder bloc test

* chore: add trash test

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-25 16:51:51 +08:00
Lucas.Xu
68da3955c1 fix: disable toolbar hover color 2022-10-25 14:41:50 +08:00
Lucas.Xu
3fb997af84 feat: support dark mode for number-list and bulleted-list 2022-10-25 14:40:18 +08:00
Lucas.Xu
6fb677d346
Merge pull request #1353 from alemoreau/fix-undo_quote_doesnt_work
fix: remove attribute if it already exists on the node
2022-10-25 14:30:55 +08:00
Lucas.Xu
50814b2bee test: add test for format_rich_text_style.dart 2022-10-25 11:13:14 +08:00
Nathan.fooo
5a6103f5d6
chore: add app bloc test (#1344)
* chore: add app bloc test

* chore: add wait

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-25 09:01:26 +08:00
Richard Shiue
da3d575295
chore: no longer need to delete all options before each test (#1348) 2022-10-25 08:36:09 +08:00
Richard Shiue
10229ca8b5
fix: avoid overlapping option colors (#1318) 2022-10-25 08:35:31 +08:00
Richard Shiue
58ad9a260c
fix: several grid ui improvements (#1347) 2022-10-25 08:29:21 +08:00
Alexandre Moreau
5d2ff8e07c fix: remove attribute if it already exists on the node 2022-10-25 00:42:31 +02:00
nathan
cc6bf3cc1e chore: update version 2022-10-23 22:16:40 +08: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
Nathan.fooo
8dff9dc67c
chore: disable log in bloc test (#1336) 2022-10-22 20:58:33 +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
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
2d66dfabe8 fix: the old context menu didn't dismiss after double-tap the other place 2022-10-19 16:49:41 +08:00
Lucas.Xu
585e71aa9d feat: update image builder to support board selection style 2022-10-19 16:35:52 +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