Commit graph appflowy-editor/test/new/infra
Author SHA1 Message Date
Lakhan Baheti
2b58d4f9ca
feat: support RTL in toolbar (#496) 2023-09-27 15:34:33 +08:00
Mohammad Zolfaghari
189a41f67d
fix: respect default and last direction on new line and indent (#482) 2023-09-20 14:07:38 +08:00
Lucas.Xu
b602141d32 fix: missing a required trailing comma 2023-09-13 15:26:29 +08:00
Lucas.Xu
19f999f422
feat: optimize the performance (#442) 2023-09-11 15:03:14 +08:00
Mathias Mogensen
2eb801e7f5
feat: double hyphen to em dash (#395)
* feat: double hyphen to em dash

* chore: fix tests

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-08-21 11:46:45 +08:00
Mayur Mahajan
f5c6dc2ce7
feat: find dialog 1760 (#106)
* feat: make find menu widget

* feat: service for find menu

* feat: add find menu shortcut event

* feat: create a search service

* docs: explain search service

* fix: unhighlight method takes searched word

* fix: unhighlight before each search

* feat: navigate between matches

* feat: forget highlighting from undo stack

* feat: replace logic and ui

* feat: replace shortcut handler and widget

* test: find functionality

* test: replace menu tests

* refactor: separate class for search algo

* refactor: suggested changes

* refactor: remove unhighlight method

* feat: add find highlight color

* refactor: name of the search algo class

* test: unit tests for search algorithm

* chore: simplify syntax

* test: renamed test group

* refactor: move to editor

* refactor: add shortcut for find

* refactor: use new api

* refactor: add abstrac class search algo

* fix: avoid multiple instances of find dialog

* refactor: xazin's suggestions

* chore: separately build input decor

* test: search algorithm

* chore: unhighlight properly

* refactor: replace handler

* refactor: move tests into new

* test: find menu widget test

* test: replace menu

* fix: localizations + resolve scroll bug partially

* fix: without update selection on highlight

* fix: do not select words when highlighting

* test: update expected selection

* fix: matches and styling

* feat: separate attribute for highlighting

* feat: unique color for selected match

* test: unique color for selected match

* refactor: cleaning the code

* fix: navigate to first match

* fix: tests and replace logic

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2023-08-10 13:08:45 +02:00
Lucas.Xu
953249fefd
fix: lose selection after pasting (#365)
* fix: the selection area delay to update after typing enter

* fix: selection will lose after pasting
2023-08-10 15:22:43 +08:00
Ali Hassan
73d56b44e2
fix: copy handler migrated to latest api (#240) 2023-07-25 10:08:18 +08:00
Lucas.Xu
46158d9e26
feat: customize href (#293) 2023-07-07 16:07:47 +08:00
Yijing Huang
13805afc33
feat: customized color options (#270) 2023-07-04 10:38:42 +08:00
Yijing Huang
8bfb37f691
fix: keep keyboard appearance as same brightness as system theme (#264) 2023-07-03 12:51:18 +08:00
Lucas.Xu
3614cc5bf1
Revert "fix: copy handler migrated to latest api (#192)" (#236)
This reverts commit ad838cfa86.
2023-06-22 10:04:42 +08:00
Lucas.Xu
421ea5917c
feat: support customizing number of the numbered list (#219)
* feat: support customizing number of the numbered list

* test: add tests
2023-06-20 17:13:10 +08:00
Ali Hassan
ad838cfa86
fix: copy handler migrated to latest api (#192)
* fix: copy handler migrated to latest api

* flutter analyze

* code formatted

* fix: test added for copy handler

* more test added for copy handler

* fix:write test for copy handler

* text added for html to nodes

* fix: added more test for html encoder

* fix:removed unused imports

* fix: copyhandler collapse state test added

* added direct event handler in test

* flutter analyze

* revert changes in example.json
2023-06-20 17:12:14 +08:00
Mohammad Zolfaghari
86f2d2438c
fix: toolbar position at most top (#214)
* fix: toolbar position at most top

* test: add test

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-20 10:42:57 +08:00
Lucas.Xu
c0dbd025e0
feat: support shrinkwrap inside editor (#186)
* feat: support shrinkwrap inside editor

* test: add unit test for shrinkwrap
2023-06-12 20:41:15 +08:00
Lucas.Xu
b4e0a90cc6 test: migrate internal_key_event_handlers 2023-05-03 13:44:54 +08:00
Lucas.Xu
4883a38126 test: migrate redo and undo command 2023-05-03 12:01:34 +08:00
Lucas.Xu
89e22f0d89 test: migrate the slash_handler 2023-05-03 11:10:17 +08:00
Lucas.Xu
fd1a1b1551 test: migrate page up and down 2023-05-02 23:08:38 +08:00
Lucas.Xu
22eafb7b66 test: migrate editor_service_test 2023-05-02 23:01:48 +08:00
Lucas.Xu
67de67ec73 test: migrate the page up and page down 2023-05-02 20:20:32 +08:00
Lucas.Xu
4a32d0a460 test: migrate the markdown_syntax_to_styled_text 2023-05-02 19:59:22 +08:00
Lucas.Xu
3020ce0c4c test: migrate the markdown_comamnds_test 2023-05-02 19:05:46 +08:00
Lucas.Xu
4db30d8d09 test: migrate the escape key 2023-05-02 17:19:38 +08:00
Lucas.Xu
9be02bd3e9 test: migrate the enter key test 2023-05-02 17:14:26 +08:00
Lucas.Xu
0342668721 test: migrate the cursor_left_delete_handler.dart 2023-05-02 15:42:30 +08:00
Lucas.Xu
7bd8cba1fc test: migrate the checkbox_event_handler 2023-05-02 15:19:07 +08:00
Lucas.Xu
9bf6d554a1 test: migrate the backspace test 2023-05-02 14:54:06 +08:00
Lucas.Xu
e7e58f6e05 test: migration arrow keys test 2023-05-01 15:32:39 +08:00
Lucas.Xu
91a13cdcfa feat: implement arrow up and down key 2023-05-01 15:24:51 +08:00
Lucas.Xu
b7bdee4226 test: migrate arrow keys test 2023-05-01 15:13:55 +08:00
Lucas.Xu
53ccb967dd feat: implement home / end shortcut 2023-05-01 14:37:25 +08:00
Lucas.Xu
2bf07055ed feat: implement node extension, allSatisfyInSelection 2023-04-28 19:48:34 +08:00
Lucas.Xu
e64d829012 chore: fotmat the code and implement floating_toolbar 2023-04-28 13:33:13 +08:00
Lucas.Xu
f191527c2e test: add arrow key left tests 2023-04-28 11:12:49 +08:00
Lucas.Xu
19a6c7a7b4 feat: add testable editor 2023-04-28 10:54:21 +08:00