Commit Graph

148 Commits

Author SHA1 Message Date
Tienson Qin
4e8f481a3f refactor: extract keybindings and handlers from the editor component 2021-03-02 15:37:22 +08:00
Tienson Qin
b0f48a4244 refactor: move block/page/template searches to editor handler 2021-03-01 22:39:28 +08:00
Tienson Qin
510096541c enhance: block search performance 2021-02-27 21:58:55 +08:00
Tienson Qin
b9fd0ef7ab fix: click can't create block reference
Resolved #1337
2021-02-21 22:16:21 +08:00
Tienson Qin
c1e7b4e5a5 feat: queries support dynamic variables too
Resolved #1340
2021-02-21 15:52:55 +08:00
Tienson Qin
901f0321cd fix: duplicated blocks when editing 2021-02-20 12:58:48 +08:00
Tienson Qin
102e68a07a fix: tab to collapse not working 2021-02-17 16:03:57 +08:00
Tienson Qin
acf12a9792 fix: up/down not working for empty page 2021-02-17 10:14:47 +08:00
rainmote
284432d00b fix: miss update properties when marker change 2021-02-16 23:57:11 +08:00
Tienson Qin
150953fcb8 feat(dynamic-variables): add dynamic variables to both templates
and macros.
2021-02-16 21:20:09 +08:00
Tienson Qin
57826e0573 refactor(shortcuts): up/down to navigate to the first/last block
Non-editing mode.
2021-02-16 11:17:34 +08:00
Tienson Qin
81d7c74b10 fix: block reference auto-complete not working 2021-02-14 22:21:43 +08:00
Tienson Qin
42f053d89c feat(full-text-search): use flexsearch instead of fuzzysort
For full-text search.
2021-02-14 13:51:58 +08:00
charlie
3981224616 fix(electron): fix relative asset path from current page file path 2021-02-10 09:36:38 +08:00
Tienson Qin
a7cb97c3f2 fix: disable auto-save when the editor is in composition 2021-02-09 14:31:30 +08:00
Tienson Qin
d3ff3a1000 fix: /draw command not working with GitHub repos 2021-02-05 22:27:27 +08:00
Tienson Qin
f526399d63 fix: head's background color is not rendered
Related to #1267
2021-02-04 23:51:15 +08:00
Tienson Qin
46a5ce1963 fix: local images can't be displayed on GitHub
Closed #1254
2021-02-03 23:49:32 +08:00
Tienson Qin
b3ddcaef59 fix: org image syntax 2021-02-03 18:26:46 +08:00
charlie
3beda2c422 fix(electron): try to fix #1228 2021-02-02 14:55:19 +08:00
Tienson Qin
b9a60aee09 Merge pull request #1179 from logseq/feat/electron
Desktop app support
2021-01-28 21:40:23 +08:00
Tienson Qin
bf13349fc1 fix: page hangs when embeding the parent block
Closed #1119
2021-01-28 21:38:24 +08:00
Tienson Qin
83fda19660 fix: asset file link in markdown shouldn't prefixed with ! 2021-01-28 18:13:52 +08:00
charlie
c151c9c7cf improve(electron): compatible paste assets for multiple platform 2021-01-28 18:01:03 +08:00
charlie
32c2d4f268 feat(electron): support upload any asset types 2021-01-28 15:57:42 +08:00
Tienson Qin
5c30e0b47e fix: keeping ask for permissions for nfs graphs
Also, simplify the code a bit.
2021-01-28 15:44:20 +08:00
charlie
6d0d83e86f fix(electron): get correct file path when drop image 2021-01-26 21:23:47 +08:00
charlie
b7619958ec improve(electron): adapt paste/drop asset for electron clipboard api 2021-01-25 14:33:50 +08:00
charlie
6b61a3c762 feat(electron): copy file when upload asset 2021-01-24 20:47:06 +08:00
Tienson Qin
b3224d0869 electron: file watcher 2021-01-23 19:02:23 +08:00
Tienson Qin
cf68a2ba80 feat: electron can read/write files now 2021-01-22 21:20:04 +08:00
Tienson Qin
abdad5634a refactor: add Fs protocol 2021-01-20 13:41:14 +08:00
Tienson Qin
14cb8af42c fix: templates with bullet will auto duplicate
Related to #1141 and #1123
2021-01-17 11:40:44 +08:00
Tienson Qin
43f41de1ba editor: allow clicking image to edit
Also, don't select the current block when resizing the image.
2021-01-15 22:50:38 +08:00
charlie
f564cc3616 improve: remove image with extension link(image) syntax 2021-01-15 18:14:10 +08:00
charlie
eeabf42fb6 Merge remote-tracking branch 'origin/master' into feat/support-remove-image
# Conflicts:
#	src/main/frontend/components/block.cljs
2021-01-15 17:47:00 +08:00
Tienson Qin
6c32bbdb27 feat: add image resize support 2021-01-14 23:49:39 -08:00
charlie
1cf80c9bc8 improve: replace asset text link 2021-01-14 19:31:25 +08:00
charlie
59414c8275 feat: support delete physical asset file 2021-01-14 12:10:29 +08:00
charlie
ee529b5b9d feat: support delete image link of block 2021-01-13 21:36:20 +08:00
charlie
e8a20dbde7 refactor: improve save-block! method 2021-01-13 15:05:40 +08:00
Tienson Qin
013b4fbd8f Merge pull request #1072 from logseq/enhance/undo-redo
Enhance/undo redo
2021-01-12 07:16:50 -08:00
Tienson Qin
1b38b9deb1 feat: add git auto push option to settings
Also, add ctrl-s for auto-pushing
2021-01-12 22:52:42 +08:00
Charlie
4b2dde2228 Feature/attachment with native fs (#1078)
* feat: upload image with native fs

* improve: life of loading assets image file with nfs

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-01-12 21:25:37 +08:00
Tienson Qin
625ec882a9 enhance: clear unused editor state 2021-01-12 20:57:18 +08:00
Tienson Qin
081256ab4b enhance(undo): preserve latest cursor position when undo 2021-01-11 18:37:28 +08:00
Tienson Qin
595f0cfcbb chore: undo/redo tweaks 2021-01-09 23:36:22 +08:00
Tienson Qin
3c327eb4ba enhance(undo): use a promise-chan to make the undo behavior stable 2021-01-08 21:51:34 +08:00
Tienson Qin
be28b0e04d enhance: auto-saved files should be added to history too 2021-01-07 20:43:40 +08:00
Tienson Qin
249bf680c1 enhance: undo redo use patches instead of full text 2021-01-07 10:31:14 +08:00