Commit Graph

559 Commits

Author SHA1 Message Date
Tienson Qin
eb20a959f0 fix: code style 2021-12-28 16:14:23 +08:00
Tienson Qin
a397091972 enhance: shorten page names in the namespace macro list 2021-12-28 16:14:23 +08:00
Tienson Qin
8d605afa9f feat: add {{namespace [[page]]}} macro which can be used as a toc 2021-12-28 16:14:23 +08:00
Tienson Qin
297e679bd8 fix: clicking the marker and checkbox can't change in block reference 2021-12-28 15:33:00 +08:00
Tienson Qin
cd9bb9190f enhance: zoom in shouldn't update the collapse status in db/files 2021-12-27 18:56:02 +08:00
Tienson Qin
1cff06f347 enhance: block expand/collapse toggle
1. Display `Expand all` where there're already collapsed blocks. This applies to `Collapse all` too.
2. Make the guideline bold when hovering on it.
3. Simplify some logic
2021-12-27 18:56:02 +08:00
Tienson Qin
f02d233b57 fix: Texts after a macro are shifted to a new line
close #3512
2021-12-27 16:31:30 +08:00
Peng Xiao
62585a98f7 fix: block children is not clickable
related https://github.com/logseq/logseq/pull/3559
2021-12-27 10:54:49 +08:00
shidenggui
6b5d5f7df3 fix: add an explicit border for the border children to solve the overlay click problem 2021-12-26 11:20:33 +08:00
shidenggui
5d5811fb38 fix: fix sometimes the top block doesn't expand when clicking the bullet of the block 2021-12-26 11:20:33 +08:00
shidenggui
494532e95b fix: should remove the :collapse property when the block is opened in the sidebar 2021-12-26 11:20:33 +08:00
shidenggui
9e117d2618 enhance(toggle): fix t o doesn't collapse all blocks && add Exppand all and Collapse all menu item for toggling block && auto expand children of the top block if collapse(fix #3222) && basic support for toggling by clicking the left bar of the block (see https://discuss.logseq.com/t/collapse-all-child-bullets-by-clicking-the-alignment-line/1937/3) 2021-12-26 11:20:33 +08:00
leizhe
5f3ee199ad don't affect website image displaying 2021-12-24 12:03:32 +08:00
leizhe
073a35a372 disable assets image display on iOS temporarily 2021-12-24 12:03:32 +08:00
Andelf
3a1bd3c943 fix: hljs language mode 2021-12-21 12:36:06 +08:00
leizhe
23c4f3e4c5 fix(ios): allow toggling logbook 2021-12-21 10:55:10 +08:00
leizhe
4417365d21 fix(ios): allow editing scheduled and deadline timestamp 2021-12-21 10:55:10 +08:00
leizhe
fd7bb2c64a enhance(mobile): tweak body style 2021-12-21 10:55:10 +08:00
Andelf
61ef2750b1 fix(editor): logbook should not be editable 2021-12-20 16:57:09 +08:00
Andelf
9231ee428f fix(editor): load new content when editing
Fix #3463
2021-12-15 12:28:02 +08:00
Tienson Qin
566ba16965 enhance: add blocks ast cache 2021-12-13 12:26:51 +08:00
Tienson Qin
4e5cd90369 fix: style 2021-12-10 13:09:52 +08:00
Tienson Qin
b748d55590 fix: embed block style 2021-12-09 22:48:56 +08:00
leizhe
849c077b93 fix(drawer): display user-defined drawer
fix https://github.com/logseq/logseq/issues/3383
2021-12-09 21:04:27 +08:00
Tienson Qin
7822848af8 chore: remove :block/title, :block/body and :block/unordered
For two reasons:

1. Reducing memory usage, both block/title and block/body are AST parsed
by Mldoc. After removing, logseq is able to handle 10k notes.

2. Simplify the db schema
2021-12-08 10:46:45 +08:00
Charlie
9029c632ef Enhance/plugin apis (#3355)
* improve(plugin): support autoFocus option for main ui frame

* improve(plugin): make single selected block as current block

* improve(api): get selected blocks

* improve(plugin): support call built-in command from api

* fix(plugin): sanitize key of shortcut id

* improve(plugin): add invoke built-in command api &

* fix(editor): overwritten class of collapsed block

* improve(plugin): add `getStateFromStore` api

* chore: build libs core

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-12-08 10:43:58 +08:00
leizhe
ae7b373e98 fix(org): get right link href for file links
The following links should work well as external links in orgmode.
[[file:/Users/ll/Downloads/test.pdf]]
[[file:/Users/ll/Downloads/test.pdf][a pdf]]
2021-12-06 16:55:32 +08:00
Moritz Ulrich
d7759aeb79 Always add target of redirect-to-page! to 'Recent' list.
This change will put way more visited pages in the 'Recent' list, which (to me) feels better than the current behaviour.
2021-12-05 12:04:27 +08:00
Tienson Qin
0d13f9f081 Merge branch 'master' into mobile 2021-12-05 11:39:58 +08:00
leizhe
88127640cd enhance(logbook): tweak logbook summary width 2021-12-02 18:48:38 +08:00
leizhe
79970a3e24 enhance(logbook): sort logbook 2021-12-02 18:33:04 +08:00
leizhe
ab0e5fec0a enhance(logbook): more polishment 2021-12-02 18:18:05 +08:00
leizhe
00bc4961af enhance(logbook): show clocking data in table 2021-12-02 15:41:35 +08:00
leizhe
4bceb7a9da enhance(mobile): make logbook scrollable 2021-12-02 12:03:32 +08:00
leizhe
a1a7adbbc3 enhance: flex clock summary with title, not the whole body 2021-12-01 16:21:18 +08:00
leizhe
b8d30ddcbd enhance: remove bottom margin for timestamp cp 2021-12-01 15:35:45 +08:00
leizhe
885ef0bcd1 enhance(mobile): less left/right spaces in Reference 2021-12-01 14:04:37 +08:00
leizhe
c67a17b035 enhance(mobile): enable title-trigger on NOW 2021-12-01 13:03:20 +08:00
Andelf
aa77d7ba9e fix: avoid cyclical refs and deep refs
Fixes #3305
2021-11-30 11:04:02 +08:00
Tienson Qin
a5674b1728 fix: code block can't be saved 2021-11-26 19:15:33 +08:00
rcmerci
22e429cc84 add embed-data link-type
related to https://github.com/logseq/mldoc/pull/110
2021-11-24 16:55:46 +08:00
Tienson Qin
f19257b713 enhance: catch editor exceptions to prevent crashing 2021-11-23 12:34:08 +08:00
Tienson Qin
0452c7ce3e fix: can't open external links like zotero and mail clients
close #3186
close #3235
2021-11-22 19:56:20 +08:00
David Whittington
46ac685474 feat: support Arweave URLs for links and images
Adds ar://<tx> URL support for both links and images. The Arweave
gateway used can be configured with the :arweave/gateway config key. It
defaults to "https://arweave.net" if not configured.
2021-11-22 09:12:19 +08:00
Tienson Qin
ad7de321e0 enhance: display a warning if a block's content include multiple lists
or headings.
2021-11-17 21:07:32 +08:00
Tienson Qin
0c8110f209 fix: backspace can't move to previous block if it's a embed block 2021-11-16 16:22:49 +08:00
Peng Xiao
63d8130b8c fix: add back haschild attribute 2021-11-15 09:42:13 +08:00
Tienson Qin
917daf00d7 fix: Cannot edit deadline/schedule using date picking panel 2021-11-12 11:38:40 +08:00
Tienson Qin
e0ec9c6567 fix: ordered list can't be shown in reference list
close #2673
2021-11-12 11:25:29 +08:00
Tienson Qin
c982b16c54 fix: Drag and Drop inconsistently not working
close #2845
2021-11-12 10:26:50 +08:00