Commit Graph

674 Commits

Author SHA1 Message Date
Lucas.Xu
c008f3369c test: implement backspace key test for styled text 2022-08-15 12:13:02 +08:00
Lucas.Xu
c7b0ddfa1d test: enter key handler test coverage 100% 2022-08-15 11:14:33 +08:00
Lucas.Xu
b372028671 chore: Keep the test directory and code directory structure consistent 2022-08-15 10:32:42 +08:00
Lucas.Xu
07ab4c2680 test: add flowy_editor_test into github workflows 2022-08-15 10:26:30 +08:00
Lucas.Xu
d6f1593a20 test: implement enter key test for styled text 2022-08-15 10:25:56 +08:00
Lucas.Xu
e508d7414c chore: delete legacy test file 2022-08-15 10:25:56 +08:00
Lucas.Xu
a6bba5a0f9 feat: implement editor test infra 2022-08-15 10:25:56 +08:00
appflowy
f6263f758f fix: multi scrollview warning 2022-08-13 13:55:33 +08:00
appflowy
28e77ae68c chore: add card container 2022-08-13 11:51:26 +08:00
appflowy
2282aa948e chore: support link/number/multiselect/checkbox board cell 2022-08-13 10:01:40 +08:00
Vincent Chan
5b1c66ee1e
Merge pull request #838 from AppFlowy-IO/feat/deep-copy-nodes
Feat: deep clone nodes
2022-08-12 19:35:53 +08:00
Vincent Chan
d822e1e2ca fix: paste nodes 2022-08-12 18:44:56 +08:00
Vincent Chan
ba05aa137e feat: filter the empty delta 2022-08-12 18:17:05 +08:00
Vincent Chan
0424c14c7d feat: deep clone nodes 2022-08-12 18:00:00 +08:00
Nathan.fooo
435d1b8354
Merge pull request #820 from AppFlowy-IO/feat/appflowy_board
Feat/appflowy board
2022-08-12 17:11:49 +08:00
Vincent Chan
53cb05998b feat(doc): HTML converter 2022-08-12 16:38:33 +08:00
appflowy
055868bae3 chore: build board card ui 2022-08-12 16:30:08 +08:00
Vincent Chan
61aaa20113 feat: handle text-decoration for text styles 2022-08-12 16:25:50 +08:00
Vincent Chan
0f404e5527 feat: strike 2022-08-12 16:14:36 +08:00
Vincent Chan
690ec5cc94 feat: italic 2022-08-12 16:01:41 +08:00
Vincent Chan
ee80fd5d97 feat: copy underline 2022-08-12 16:01:41 +08:00
Vincent Chan
68a1acc9f2
Merge pull request #831 from AppFlowy-IO/doc/transaction-and-deltas
Doc: transaction and deltas
2022-08-12 15:44:50 +08:00
Vincent Chan
7d6f872fed feat(doc): EditorState 2022-08-12 14:28:52 +08:00
Vincent Chan
76a317a9fb refactor: remove delted nodes 2022-08-12 14:03:35 +08:00
Vincent Chan
f0ed15440a feat(doc): document's state 2022-08-12 14:00:56 +08:00
Vincent Chan
f2c624778e feat(doc): transaction and deltas 2022-08-12 13:51:12 +08:00
Lucas.Xu
1b5d717560 fix: #832 2022-08-12 13:40:35 +08:00
Nathan.fooo
cc39e03f4c
Merge pull request #828 from LucasXu0/main
fix: #827
2022-08-11 22:36:03 +08:00
Vincent Chan
456502586b fix: undo attributest 2022-08-11 20:35:28 +08:00
Lucas.Xu
f708afe673 fix: #827 2022-08-11 20:14:36 +08:00
Vincent Chan
f913e00856
Merge pull request #823 from ChiragKr04/feat/close-dialog-on-esc-press
fix: closing rename dialog on escape key press
2022-08-11 19:22:44 +08:00
Vincent Chan
c53df59b48
Merge pull request #824 from AppFlowy-IO/feat/handle-edit-keys
Feat: handle edit keys
2022-08-11 19:08:53 +08:00
Lucas.Xu
42fe2f675a
Merge pull request #813 from LucasXu0/fix/#811
#811, #814, #818
2022-08-11 19:08:28 +08:00
Chirag Bargoojar
96cdb82ca4
fix: removed .then() handler 2022-08-11 15:57:55 +05:30
Lucas.Xu
508b276a79 feat: dismiss popup list if no results 2022-08-11 18:26:16 +08:00
Lucas.Xu
6913550f92 fix: the popup list position is too lower 2022-08-11 17:24:25 +08:00
Vincent Chan
716d1f93e7 feat: page up down handler 2022-08-11 17:23:14 +08:00
Lucas.Xu
1667d14e90 chore: rename checkbox to to-do list 2022-08-11 17:08:34 +08:00
Lucas.Xu
19838227d9 feat: #818 improve user experience of the slash command 2022-08-11 17:02:04 +08:00
Vincent Chan
c42f9001c4 feat: select all 2022-08-11 16:45:53 +08:00
Vincent Chan
4794203e74 feat: handle delete keys 2022-08-11 16:17:54 +08:00
chiragkr04
f4fa185976 fix: closing rename dialog on escape key press 2022-08-11 13:32:48 +05:30
Vincent Chan
8f6eb5a0d6 fix: revert delta of bold 2022-08-11 15:25:42 +08:00
Vincent Chan
afe11a4f91 fix: selection state mismatch 2022-08-11 13:47:49 +08:00
Lucas.Xu
3087594b3c fix: #814 2022-08-11 13:38:40 +08:00
appflowy
8b535720ef chore: add AF prefix to appflowy_board classes 2022-08-11 13:33:36 +08:00
Lucas.Xu
fe2790fb68 fix: #811 The height of selection areas in same line is not same. 2022-08-11 11:49:54 +08:00
Lucas.Xu
9b00a25004 fix: the height of the selection rects in same line is not same 2022-08-11 10:59:59 +08:00
Lucas.Xu
eac54aefd7
Merge pull request #810 from LucasXu0/doc/flowy_selection_documentation
selection service documentation and implement auto wrap when selection changes.
2022-08-11 10:46:08 +08:00
Lucas.Xu
50f8e1f5d0 feat: implement automatically wrap when the selection changes 2022-08-10 20:07:54 +08:00
Lucas.Xu
1eec97c761 chore: refactor the service type 2022-08-10 20:07:54 +08:00
Lucas.Xu
ae0012ba37 docs: documentation for selection_service 2022-08-10 20:07:49 +08:00
Vincent Chan
223c8cafd4 fix: crashes when deleting emoji 2022-08-10 18:07:25 +08:00
Vincent Chan
b5ecd7dedc test: next runes 2022-08-10 18:03:39 +08:00
Vincent Chan
c554720dff fix: emoji position 2022-08-10 17:50:27 +08:00
Vincent Chan
bee1a04329 feat: compute string indexes 2022-08-10 17:50:27 +08:00
Vincent Chan
45556ae015 refactor: flutter style optional chaining 2022-08-10 17:50:27 +08:00
Vincent Chan
eb519f4e11 feat: add cache to text_delta 2022-08-10 17:50:27 +08:00
Vincent Chan
737e374a54 refactor: text-delta 2022-08-10 17:50:27 +08:00
Vincent Chan
a26b693807 feat: add comments to HTMLConvertert 2022-08-10 16:06:00 +08:00
appflowy
0d6c04ae81 chore: load field typeOption 2022-08-10 16:04:04 +08:00
Vincent Chan
0c0039ca95 Merge branch 'main' into feat/copy-styles 2022-08-10 15:28:39 +08:00
Vincent Chan
c2a295d9cd feat: copy styles of text delta 2022-08-10 15:26:14 +08:00
Lucas.Xu
046faf3880 fix: unexpect behaviour when pressing enter key 2022-08-10 15:07:30 +08:00
Lucas.Xu
79591791c1 chore: move all code into src/ 2022-08-10 14:33:54 +08:00
Vincent Chan
20fb714550 refactor: rename highlightColor to backgroundColor 2022-08-10 14:22:35 +08:00
Vincent Chan
430e9974be feat: convert number list 2022-08-10 13:53:10 +08:00
Vincent Chan
e606306635 feat: converter 2022-08-10 13:39:29 +08:00
Vincent Chan
4140994fed feat: paste ordered list 2022-08-10 13:17:58 +08:00
Vincent Chan
a59c809847 feat: copy checkbox style 2022-08-10 11:44:32 +08:00
Vincent Chan
d40a3c33fd feat: copy paste check box 2022-08-10 11:28:56 +08:00
Nathan.fooo
7f249ebae2
Merge pull request #801 from LucasXu0/feat/text_style
Feat/text style
2022-08-09 19:53:31 +08:00
Lucas.Xu
6a27c490aa fix: selection error in edge 2022-08-09 19:43:28 +08:00
Lucas.Xu
215587a507 chore: format code 2022-08-09 19:37:46 +08:00
Lucas.Xu
3e256be0b9 fix: checkbox placeholder error 2022-08-09 19:19:35 +08:00
Lucas.Xu
0650c40d9d fix: checkbox error
pressing Enter after a checked-off item, the new checkbox is also checked off. it should be unchecked when it’s newly created.
2022-08-09 19:11:21 +08:00
Lucas.Xu
1391d202a9 fix: could not remove text style when pressing enter in empty text node 2022-08-09 19:03:55 +08:00
Lucas.Xu
4223324689 fix: cursor height error 2022-08-09 18:54:33 +08:00
Lucas.Xu
8fa55cfa08 feat: text insert and replace with selection styles 2022-08-09 18:19:11 +08:00
Lucas.Xu
b7cb4b647d fix: the editor loses focus occasionally 2022-08-09 17:52:11 +08:00
Lucas.Xu
e9d8dc9657 feat: increase line spacing 2022-08-09 17:50:32 +08:00
Lucas.Xu
ac3af7e01b
Merge pull request #799 from LucasXu0/feat/text_style
fix: text align error
2022-08-09 15:33:28 +08:00
Lucas.Xu
255cb47876 fix: text align error 2022-08-09 15:32:28 +08:00
Nathan.fooo
befdb10554
Merge pull request #797 from AppFlowy-IO/fix/undo-redo-handler
fix: undo redo handler
2022-08-09 15:23:16 +08:00
Lucas.Xu
a032a0e8db
Merge pull request #798 from LucasXu0/feat/text_style
update text style and document style.
2022-08-09 15:22:14 +08:00
Lucas.Xu
6f32f749bc fix: delete style widget error 2022-08-09 15:15:53 +08:00
Lucas.Xu
4464f2abfe feat: make the text node widget align center. 2022-08-09 14:50:31 +08:00
Vincent Chan
7c58654fe8 fix: undo redo handler 2022-08-09 14:04:40 +08:00
Nathan.fooo
b9de45a110
Merge pull request #792 from LucasXu0/feat/mouse_cursor_style
Feat/mouse cursor style
2022-08-09 13:48:49 +08:00
Nathan.fooo
aaee3003ce
Merge pull request #793 from AppFlowy-IO/feat/refactor_plugin_path
Refactor plugins path
2022-08-09 12:37:52 +08:00
Lucas.Xu
b9c0c1209a feat: support more command + x shortcut 2022-08-09 11:46:40 +08:00
Vincent Chan
8e310d233f
Merge pull request #790 from AppFlowy-IO/feat/copy-styles
Feat/copy styles
2022-08-09 11:30:30 +08:00
Lucas.Xu
f4a31768cb feat: support rendering text background color and text color 2022-08-09 11:20:53 +08:00
Lucas.Xu
fdbecd7f10 fix: typo 2022-08-09 10:46:51 +08:00
Lucas.Xu
06d11a91d1 feat: lineThrough and underline can coexist 2022-08-09 10:44:00 +08:00
appflowy
61df3848e4 chore: update appflowy_board pub.dev config 2022-08-09 10:03:42 +08:00
Lucas.Xu
585c9f8753 fix: fix something wrong when deleting the text nodes 2022-08-08 23:28:40 +08:00
Lucas.Xu
af2f6a03d5 feat: implement logic that pressing enter key without shift key in text nodes 2022-08-08 23:18:07 +08:00
Lucas.Xu
364a8e6ad2 chore: replace 'checkbox' with StyleKey.checkbox 2022-08-08 22:29:02 +08:00
Lucas.Xu
6dcf3b3fa7 feat: set mouse cursor style to text when hovering on the text node 2022-08-08 20:34:26 +08:00
Nathan.fooo
70fbcb0de9
Merge pull request #774 from AppFlowy-IO/feat/board_ui
Feat/board UI
2022-08-08 20:27:20 +08:00
Nathan.fooo
ef8d154736
Merge pull request #788 from LucasXu0/fix/ime_error
fix: could not delete character when using IME
2022-08-08 20:08:12 +08:00
appflowy
0abd62829c chore: update pubspec path 2022-08-08 19:59:17 +08:00
Vincent Chan
9d9b0e5878 feat: add stringify tag 2022-08-08 19:09:19 +08:00
Nathan.fooo
0bf4a79ec9
Merge pull request #787 from AppFlowy-IO/feat/add-default-impl-for-image
Feat: add default impl for image
2022-08-08 18:47:48 +08:00
Nathan.fooo
a138b32c8e
Merge pull request #786 from LucasXu0/feat/markdown_input
implement markdown input style, like, #, *, -, -[]
2022-08-08 18:47:16 +08:00
appflowy
db5b3e3bd3 chore: update ui 2022-08-08 18:43:37 +08:00
Lucas.Xu
27ea5a11a9 feat: disable scroll when showing popuplist 2022-08-08 18:40:09 +08:00
Lucas.Xu
6e71ec23a1 feat: delete slash when using the popuplist and pressing enter key 2022-08-08 18:24:11 +08:00
Lucas.Xu
1ece5cfd9e feat: binary search selection supports searching child nodes 2022-08-08 18:11:20 +08:00
Naughtz
0d1eb5e48d
Merge branch 'AppFlowy-IO:main' into main 2022-08-08 16:45:48 +08:00
Lucas.Xu
2f84d7e54e fix: fix crash when selecting the last node 2022-08-08 16:17:17 +08:00
Lucas.Xu
dc018bc7e4 fix: could not delete character when using IME 2022-08-08 16:08:01 +08:00
Vincent Chan
91c62cb0ae feat: add default impl for image node 2022-08-08 15:46:02 +08:00
Lucas.Xu
19fc154681 feat: implement markdown input, like, #, *, -, -[] 2022-08-08 15:33:11 +08:00
Vincent Chan
7eb95def7c feat: handle triple tap 2022-08-08 14:43:45 +08:00
Lucas.Xu
7855e5403c feat: convert text to bulleted list style when inputing '* ' or '- ' 2022-08-08 13:59:38 +08:00
Naughtz
237f2f6190
Merge branch 'AppFlowy-IO:main' into main 2022-08-08 13:39:46 +08:00
Lucas.Xu
849e19e1ef fix: popuplist will not show when the selection is not collapsed 2022-08-08 13:37:56 +08:00
Naughtz
402b29b3e3 feature: MouseCursor for expanding row #687 2022-08-08 12:04:28 +08:00
Lucas.Xu
9b9de523da fix: flowy_rich_text will not automatically wrap when the text exceeds a line 2022-08-08 10:54:09 +08:00
appflowy
971a5e245a chore: rename folder 2022-08-08 10:49:00 +08:00
Lucas.Xu
25387cd0b0 feat: customizes quoted text style 2022-08-08 10:29:45 +08:00
Lucas.Xu
59838f5845 feat: customizes checkbox text style 2022-08-08 10:29:45 +08:00
Lucas.Xu
f6fbe55477 feat: flowy_rich_text supports placeholder and customizes placeholder style 2022-08-08 10:29:45 +08:00
Lucas.Xu
274b3d1d25 fix: focusNode lost focus 2022-08-08 10:29:45 +08:00
appflowy
a333f558f4 chore: rename flowy_board to appflowy_board 2022-08-08 10:27:58 +08:00
Lucas.Xu
2b113aae7f chore: format code 2022-08-08 10:23:43 +08:00
appflowy
ae57216c0a chore: add license 2022-08-07 16:11:42 +08:00
Lucas.Xu
fb267ace18 feat: optimize the calculation of cursor position and selection position 2022-08-07 12:18:16 +08:00
Lucas.Xu
7e6c7a2b4e feat: refactor current selection and current selectedNodes in selection_service 2022-08-07 11:45:27 +08:00
appflowy
1ba24c00ba chore: fix reset phantom record bug 2022-08-07 11:26:45 +08:00
appflowy
621c9615a1 chore: update import path 2022-08-07 10:46:31 +08:00
appflowy
c035c9cf93 chore: config insert animation 2022-08-06 14:52:39 +08:00
appflowy
151e735d27 chore: dart fmt 2022-08-06 11:21:25 +08:00
Lucas.Xu
4b4ce1020d feat: optimize selection implement by binary search 2022-08-06 00:08:03 +08:00
Nathan.fooo
25226bf26b
Merge pull request #769 from AppFlowy-IO/feat/handle-google-docs-style
Feat: handle google docs html style
2022-08-05 23:56:39 +08:00
Nathan.fooo
adc03a1741
Merge pull request #772 from AppFlowy-IO/feat/video_plugin
feat: implement youtube link plugin
2022-08-05 23:55:40 +08:00
Nathan.fooo
4d6227c502
Merge pull request #773 from LucasXu0/feat/macos_ime_support
feat: support IME in macOS
2022-08-05 23:55:23 +08:00
appflowy
8ca1cc0a21 chore: add documentation 2022-08-05 23:53:50 +08:00
appflowy
9e4dbc53f7 chore: add documentation 2022-08-05 20:33:00 +08:00
Lucas.Xu
ec47aa51a1 feat: support IME in macOS 2022-08-05 20:05:36 +08:00
annie
9b86e06377 feat: implement video plugin 2022-08-05 19:42:39 +08:00
Nathan.fooo
d758cc749a
Merge pull request #768 from LucasXu0/feat/auto_scroll_service
implement autoscrolling on edge touch
2022-08-05 19:25:02 +08:00
Vincent Chan
e472c64506 feat: handle google docs paste style 2022-08-05 15:04:24 +08:00
appflowy
2e0256f305 fix: inserted index out of boundr 2022-08-05 12:51:47 +08:00
appflowy
e592a09ec3 chore: remove phantom where dragTarget disappear 2022-08-05 12:09:27 +08:00
appflowy
3977925e8a chore: add documentation 2022-08-05 11:59:20 +08:00
Lucas.Xu
70853b918e Merge remote-tracking branch 'origin/main' into feat/toolbar_service 2022-08-05 11:04:21 +08:00
Lucas.Xu
e5787090d2 feat: implement autoscrolling on edge touch 2022-08-05 10:59:51 +08:00