Commit Graph

691 Commits

Author SHA1 Message Date
charlie
698bca9321 fix: prevent edit mode when has selection in block #992 2020-12-25 15:13:02 +08:00
charlie
fa4cf5cb7c style: fix right click the dot doesn't popup in the right sidebar #995 2020-12-25 14:21:33 +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
charlie
a700f3aef9 enhance: copy block ref with (()) #833 2020-12-25 13:59:00 +08:00
Yukun Guo
536ce5dd87 fix: fix highlight for fuzzy search 2020-12-24 19:16:32 +08:00
charlie
f90a7aa279 style: fix block border 2020-12-24 15:59:33 +08:00
Tienson Qin
0d2e62e41d style: fix gap 2020-12-24 14:09:50 +08:00
Tienson Qin
ae02d41fa3 ui: style tweaks 2020-12-24 00:08:49 +08:00
Yukun Guo
de3590b421 feat: ask user for confirmation when signing out 2020-12-23 19:24:58 +08:00
Yukun Guo
b8f0a50173 fix: await git-set-username-email! 2020-12-23 19:24:58 +08:00
Yukun Guo
5ea4a7af1e fix: make db persistence atomic 2020-12-23 19:24:58 +08:00
Yukun Guo
5a03d963d5 fix: improve page i18n 2020-12-23 18:35:32 +08:00
Tienson Qin
a346102a3f chore: bump minor version 2020-12-23 18:30:47 +08:00
Tienson Qin
f1ffc6d022 fix: linked references should contain the blocks from alias pages 2020-12-23 18:29:02 +08:00
Tienson Qin
05057ec3cf fix: adjust query orders 2020-12-23 18:29:02 +08:00
Tienson Qin
9069c4373e feat: add alias redirects
Discussion thread: https://discuss.logseq.com/t/improve-implementation-of-aliases/81/4
2020-12-23 18:29:02 +08:00
charlie
8de2d6be51 fix: some ui details 2020-12-23 11:10:42 +08:00
Michael Wong
ccf85e2e37 Merge pull request #985 from logseq/fix/preserve-edn-order
fix: preserve config.file order when updating
2020-12-23 11:08:37 +08:00
defclass
0eff6751cd refacotr(helper): remove frontend.helper 2020-12-23 00:04:05 +08:00
defclass
f837d391a0 refactor(frontend): remove utils 2020-12-23 00:04:05 +08:00
defclass
4410ae7147 refactor(db): get-config reset-config! 2020-12-23 00:04:05 +08:00
Tienson Qin
bc8463265d fix: preserve config.file order when updating 2020-12-22 23:55:48 +08:00
Tienson Qin
f93d643d08 fix(editor): use markdown images and links
Resolved #949
2020-12-22 21:33:49 +08:00
Tienson Qin
88b37d2d70 fix: custom query transform should support pages too 2020-12-22 21:32:30 +08:00
Tienson Qin
c985bc6031 fix: cursor move in the editor box while in datatime picker 2020-12-22 18:17:27 +08:00
Tienson Qin
970280b96e fix: tab not working 2020-12-22 18:17:27 +08:00
Tienson Qin
2934b8f38e fix: tab not working anymore after using datepicker 2020-12-22 18:17:27 +08:00
Tienson Qin
1e29b8f488 chore: remove unused ns 2020-12-22 18:17:27 +08:00
Tienson Qin
b8c5fbec32 fix(editor): events conflicts 2020-12-22 18:17:27 +08:00
Tienson Qin
bce559e249 fix: mldoc anchorLink 2020-12-22 18:07:46 +08:00
Tienson Qin
00e0ced252 fix: clicking on some links not working anymore
Resolved #975.

Also, I made some css tweaks.
2020-12-22 16:13:08 +08:00
Tienson Qin
2df3af03aa fix: display brackets by default 2020-12-22 14:31:58 +08:00
Tienson Qin
313078750d enhance: update show-brackets text 2020-12-22 13:49:30 +08:00
Tienson Qin
8bf6ad1654 enhance(editor): don't show (()) for block refs 2020-12-22 13:49:30 +08:00
Tienson Qin
157365d9b5 feat(show-brackets): add shortcut hint 2020-12-22 13:49:30 +08:00
Tienson Qin
360548f0a8 fix: nested links not working when toggle displaying brackets 2020-12-22 13:49:30 +08:00
Tienson Qin
5b74e78fae feat: add a way to toggle displaying brackets
It also add a shortcut "ctrl+c ctrl+b".

Feature request: https://discuss.logseq.com/t/dont-show-and-when-not-editing-a-bulletpoint/90/2
2020-12-22 13:49:30 +08:00
Tienson Qin
e5964633d2 chore: bump minor version 2020-12-21 19:40:04 +08:00
Yukun Guo
a1ff34f4b1 fix: git add unstaged files before committing 2020-12-21 19:34:15 +08:00
Tienson Qin
84dd5eb233 fix: draw links 2020-12-21 19:27:44 +08:00
Tienson Qin
2baa71baf8 fix(test): bump version of react and react-dom
also, fixed keyboards on datepicker
2020-12-21 19:27:44 +08:00
Tienson Qin
b1d5d378a0 test(alias): add more tests 2020-12-21 19:27:44 +08:00
Tienson Qin
0d96ce6a15 fix(ci): closure define NODETEST 2020-12-21 19:27:44 +08:00
Tienson Qin
2a4451ebf2 fix: aliases not working 2020-12-21 19:27:44 +08:00
charlie
b40b5925f7 refactor: build styles 2020-12-21 14:02:02 +08:00
Quang-Linh LE
a0677d917b feat: Compatibility with default datetree format 2020-12-21 13:10:22 +08:00
Tienson Qin
bca7ca49ed enhance(editor): add a warning to notice users to not remove page's title 2020-12-21 12:45:04 +08:00
Tienson Qin
82a2f049e1 fix(editor): hide page properties if there's only a title attribute
We need to design a better UX for both page and block's properties.
2020-12-21 12:45:04 +08:00
Tienson Qin
d4f27fc798 chore: remove debugging prn 2020-12-20 22:18:39 +08:00
Tienson Qin
c2b0576eb0 enhance(search): only show new file when ext matched 2020-12-20 20:40:49 +08:00