Commit Graph

10933 Commits

Author SHA1 Message Date
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
cb2c1f1d6a enhance: clear selection ranges 2023-03-23 13:02:41 +08:00
Tienson Qin
e6c329d461 chore: remove unused select-highlight! and unhighlight! 2023-03-23 13:02:41 +08:00
Tienson Qin
147de5e305 fix: select only the current block when open its context-menu 2023-03-23 13:02:41 +08:00
Andelf
de9ab536fe fix(editor): avoid nav to block with empty uuid 2023-03-23 13:01:34 +08:00
Tienson Qin
7e8b355e0d fix: undo cycle todos 2023-03-22 18:10:47 +08:00
Tienson Qin
b4cabb2a85 fix: collapsed? not working on advanced queries 2023-03-22 17:04:16 +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
1a6a888aa5 fix: shape index (#8855) 2023-03-21 19:36:26 +08:00
Tienson Qin
0eab5ebef4 fix: undo block deletion needs multiple steps (#8833)
fix: undo block deletion needs multiple steps

---------

Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 19:35:40 +08:00
Tienson Qin
24735891dc fix: show both hierarchy and unlinked refs 2023-03-21 17:29:11 +08:00
yoyurec
e38ba051c7 unwrap hierarhy and unlinked page blocks 2023-03-21 17:27:26 +08:00
Tienson Qin
db6fc6b7ee feat: simple query builder (#8774)
Simple query builder

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
Gabriel Horner
7a905583cf Split raw and formatted paste to prevent future coupling bugs 2023-03-20 09:54:41 -04:00
Gabriel Horner
72298d23c8 Raw paste should only do basic pasting
Fix #6815 and fix #6142.
Raw paste used to do this before #5396 was introduced.
We accidentally coupled rich and raw paste starting at
999defdad1 which then caused these issues
2023-03-20 09:54:41 -04:00
Gabriel Horner
1c3ef2ccb5 Fix url? detection for raw paste case - fix #7297 2023-03-20 09:54:41 -04: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
rcmerci
c3f7417682 enhance: add mldoc ast schema (#8829)
* enhance: add mldoc ast schema

* Add bb task to validate mldoc

Also move mldoc schema to make room for other schemas

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-20 13:41:13 +08:00
charlie
988a00e266 fix(ui): incorrect position of absolute modal on some mobile platforms 2023-03-20 12:58:21 +08:00
Zhizhen He
ac4e2a1b48 docs: format table and update command 2023-03-20 12:57:47 +08:00
rcmerci
d7ebc8950f use tailwind class 2023-03-20 12:31:35 +08:00
rcmerci
3cda885b9b add unit-tests for export 2023-03-20 12:31:35 +08:00
rcmerci
6fae1a8c09 fix unit test 2023-03-20 12:31:35 +08:00
rcmerci
e54d739cbc fix(copy-as/export): remove space between ``` and lang 2023-03-20 12:31:35 +08:00
rcmerci
24bca5883f feat(copy-as/export): add option: remove-properties 2023-03-20 12:31:35 +08:00
rcmerci
e38f47aea1 fix lint 2023-03-20 12:31:35 +08:00
rcmerci
bce6174b5a feat(copy-as/export): add option: :newline-after-block 2023-03-20 12:31:35 +08:00
rcmerci
2cfe943169 only copy-as/export level<N blocks for opml/html export 2023-03-20 12:31:35 +08:00
rcmerci
5efbd125de only copy-as/export level<N blocks for text export 2023-03-20 12:31:35 +08:00
Andelf
2ca70373af fix(editor): wrong cookie render
Close #8841
2023-03-17 14:36:18 -04:00
aiirobyte
0eb25b3934 Add option to handle default block refs expanding behaviour (#8839)
* Add option to handle default block refs expanding behaviour

* provide default value

* polish config desc for dicts

* polish config desc in template config

* specify option on settings page

* fix: typo on fn name

* chore: remove the tail period

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-03-17 21:40:38 +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
waneon
eee7d06c82 Update Korean translation 2023-03-16 10:39:49 -04:00
Gabriel Horner
05f6665d12 On normal paste wrap link in macro if possible
Remove warning for no macro wrapping as that is excessive warning
2023-03-15 18:27:52 -04:00
Gabriel Horner
dc7480b59a Fix test failing b/c it was coupled by forgetting to reset
Also fix other tests that don't reset
2023-03-15 18:27:52 -04:00
Gabriel Horner
e8dd8a679e Add test for raw url paste fix 2023-03-15 18:27:52 -04:00
situ2001
e0eb520dc3 fix(paste): do not convert url to marco while raw pasting 2023-03-15 18:27:52 -04:00
Tienson Qin
86eda0d1ca chore: remove repeated calls 2023-03-15 15:21:47 +08:00
Konstantinos Kaloutas
537b715e45 add more tests 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
6657286c4f fix: history on create portal 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
7ea26ed490 fix: portal auto resize 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
7a889a042b fix: persisting collapsed state of portals 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
874b4d9f9a fix: transact 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
e9da7e49f3 use :compute-new-refs? to replace the last undo 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
acd41f71dd fix: history replace 2023-03-13 14:33:14 -04:00