Commit Graph

46 Commits (5d4ae66d864db228a4bee228a21fcaa49d74f7f4)

Author SHA1 Message Date
Tienson Qin b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Andelf 8390c957f0 fix(test): wrong expect usage in e2e 2024-01-03 17:56:39 +08:00
Andelf fed1c7c7ef fix(e2e): do not use css to test selection 2023-12-26 22:29:28 +08:00
Mega Yu 7bc3c0d8a8 clear e2e keyboard state 2023-12-26 17:56:43 +08:00
Mega Yu 3a93799958 add e2e test 2023-12-26 17:56:43 +08:00
Tienson Qin 97f524b304 fix: template e2e tests 2023-10-16 20:32:54 +08:00
Tienson Qin 930b384db7 fix: add keyboard delay to make selection works for e2e test 2023-10-08 19:54:27 +08:00
Andelf 862bbd7513 test(e2e): refine test for template expansion 2023-05-11 16:51:47 +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
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
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
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
Andelf c1bec2fc44 fix(test): refine e2e test 2022-11-30 11:22:55 +08:00
sallto e882b7cabd
fix: Scheduled date picker always points to today, regardless of a previous date (#7329)
* fix: Scheduled date picker always points to today, regardless if a previous date was already set
fixes #6985

* fix: e2e-test flakyness for datepicker
2022-11-15 10:36:01 +08:00
Andelf 57a54078fc test(e2e): fix fail on basic test 2022-07-26 14:59:31 +08:00
Andelf dda818c26a fix(e2e): add missing esc for (()) 2022-07-07 01:42:16 +08:00
Andelf 6afdfedb51
fix(test): add delay to e2e testing (#5804) 2022-06-23 22:38:57 +08:00
Andelf 0f30893636
Fix dnd e2e tests (#5762) 2022-06-20 13:04:26 +08:00
Andelf 93faf552ac fix(test): random fail while typing 2022-04-22 11:02:42 +08:00
Andelf b92f48a047
Refactor randomized e2e tests (#4974)
* fix(test): disable some random check
* fix(test): fix template test
* fix(test): reduce random test size
2022-04-21 18:15:53 +08:00
Andelf 8e74b06103 fix(test): add delay to clickNew 2022-04-21 13:07:30 +08:00
Andelf 115054736d
test(e2e): add test for backspace and cursor pos (#4896)
* test(e2e): add test for backspace and cursor pos
* fix(test): refine, fix wrong helper
2022-04-15 19:50:25 +08:00
Andelf cd8a4fe339 fix(e2e): occasional failures 2022-04-11 11:45:32 +08:00
Andelf d13b2a9dce refactor(e2e): add block fixture helpers 2022-04-11 11:45:32 +08:00
Tienson Qin 24e165ff7e fix wrong commit 2022-04-02 21:57:59 +08:00
Andelf ec43dd7ee1 fix(test): e2e fails
refactor(e2e): print logs when error
2022-04-02 21:52:28 +08:00
Andelf f1af5344b2 fix(test): refactor and fix all e2e tests 2022-04-02 21:49:34 +08:00
Tienson Qin a630983cdc fix lint warnings 2022-04-02 21:40:28 +08:00
Charlie 0d3ac91ca3
Feature/Setups of Onboarding Process (#4580)
UX enhancement: onboarding setup graphs 

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-04-02 21:37:38 +08:00
Andelf 5ce66ac215 test(e2e): add test case for #3944 2022-01-19 11:12:38 +08:00
Tienson Qin 6aba8c3241
Improve long page editing performance (#3855)
* Remove expensive parsing when saving files

* Add limit to page blocks query

* Don't collapse block's body to make it compatible with other tools

* Alert if there're unsaved changes when switching graphs

* DB schema migration for :block/collapsed? from it's property

Co-authored-by: Andelf <andelf@gmail.com>
2022-01-18 10:37:31 +08:00
Charlie 3ea7635daa
Enhance/marketplace (#3686)
Marketplace enhancement

Nested modal support
2022-01-07 19:00:35 +08:00
Peng Xiao 17b5cdb9e8
feat: add a secret global flag to load graph progammtically (#3531)
* feat: add a secret global flag to load graph from a user defined dir

* fix: use LOGSEQ_OVERWRITE_OPEN_DIR env var to overwrite the openning graph dir

* e2e: add a test for load & check saved graph data

* fix: should also pass in process.env for testing fixtures

* feat: new way to set open dir folder

* fix: e2e

* fix: remove playwright global flag check

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-01-05 21:05:05 +08:00
Andelf aaceac2c96 test(e2e): monitor error logs 2021-12-25 13:41:22 +08:00
Junyi Du 09120cfce2 test(e2e): add more autocomplete test 2021-12-20 12:11:11 +08:00
Junyi Du c5d39cdb8a fix: abuse of keycode cause unexpected behaviour under different keyboard layouts 2021-12-20 12:11:11 +08:00
Andelf 0f650741a8 fix(test): unused imports 2021-12-12 16:24:14 +08:00
Andelf d5a85c959f fix(test): adapt tests to the new left sidebar 2021-12-10 14:14:57 +08:00
Charlie c63f1f0d15
Enhance/left sidebar responsive (#3376)
* improve(ui): [WIP] refactor left sidebar component

* improve(ui): [WIP] refactor left sidebar component

* improve(ui): polish left sidebar for mobile

* improve(ui): polish left sidebar for mobile native

* fix: unnecessary stateful component

* improve(ui): tweak padding inner left sidebar

* fix(tests): update tests

* fix(ui): close left sidebar when create page on sm breakpoint

* improve(ui): tweak `--ls-left-sidebar-sm-width` to 70%

* fix(ui): overlap between left sidebar and toolbar right area on mobile
2021-12-08 21:13:57 +08:00
Andelf 295c6d7b91 fix(test): make a fixme in autocompletion 2021-11-30 11:05:48 +08:00
Andelf 147b2ccf70 test(e2e): refactor using fixtures 2021-11-30 11:05:48 +08:00
Andelf 13aefde53c fix(test): minor fix for e2e test 2021-11-24 17:20:01 +08:00
Andelf aae4a8b18c test(e2e): add test cases for auto-completion 2021-11-24 17:20:01 +08:00
Andelf 8d0d4ae3a2 test(e2e): add playwright test 2021-11-23 17:26:53 +08:00