Commit Graph

315 Commits (fix/todo-marker)

Author SHA1 Message Date
Tienson Qin ce11a51657
Merge branch 'master' into feat/integrated-title-bar 2023-05-30 16:10:22 +08:00
Charlie 66bac62a90
enhance(e2e): add e2e tests for the logseq APIs (#9512)
* improve(e2e): tests for logseq apis
2023-05-30 16:08:45 +08:00
Konstantinos Kaloutas 2cfa46cecb Merge branch 'master' into feat/integrated-title-bar 2023-05-30 10:14:35 +03:00
Konstantinos Kaloutas 6756395763 enhance: introduce exit full-screen button 2023-05-26 13:25:41 +03:00
Konstantinos Kaloutas 2bca12c9a9 Merge branch 'master' into feat/integrated-title-bar 2023-05-26 11:53:03 +03:00
Konstantinos Kaloutas fb84f336eb fix: e2e test 2023-05-24 22:27:34 +03:00
Konstantinos Kaloutas fe99214941 fix: e2e tests 2023-05-24 21:49:07 +03:00
Konstantinos Kaloutas 83e33905b2 chore: add tests 2023-05-24 21:24:25 +03:00
Bad3r 29b4936e5c
enhance(E2E): editor string formatting and symbols autopairing tests (#9388)
* enhance: only autopair tilda when text is selected

* Enhance/editor string formatting e2e (#48)

* enhance(E2E): Test editor italic, bold, strikethrough and underline.

...

---------

Signed-off-by: Bad3r <bad3r@protonmail.com>
2023-05-24 13:19:58 +08:00
Konstantinos Kaloutas d7f4f5943f add test 2023-05-23 11:31:37 +03:00
Konstantinos Kaloutas f90eef2b1a Merge branch 'master' into feat/integrated-title-bar 2023-05-22 18:07:28 +03:00
Tienson Qin dc14a6aee0 add e2e tests 2023-05-22 22:15:11 +08:00
Konstantinos Kaloutas 8c51ed214f fluxbox test 2023-05-22 12:41:31 +03:00
Konstantinos Kaloutas d7f8eda846 enhance: window title bar 2023-05-19 18:23:15 +03:00
Bad3r 68da34ed0d
dev(playwright): Ignore conntection refused errors (#9426)
* ignore connection refused errors

* enhance: ignore connection errors
2023-05-18 11:19:07 +08:00
Konstantinos Kaloutas afdb5c259b fix: test description 2023-05-16 09:42:07 -04:00
Konstantinos Kaloutas f530927062 chore: add and fix e2e tests 2023-05-16 09:42:07 -04:00
Konstantinos Kaloutas e5de374471 chore: add tests 2023-05-16 09:42:07 -04:00
Ben Yorke 928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Andelf 862bbd7513 test(e2e): refine test for template expansion 2023-05-11 16:51:47 +08:00
Konstantinos 5885bc86b6
Enhance (Whiteboards): Add prefix to default keyboard shortcuts (#9340)
* enhance: keyboard shortcuts

* fix: portal shortcut

* fix: e2e tests

* fix: e2e

* enhance: keyboard shortcuts
2023-05-09 12:38:00 -04:00
Tienson Qin 01479ef9da
enhance(perf): insert and delete blocks (#9142)
* enhance(perf): improve performance for both insert and delete

* fix: remember cursor pos before executing the body in a transaction

Otherwise, the edit-block and position could be changed

* fix: disable delete-concat when there's no child or right sibling

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-05-09 17:24:09 +08:00
Konstantinos Kaloutas 896f425268 Revert "e2e test"
This reverts commit 6ee2b0c803.
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 7fc5157f30 e2e test 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 14bf84dc30 Revert "e2e test"
This reverts commit a5d3e71100.
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas a599e64fd8 e2e test 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 24bf928bed revert test changes 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas b5cee58acc fix: e2e test 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 32f1fdb046 fix: e2e test 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 11a864e1d4 fix: e2e test 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas d94689e280 fis: e2e tests 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas e10cb90395 chore: add test 2023-04-24 13:30:27 +08:00
Tienson Qin 64050a4929 fix: typo 2023-04-19 15:44:06 +08:00
Tienson Qin bcf575ebd3 add tests 2023-04-19 15:35:54 +08:00
Tienson Qin a09ba93647 fix: revert changes from #8974 and #9125 2023-04-19 14:13:19 +08:00
Tienson Qin a8013a5288
fix: broken outliner structure when Backspace at the beginning (#9125)
* fix: broken outliner structure when DELETE at the beginning

related to #8974

* fix: 'Delete' key deletes entire set of blocks

close #9128

---------

Co-authored-by: Mega Yu <yuhg2310@gmail.com>
2023-04-18 22:46:49 +08:00
Konstantinos Kaloutas e8817bcc41 chore: add tests 2023-04-12 20:37:52 +08:00
megayu c90e266310
Fix: Delete and backspace deleting block ids and breaking references (#8974)
* press delete at the end of a block, if no refs in current block,
delete current block instead of next

* enhance backspace behavior to avoid broke ref

* fix press backspace at the end of the block of the end of the page issue

* add e2e-test for delete and backspace across blocks

---------

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-04-12 12:17:13 +08:00
Tienson Qin 045ae0e50b add e2e test for hashtag search 2023-04-04 23:48:38 +08:00
Tienson Qin 7318f3ca91 fix: e2e 2023-03-29 18:41:04 +08:00
Tienson Qin 3977aa4b6b fix: e2e 2023-03-29 18:41:04 +08:00
Tienson Qin c876e47e8d fix: e2e test 2023-03-29 18:41:04 +08:00
Tienson Qin 7230938fca chore: remove hack 2023-03-29 18:41:04 +08:00
Andelf 6e9fec448b fix(test): close notification before start 2023-03-28 09:14:42 +08:00
Konstantinos 5913d81e6f
Fix (Whiteboards): Shape index and arrow binding issue (#8885)
* fix: shape index and bindings

* fix: indexv updating
2023-03-24 14:39:58 +08:00
Tienson Qin 69bd4e935b fix: e2e tests
This PR moves the cursor to the end of the editor in `enterNextBlock`.
2023-03-23 13:02:41 +08:00
Tienson Qin a92588a18b
Release whiteboard to everyone (#8853)
* chore: release whiteboards for everyone

Also, toggle it on by default

* fix: e2e test

* add onboarding tour test

---------

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-03-21 19:37:21 +08:00
Konstantinos 2c987d0c6a
Enhance (Whiteboards): UX (#8797)
- Improve zooming performance (try zooming using the scrollbar or the trackpad on a portal heavy board)
- Auto remove arrows when we delete connected shapes (see video)
- Create new portals when we Alt+Click on refs in portal elements
- Enable development toolbar within Logseq
- Clear brush (select) area on exit to avoid the leftover when we double click and drag at the same time (see image below)
---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-20 18:28:55 +08:00
Junyi Du 54bd86aca7 test(e2e): improve fav robustness 2023-03-17 01:04:31 +08:00
Junyi Du 02103b596a test(e2e): fs testings - special chars in graph path 2023-03-17 01:04:31 +08:00
Junyi Du b11721dcc3 test(e2e): fs testings - special page name persisting 2023-03-17 01:04:31 +08:00
Junyi Du 3bd3991d9a test(e2e): fs testings - file create, rename, unlink 2023-03-17 01:04:31 +08:00
Konstantinos Kaloutas 537b715e45 add more tests 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas cff17ab891 remove create block test 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas aabd004fac add tests 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas e52bda80c9 remove keyboard delay 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas f6b9a55cbc Revert "attempt to lock clipboard"
This reverts commit b659cb07ca.
2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas 5d646b67c1 fix: e2e tests 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas b1249c09d8 fix: e2e tests 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas 0f393a7f46 attempt to lock clipboard 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas aded90d03e fix: test names 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas 723bf3806d add more tests 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas cd7ca56d3f refactor: e2e tests modKey 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas 271706a155 add iFrame test 2023-03-08 17:09:35 +08:00
Andelf b21edf9077 fix(test): e2e fail due to page search 2023-03-07 14:04:10 +08:00
Andelf ae82e9132e fix(test): e2e fail due to page search 2023-03-07 14:04:10 +08:00
Yichen Yan f2b99dbc4c
upgrade playwright to 1.31.0 (#8688) 2023-03-06 15:21:54 +08:00
Konstantinos 1ff15171ed
fix (Whiteboard): Paste shape (#8636)
* fix: paste shape

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: add timeout to headings test

* fix: test

* fix: e2e test

* just another attempt to fix the tests

* fix; yet another test fix

* remove the inconsistent test

* revert test change

* revert unneeded change

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-03-01 12:25:45 -05:00
Zhizhen He 25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Andelf 78a65c53f0 fix e2e ci 2023-02-10 11:54:41 +08:00
Konstantinos 966d330b3d
Chore: Add heading tests (#8541)
* wip: add heading tests

* chore: add more heading tests
2023-02-08 09:47:57 -05:00
Yichen Yan a3c7308dc0
fix(query): cache special value as resolved value (#8263)
* fix(query): cache inputs as resolved values
Co-authored-by: Ben Yorke <ben@yorke.io>
2023-02-06 16:32:16 +08:00
Gabriel Horner f9604e1b07
Merge branch 'master' into feat/tweet-shape 2023-01-19 10:02:29 -05:00
Junyi Du 95724dd8af test(e2e): fix trace file dump 2023-01-18 15:27:21 +08:00
Konstantinos Kaloutas fe6a993121 fix: create new whiteboard to avoid onboarding 2023-01-16 20:11:17 +02:00
Konstantinos Kaloutas 4191fb78f2 e2e test 2023-01-16 19:03:27 +02:00
Konstantinos Kaloutas 42d3551216 e2e test 2023-01-16 17:31:40 +02:00
Konstantinos Kaloutas 3f771ff06f e2e test 2023-01-16 17:08:31 +02:00
Konstantinos Kaloutas 8966c648f7 Revert "disable tests"
This reverts commit 040becd858.
2023-01-16 16:33:30 +02:00
Konstantinos Kaloutas e2384af7d1 Revert "test e2e"
This reverts commit 897a787013.
2023-01-16 16:33:15 +02:00
Konstantinos Kaloutas 897a787013 test e2e 2023-01-16 15:55:59 +02:00
Konstantinos Kaloutas 040becd858 disable tests 2023-01-16 15:35:14 +02:00
Konstantinos Kaloutas f6abc872a6 split tests 2023-01-16 12:47:52 +02:00
Konstantinos Kaloutas 5d6c981d48 fix: e2e tests 2023-01-13 19:07:32 +02:00
Konstantinos Kaloutas 7f471e865f Merge branch 'master' into feat/tweet-shape 2023-01-13 10:58:47 +02:00
situ2001 e7a5119ce5 chore: add issue No to test description 2023-01-13 15:03:59 +08:00
situ2001 ef1febb771 fix(editor): incorrect undo/redo sequence of indent/outdent 2023-01-13 15:03:59 +08:00
Andelf 192459a23c fix(test): e2e fail due to whiteboards zoom test 2023-01-12 11:07:05 +08:00
Konstantinos Kaloutas 250421e5c7 fix: tweak zoom timeout on e2e tests 2023-01-10 10:44:28 +02:00
Tienson Qin 4e8b197174 fix: disable plugins e2e tests temporally 2023-01-09 10:32:57 -05:00
Charlie 675811ccde
Enhance/plugins (#8202)
* improve(plugins): install hooks with user options

* improve(plugin): remove todos

* improve(plugin): hook for a specific plugin

* e2e tests

* improve(ui): global search bar for the results from the custom search service
2023-01-05 19:30:41 +08:00
Konstantinos Kaloutas 7e54812756 fix: e2e tests 2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas c006ac3588 fix: e2e tests 2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas 1bcf8db3b7 enhance: test stability 2023-01-05 19:27:59 +08:00
situ2001 2657f5a2f1 fix(e2e): should not wait for selector when there is no onboarding button 2023-01-05 11:53:10 +08:00
Andelf fdfac2b506 fix(test): use fill instead of select-all shortcut 2022-12-30 16:26:16 +08:00
sallto e96c3403bf
fix: Datepicker behaves oddly if there are 2 datepickers visible at the same time (#7498)
fixes #7341

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-12-14 17:41:08 -05:00
Konstantinos 109b491042
Feat: Use tooltips instead of titles on whiteboard buttons (#7643)
Move select and pan to main toolbar
 Create tooltip component
 Add tooltip support to button, toggle, toggle groups, select and color input
 Style shortcuts on primary tools
2022-12-12 18:11:03 +08:00
Junyi db11f48ed6 test(e2e): fix dump 2022-12-06 23:01:16 +08:00
Peng Xiao 0172d937ba e2e: reenable whiteboard e2e 2022-12-05 10:48:25 +08:00