Commit Graph

149 Commits

Author SHA1 Message Date
Tienson Qin
d3fa2196b0 fix: Horizontal line not created with ---
close #3416
2021-12-11 14:09:17 +08:00
Tienson Qin
ae89f9970b fix: hide empty blocks 2021-12-11 13:27:28 +08:00
Tienson Qin
eb24a534ec fix: check content 2021-12-11 13:20:33 +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
Junyi Du
240b9a4584 fix: All Pages view lists all of the images 2021-11-24 11:37:08 +08:00
Tienson Qin
03cfc60a7e fix: Can't rename pages with nested titles
close #3245
2021-11-24 10:35:36 +08:00
Tienson Qin
9315b3bab4 fix: don't create empty pages for alias and tags page properties 2021-11-22 20:18:48 +08:00
leizhe
4779a5c98b Fix: create wrong pages if nested_link exist in graph
Let's say, if `[[[[A/B]] is page]] got referenced` exists as a link in
the graph, a `[[A` will be created. This PR fixes this issue.
2021-11-22 13:59:39 +08:00
Junyi Du
daae4932ad Some fix according to lint 2021-11-18 21:13:35 +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
leizhe
538b0d8ad6 refactor: remove unnecessary codes 2021-11-10 11:52:48 +08:00
leizhe
9c33cf4b6b fix https://github.com/logseq/logseq/issues/2866 2021-10-20 16:34:49 +08:00
Tienson Qin
63b672dcf8 refactor: remove :block/file from non-page blocks 2021-10-11 12:14:41 +08:00
Tienson Qin
38d81b4ed0 fix: Two of the same query with mixed syntax causes hanging
close #2857
2021-09-26 11:39:10 +08:00
Tienson Qin
821ffecaf3 enhance: remove block/anchor 2021-09-26 10:22:23 +08:00
leizhe
f9a6b24c87 fix: only remove break_line in paragraph 2021-09-23 19:24:13 +08:00
leizhe
99295ed26a fix: non-paragraph elements not showing up 2021-09-23 19:24:13 +08:00
leizhe
0774e2b74a Fix: extra empty line if SCHEDULED and DEADLINE exist
Fix https://github.com/logseq/logseq/issues/2506
This issue was also mentioned in
https://discuss.logseq.com/t/formatting-of-scheduled-items/1756/2

This PR offers an in-elegant way to remove the break_line element
following a timestamp element. I suppose this should be resolved in the
mldoc side. Anyway, this PR can be treated as a solution.
2021-09-23 19:24:13 +08:00
Tienson Qin
98cb06b86e fix: Tag with brackets but without spaces creates an extra page
close #2742
2021-08-31 21:28:38 +08:00
Tienson Qin
4c3bdb0bf3 feat: git integration 2021-08-24 21:42:46 +08:00
Weihua Lu
86c2c0a2ee fix: some contains query doesn't work 2021-08-16 09:31:46 +08:00
Tienson Qin
5dfd9b1be4 fix: a page name can's be both started and ended with a slash
The reason is that it's corresponding file will be a hidden file.
2021-08-10 08:33:50 +08:00
Tienson Qin
41829e04cd fix: don't treat hex colors as pages
close #2556
2021-08-06 12:29:22 +08:00
Tienson Qin
6ea3d8d0c8 fix: date format crashes reindex
close #2495
2021-08-04 11:26:54 +08:00
Tienson Qin
2f6caed79e fix: some files might have wrong indentation at the beginning 2021-08-01 15:26:26 +08:00
Tienson Qin
6abca45828 fix: page ref not working as linked ref in property value
Also, fixed page ref lowercased in property value. eg: authors::
[[Jeff Howard]] -> jeff howard

Zotero tags will be parsed too.
2021-07-28 23:45:26 +08:00
Tienson Qin
cc948b5a23 fix: don't parse quoted string as page references for properties 2021-07-27 22:57:30 +08:00
Tienson Qin
9e35c0c6bd fix: add debug helper to check left id conflicts 2021-07-23 23:30:19 +08:00
Tienson Qin
df05f5fb7a fix: left-id conflicts when parsing files 2021-07-23 20:23:38 +08:00
Tienson Qin
ac1f68004a fix: add timestamps to db 2021-07-13 15:34:43 +08:00
Tienson Qin
0cbf80e661 fix: block properties should be shown in the same order when saving 2021-07-11 19:35:18 +08:00
Tienson Qin
5a41300e80 Graph revamp (#2372)
Graph revamp
2021-07-06 23:48:58 +08:00
Tienson Qin
370ac5ae82 fix: don't parse empty string as pages 2021-06-30 23:18:51 +08:00
rcmerci
5582434a7a fix: use get-tag to extract tag value 2021-06-30 22:14:34 +08:00
rcmerci
1a547e944d update inline.link type
related to https://github.com/logseq/mldoc/pull/70
2021-06-30 22:14:34 +08:00
Tienson Qin
6f23c6c39b fix: don't display hierarchy for file pages 2021-06-29 19:16:39 +08:00
Tienson Qin
e43cf125f6 feat: rename a page will rename corresponding namespace pages and files (#2283)
* feat: rename a page will rename corresponding namespace pages

and files.

* enhance: jump to namespace page instead of the [[page]] itself

* namespace: create prefix ns pages instead of pages themselve

* fix: only rename files when namespace prefix matches
2021-06-28 22:15:01 +08:00
Tienson Qin
2f3811cbef fix: namespace pages are not created when using search to create 2021-06-24 10:55:15 +08:00
Tienson Qin
b1dfe7f567 feat: ID-links follow the ID when clicked
close #696
2021-06-23 20:49:37 +08:00
rcmerci
643ff92be1 fix: entity not found err when import opml with non-existed block-ref-id 2021-06-22 21:59:40 +08:00
Tienson Qin
bc2ac786ef fix: newline after timestamps 2021-06-22 21:46:37 +08:00
Weihua Lu
204541abda chore: clean up namespace, eliminate refer-macro 2021-06-21 08:13:49 +08:00
Tienson Qin
2c7be3bab9 fix: [display name]([[page name]]) is not counted as a page reference 2021-06-17 22:23:39 +08:00
rcmerci
436bd5e5eb fix: test-extract-blocks-pages failed 2021-06-17 19:10:22 +08:00
rcmerci
14719ff422 feat: support - ## like heading 2021-06-17 19:10:22 +08:00
rcmerci
b13572547d feat(opml): support opml import 2021-06-15 21:38:39 +08:00
Tienson Qin
d7674f9247 fix: error console 2021-06-12 19:53:13 +08:00
Tienson Qin
c9f3631b69 fix: extracting blocks from files 2021-06-12 19:46:34 +08:00
Tienson Qin
b130f88bfc fix: code block editing issue 2021-06-11 00:12:03 +08:00
Tienson Qin
870d46ecfe refactor: better handling of empty block
related to #2140 and #2139
2021-06-10 00:34:54 +08:00