Commit Graph

33 Commits

Author SHA1 Message Date
Tienson Qin
2df3fd297d fix: add page embeds to page references 2021-03-19 22:52:03 +08:00
Tienson Qin
5a3cc38cf2 enhance: don't create the last page for namespace pages for now 2021-03-16 23:14:53 +08:00
Tienson Qin
3fcc8bf69c feat: initial support for namespace pages 2021-03-15 23:07:07 +08:00
Tienson Qin
099cf9dbe9 fix: tags and query 2021-03-01 12:31:30 +08:00
Tienson Qin
d1259186a3 chore: remove unused thread macro 2021-02-28 00:20:45 +08:00
Tienson Qin
92c284e67d fix: parser 2021-02-27 23:56:22 +08:00
Tienson Qin
7011262929 fix: custom dates and journal raw editing 2021-02-24 21:05:16 +08:00
Tienson Qin
88d1fa8b91 fix: don't treat file link as pages
Resolved #1334
2021-02-21 17:31:53 +08:00
Tienson Qin
f9e9333977 feat: add :block/path-ref-pages to enable flexible queries 2021-02-20 20:52:19 +08:00
Tienson Qin
901f0321cd fix: duplicated blocks when editing 2021-02-20 12:58:48 +08:00
Tienson Qin
5cc006a2eb fix: block references number not working
Closed #1209
2021-02-14 22:52:24 +08:00
Tienson Qin
f526399d63 fix: head's background color is not rendered
Related to #1267
2021-02-04 23:51:15 +08:00
Dima Gerasimov
c7df210f2e cleaner filetags extraction 2021-01-09 19:43:14 -08:00
Dima Gerasimov
4f1c1ce564 extract org-mode FILETAGS in top level block 2021-01-09 19:43:14 -08:00
Tienson Qin
89370ac645 fix(db): fix unique constraint issue when loading files 2021-01-04 15:39:19 +08:00
Tienson Qin
e18df78820 fix: CI test 2021-01-04 12:38:54 +08:00
Tienson Qin
2d6abc2b04 fix(editor): page refs in properties should be counted too
Resolved #1028
2021-01-04 12:38:54 +08:00
Tienson Qin
48b6ccbdca DB refactor and fix issues related to tags and aliases
1. add a `page` filter.
2. keep word case for both page and block's properties
3. remove `:tag/name` from the db schema

Fixed #1031
2021-01-04 12:38:54 +08:00
Tienson Qin
1ce76bbcb6 feat(query-dsl): add unit tests 2020-12-28 22:20:49 +08:00
Tienson Qin
2d925d7fac feat: add block timestamps
Why adding block timestamps?

Block is the atomic unit for logseq instead of a page, with the
timestamps we can do a lot of things, for example:
1. show a blocks timeline related to a topic/project/habit.
2. get latest modified blocks from the page or the whole graph.
3. query dsl can have a (sort-by :last_modified_at) clause

It'll add both created_at and last_modified_at properties to
each block, not all users need this, so, it's an experiment feature,
we'll disable it by default.

Also, this PR simplify the block properties a lot, it might fix some
old issues related to properties.
2020-12-25 14:20:57 +08:00
Tienson Qin
5edd1a8ab0 :block/children should has value type of :db.type/ref 2020-11-29 15:22:44 +08:00
Tienson Qin
b38ee92ce9 Page name allows ( to be first char 2020-11-23 23:11:40 +08:00
Tienson Qin
ebfb21d799 feat: org-mode heading id link support 2020-11-19 18:02:28 +08:00
Tienson Qin
5d3b6322f5 feat: support org mode file links (#681)
* feat: support org-mode file links

Add a `:org-mode/insert-file-links` option to configuration.
2020-11-18 21:27:40 +08:00
Tienson Qin
6edb36a090 feat: add org link id support
Resolved #659
2020-11-16 14:27:28 +08:00
Tienson Qin
5987cc9742 fix: revert :block/children because it doesn't work
We need to resolve those tempids after db transacted which makes it slow
2020-11-12 23:55:35 +08:00
Tienson Qin
b49f172ce3 fix: store db/id in block/children instead of lookup refs 2020-11-12 20:16:00 +08:00
Tienson Qin
09c6f16079 fix: :block/children should be a ref 2020-11-12 17:07:10 +08:00
Tienson Qin
32e398a087 fix: get page references (trim) 2020-11-07 15:16:16 +08:00
Tienson Qin
e53d4cdd47 feat: add embed pages to references and graph view
Resolved https://github.com/logseq/logseq/issues/166.
2020-11-07 14:12:21 +08:00
Tienson Qin
0a5b88467b fix: repeated tasks
1. Don't show repeat kinds selection (.+, ++, +)
2. Fixed wrong time (no zero padding)
3. Fixed `.+` and `++` behaviors
2020-11-05 17:32:12 +08:00
Michael Wong
3cc0d3154a style: remove unused :require (#193)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2020-11-04 11:35:35 +08:00
Tienson Qin
2d1fa33204 refactor: remove web 2020-10-27 23:19:40 +08:00