Commit Graph

930 Commits

Author SHA1 Message Date
Michael Wong
f265a25cbe Merge pull request #999 from logseq/fix/issues-ux
Fix/issues of ux
2020-12-25 16:52:44 +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
Tienson Qin
f93d643d08 fix(editor): use markdown images and links
Resolved #949
2020-12-22 21:33:49 +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
4b5a177781 fix(editor): remove page refs with empty string 2020-12-20 19:39:29 +08:00
Tienson Qin
41c9bf0fd0 fix(editor): exit editing mode and clear highlights when blocks are selected 2020-12-17 21:15:34 +08:00
Tienson Qin
b5c454648d fix(editor): clear highlighted selection when blocks are selected 2020-12-17 20:50:44 +08:00
Tienson Qin
42967ea782 fix(editor): allow up/down arrows for repeater time selection 2020-12-17 19:37:06 +08:00
Tienson Qin
8d1a1a5c25 fix(editor): don't autosave if there's page or block searching 2020-12-17 13:13:50 +08:00
Tienson Qin
02bb5bc7cf Merge pull request #932 from logseq/refactor/nfs-file-writes
refactor(native-fs): remove file-in-writing? check
2020-12-16 22:32:29 +08:00
Tienson Qin
22c9cd734c refactor(native-fs): remove file-in-writing? check 2020-12-16 14:07:27 +08:00
Tienson Qin
fe70356d57 refactor(db): separate frontend.db into multiple parts 2020-12-15 22:18:29 +08:00
Yukun Guo
5f8915b304 chore: get rid of dec & inc 2020-12-14 18:38:28 +08:00
Tienson Qin
0bdf2c65e5 perf(search): use fuzzysort for both pages and blocks searching 2020-12-13 22:40:06 +08:00
Yukun Guo
04703b8056 fix: prevent parent block duplicate 2020-12-11 22:58:45 +08:00
Tienson Qin
0b0598cee2 fix(native-fs): fast deletes resulting in conflicts 2020-12-11 02:58:22 +08:00
Tienson Qin
690a090c87 fix(native-fs): today journal not created automaticaly
Idb file handles should be cleared when unlinking a local directory.
2020-12-11 02:03:36 +08:00
Tienson Qin
914031649e fix(editor): cursor jump to the start when idle
Resolved #864
2020-12-10 23:04:00 +08:00
Tienson Qin
06c13070ba Merge branch 'master' of github.com:logseq/logseq into master 2020-12-10 17:11:20 +08:00
Tienson Qin
d54d54024f fix(editor): heading background can't be cleared
Related to #850
2020-12-10 17:04:33 +08:00
Yukun Guo
06de25993c fix: git-add immediately after creating file 2020-12-10 16:50:55 +08:00
Tienson Qin
1b958910f0 fix: serialize file writes 2020-12-09 23:07:41 +08:00
Tienson Qin
1b20c3e214 fix: restore the editing cursor after saving a block 2020-12-07 21:35:14 +08:00
Tienson Qin
45b318e2f8 fix: ask the permission when refreshing local graph 2020-12-06 11:06:27 +08:00
Tienson Qin
c1b70ae12a fix: git clone every time when refreshing the page
Resolved #787 #333
2020-12-05 17:22:02 +08:00
Tienson Qin
2ba37cdd6c feat(chrome-native-fs): save block even in editing mode 2020-12-05 00:18:24 +08:00
Tienson Qin
7fbac4211f fix(editor): display image upload processing 2020-12-02 10:30:39 +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
6f7ae1952a fix: properties 2020-11-26 00:25:21 +08:00
Tienson Qin
4303ea4ed9 fix: quick enter followed by a tab can lead to file corruption (#750)
* fix: quick enter followed by a tab can lead to file corruption

Resolved #738
2020-11-25 16:17:08 +08:00
Tienson Qin
2565c3b08b fix: don't autocomplete ^
Resolved #521
2020-11-24 21:10:49 +08:00
Tienson Qin
0a92889258 fix: user custom commands not working 2020-11-19 15:22:54 +08:00
Tienson Qin
857e1d3df2 fix: restore the commands after auto-complete date commands
Related to #686
2020-11-18 23:01:11 +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
4998113305 Merge pull request #648 from logseq/refactor/state
Minor refactoring of state.cljs
2020-11-16 19:13:15 -06:00
Tienson Qin
6edb36a090 feat: add org link id support
Resolved #659
2020-11-16 14:27:28 +08:00
Tienson Qin
b6a9afc303 fix: don't alert file already exists when creating new page 2020-11-15 18:12:40 +08:00
Tienson Qin
bca87b2b81 fix: edit the current block when press "Enter" and pos is zero 2020-11-15 17:55:26 +08:00
Yukun Guo
63027a7258 refactor: most get-editor-show-* should end with '?' 2020-11-14 15:35:29 +08:00
Yukun Guo
6193f85499 refactor: set-editor-show-* should end with '!' 2020-11-14 15:35:29 +08:00
Yukun Guo
75392d254f refactor: state setters should end with '!' 2020-11-14 15:35:29 +08:00
Tienson Qin
7205a3fb00 fix: set-editing! before update the page/blocks atom 2020-11-13 22:17:33 +08:00
Tienson Qin
3c18e0ef84 fix: don't re-render the unrelated blocks when inserting a new block 2020-11-13 21:08:05 +08:00
Tienson Qin
1b34099928 perf: remove block-has-children? function 2020-11-12 21:55:06 +08:00
Tienson Qin
e7b11495ca chore: update misleading comment 2020-11-12 14:54:40 +08:00
Tienson Qin
4e00151125 fix: set editor op back to nil after the db data were transacted 2020-11-12 13:04:21 +08:00
Tienson Qin
dbe9e20165 fix: only insert a new block when the previous insert op is finished 2020-11-12 12:46:28 +08:00
Tienson Qin
6794aada93 Merge branch 'master' into refactor/remove-editor-ugly-timers 2020-11-12 12:34:32 +08:00
Tienson Qin
b9e7095be0 feat: add :pages-directory option 2020-11-12 09:50:32 +08:00