Commit graph appflowy-editor/test
Author SHA1 Message Date
Jayaprakash
a8a88c49fa
fix: support character deletion while holding down the Shift key. (#659)
* fix: support deletion of character using [shift+backspace] command shortcut

* refactor: remove unnecessary command handler and unit test
2024-01-10 21:13:35 +08:00
Hamish
c8ba2487da
feat: add markdown divider encoder parser (#639) 2024-01-08 15:05:03 +08:00
Lucas.Xu
7d2b456ef9
feat: improve ios touch gesture (#648) 2024-01-05 14:44:39 +08:00
Lucas.Xu
07afd7a839
feat: improve android selection gesture (#647)
* feat: improve android touch gesture

* feat: long press to select a word on Android
2024-01-05 14:23:18 +08:00
Ansah Mohammad
7ec43c9eee
feat: table navigation using TAB key (#627)
* feat: table navigation using TAB key

* feat: shift+tab for reverse navigation in table

* chore: circular traversal for arrow left and right

* test: added tests for tab and shift-tab commands in Table

* test: added tests for arrow left and right in table

* test: added corner case for tab and shift tab

* refactor: made changes as per the review

* refactor: Apply suggestions from code review

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-02 12:18:23 +08:00
Jazim Akbar
de94a5864f
feat: add markdown link syntax formatting (#618)
* Add markdown link syntax formatting

* chore: format code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-01 14:34:33 +08:00
LinJi
87068d1df9
fix: node_iterator toList encounter Dangling Node trigger dead loop. (#623)
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-01 14:28:21 +08:00
Lucas.Xu
20a714ae08
fix: todo list lost focus (#633)
* fix: click the todo icon will lose focus

* chore: rename selection extra info keys

* fix: disable create a new line when pressing the return key

* fix: selection overlay issues
2023-12-26 22:50:49 +08:00
Lucas.Xu
ace40a9965
feat: support clicking the selection area to disable floating toolbar (#632) 2023-12-26 09:10:03 +08:00
Lucas.Xu
82f3baf3f1
feat: support customizing the mobile magnifiter (#625)
* feat: support customizing the mobile magnifiter

* chore: remove unused test

* feat: expaned the padding between cursor and toolbar

* feat: support long pressing to update selection

* chore: revert code sign
2023-12-19 18:15:56 +08:00
Lucas.Xu
ffab5a1ca2
fix: memory leaks (#615) 2023-12-08 15:39:18 +08:00
Jessica He
f4834b5bce
fix: markdown does not support nested lists (#611)
* fix: markdown does not support nested lists

Signed-off-by: Jessica He <jessicahe4741@gmail.com>

* chore: code format

---------

Signed-off-by: Jessica He <jessicahe4741@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-12-07 22:53:29 +08:00
Lucas.Xu
4995d21ff4
feat: support get the after text decorate from textSpanDecorator (#612) 2023-12-04 15:15:21 +08:00
q200892907
c63d664513
feat: display number in latin or roman format (#595) 2023-11-18 13:48:17 +08:00
Lucas.Xu
4345105ebe
feat: optimize editing experience on mobile (#592)
* feat: optimize mobile editing

* feat: refactot the mobile toolbar

* feat: don't reattch text input if the selection doesn't change

* chore: update mobile toolbar layout
2023-11-15 16:03:17 +08:00
Lucas.Xu
4f073f3381 Merge branch 'main' into stable 2023-11-14 10:31:09 +08:00
Lucas.Xu
009115da83
feat: toggle format on mobile (#587)
* feat: support toggling format style when the selection is collapsed

* chore: refactor mobile toolbar items to use icon builders
instead of static icons
2023-11-13 15:43:51 +08:00
Lucas.Xu
db4057dea2 Merge branch 'main' into stable 2023-11-08 14:24:39 +08:00
Lucas.Xu
50117b6900
chore: refactor mobile toolbar and divider block component (#583)
* feat: adjust toggle list block

* chore: refactor mobile toolbar and divider block
component

* chore: adjust indentation padding in block component
configuration and indent command test
2023-11-08 14:17:08 +08:00
Lucas.Xu
c7d99913aa
feat: support Flutter stable channel (#581)
* feat: adjust toggle list block

* chore: upgrade Flutter to master channel

* chore: upgrade pbxproj

* fix: toolbar copy button not closing on mobile editor

* fix: formatting issues and add missing commas

* chore: add stable branch to GitHub Actions workflow

* chore: add missing trailing commas

* chore: adjust indentation padding in block component
configuration and unit tests
2023-11-08 13:46:33 +08:00
Lucas.Xu
aa90288c20
fix: 'PageStorage.of' returns null (#575) 2023-11-06 15:18:56 +08:00
Mayur Mahajan
4b1a3d5307
fix: check if header exists for footer (#559)
* fix: check if header exists for footer

* test: add tests and refactor if statement

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
2023-11-02 14:11:37 +01:00
Mathias Mogensen
7336274ff9
fix: on ui event reset selection type (#555)
* fix: on ui event reset selection type

* test: add test
2023-10-30 11:20:42 +08:00
Mathias Mogensen
5b9b6d80f5
feat: power checkbox shortcut (#553) 2023-10-30 11:20:15 +08:00
Sameer Godse
51f8f791c8
feat: convert = and > to ⇒ (#523) 2023-10-24 14:07:29 +08:00
Lucas.Xu
6d163b8897
feat: support overriding i18n (#550) 2023-10-24 12:12:46 +08:00
Ali Hassan
522f17a00d
feat: table html encoder and decoder added (#449)
* feat: table html encoder and decoder added

* feat: html table encoder test added

* feat: fix the test ran issues

* fix: removed unused code
2023-10-22 13:59:26 +00:00
Lucas.Xu
89b93d89a7
feat: optimize editable features (#541) 2023-10-17 17:38:27 +08:00
Lucas.Xu
9ae85ea162
feat: support parsing the nested list when exporting the document to markdown format (#540)
* feat: support exporting nested list

* feat: support parsing the nested list

* fix: tests
2023-10-14 23:47:57 +08:00
Lucas.Xu
194fe2fec9
fix: unable to clear the style by toggling twice (#532) 2023-10-11 20:14:34 +08:00
Lucas.Xu
31403c9b42
fix: background color issues (#530) 2023-10-11 19:41:15 +08:00
Lucas.Xu
b17bddceb8
feat: enable toggling and canceling of the formatting with shortcuts (#528) 2023-10-11 13:10:37 +08:00
Sun Jiao
8bfd779bfe
feat: add regex and case sensitive to FindReplaceMenu (#480) 2023-10-10 15:53:38 +08:00
Lucas.Xu
adb05d4c49
feat: support customizing error block (#524)
* feat: support customzing error block

* feat: support slash menu in toggle list

* fix: enter in heading block
2023-10-10 11:38:40 +08:00
Lucas.Xu
384532434c
feat: optimize the find and replace logic (#510) 2023-10-01 16:51:42 +08:00
Lakhan Baheti
2b58d4f9ca
feat: support RTL in toolbar (#496) 2023-09-27 15:34:33 +08:00
Lucas.Xu
d1b9084ffb
fix: unable to update selection sometimes when the editor lost focus (#509) 2023-09-27 09:18:23 +08:00
Lucas.Xu
c5ea228b4e
fix: undo failed in a nested list in a special case (#503) 2023-09-26 14:10:43 +08:00
Lucas.Xu
b4c74fd3f7 fix: the text within the <mark> tag didn't parse correctly when pasting HTML. 2023-09-25 15:06:53 +08:00
Lucas.Xu
c9adbb1714 fix: command shortcuts on the web platform should also respect the operating system 2023-09-24 11:15:07 +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
78dd254d1e
feat: add more showcases on desktop/mobile platform (#481) 2023-09-20 11:17:39 +08:00
Sun Jiao
ce8a77014e
fix: resolve RangeErrorwhen last row deleted. (#470) 2023-09-17 16:10:14 +08:00
Sun Jiao
1944ab7a29
chore: update l10n (#463) 2023-09-15 10:13:49 +02:00
Lucas.Xu
edcddd97b6 fix: the selection area of divider is overflow 2023-09-13 17:21:04 +08:00
Lucas.Xu
b602141d32 fix: missing a required trailing comma 2023-09-13 15:26:29 +08:00
Lucas.Xu
12be12751d
feat: refactor color conversion method to handle RGB and hex formatsRefactor method to handle RGB and hex formats, improving color conversion (#450) 2023-09-12 11:54:05 +08:00
Lucas.Xu
19f999f422
feat: optimize the performance (#442) 2023-09-11 15:03:14 +08:00
Mayur Mahajan
ad55171c5b
refactor: migrate tests (#438)
* refactor: separate remove line command

* test: delete sentence

* chore: export delete left line command

* refactor: move from internal_key_handler to new

* refactor: move from command to new
2023-09-11 14:24:50 +08:00
Antony Kithinzi
2924c167e2
feat: bulk open links shortcut (#419)
* feat: creating open links shortcut command

* test: open links command

* refactor: applying suggestion

* refactor: fetching all unique links by a chain function
2023-09-11 14:23:45 +08:00