Commit Graph

67 Commits

Author SHA1 Message Date
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