Commit Graph

7450 Commits

Author SHA1 Message Date
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
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
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
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
charlie
a345f434e3 enhance(ux): auto-complete ux with mouse 2023-03-13 13:54:47 -04:00
Sky Hong
652c43f4d8 update: update Translation of Traditional Chinese (zh-hant) 2023-03-13 17:21:46 +08:00
AkrISrn
70f6d9b3b7 style: format indent 2023-03-13 16:33:21 +08:00
AkrISrn
2baafcf05a fix(logbook): with-second-support? doesn't work 2023-03-13 16:33:21 +08:00
charlie
22dfa621e4 enhance(pdf): UI lag for the case of large highlights data 2023-03-09 09:15:33 +08:00
Konstantinos Kaloutas
0a89ac520a use util/copy-to-clipboard! 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas
316fa2f4b5 fix: copy 2023-03-08 17:09:35 +08:00
Tienson Qin
552a8a1575 fix: display page's original name when possible 2023-03-07 11:09:37 +08:00
charlie
c83c973338 fix(http-server): apis server status for multiple graph windows 2023-03-06 12:07:56 +08:00
charlie
821e029568 enhance(ui): move http apis server indicator to right side from toolbar 2023-03-06 12:07:56 +08:00
Konstantinos
82e5abf9e0 Enhance (Whiteboards): Paste and dnd behavior (also add a placeholder to shape labels) (#8753)
* fix: paste shape

* enhance: add label placeholder

* fix: don't create portal on ref click

* enhance: allow ref dragging

* fix: create line binding on drop

* enhance: allow creating url based elements on drop
2023-03-06 12:04:24 +08:00
Gabriel Horner
91e89ef2d6 Chore: Add deprecation for :editor/command-trigger config (#8720)
* Add deprecation for :editor/command-trigger config

* enhance: warning dialog

* enhance: notification styles

* enhance: notification icons

* Fix tests after config warning improvements

---------

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-03-04 12:07:33 +08:00
Yuriy Piskun
5d0117b6fa hide empty settings descrition (#8739)
Co-authored-by: Charlie <xyhp915@qq.com>
2023-03-03 10:55:33 -05:00
situ2001
59647482fa fix: shrink on-click range of sidebar-item 2023-03-03 20:59:27 +08:00
sallto
fd3afacabf test: add test for duplicate key error msg 2023-03-02 16:04:20 -05:00
sallto
023c904bfc fix: exception for valid strings 2023-03-02 16:04:20 -05:00
sallto
894a2888b2 enhance(ui): add better error messages for duplicate key in config.edn 2023-03-02 16:04:20 -05:00