Commit Graph

569 Commits

Author SHA1 Message Date
Tienson Qin
e4c0e8e07c enhance: add plus button for block pages too 2021-11-02 22:47:50 +08:00
Tienson Qin
c59d40741e fix: redundant arguments after code cleanup 2021-11-02 22:23:06 +08:00
llcc
b2e3901631 fix slash command clashes with Org-mode italics (#3010)
* enhance: fix https://github.com/logseq/logseq/issues/990

Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local>
2021-11-02 19:15:17 +08:00
llcc
584c929839 Enhance logbook (#2987)
* fix(logbook): fix https://github.com/logseq/logseq/issues/2866 partially

Timetracked logbook shouldn't only shown up in block with scheduled
timestamp.

* fix https://github.com/logseq/logseq/issues/2866

* cleanup: arguments in some commands

* Revert "cleanup: arguments in some commands"

This reverts commit 0e7df6e5fe.

* enhance(logbook): add two-level options to show logbook

This PR offer two options to control when the logbook drawer shows in
your block.

- `:logbook/enabled-in-timestamped-blocks`: This option defaults to
true, which means that the logbook drawer will be visible in blocks
only with scheduled or deadline timestamp after timetracking.

- `:logbook/enabled-in-all-blocks`: This option defaults to
nil. Adding `:logbook/enabled-in-all-blocks true` to your config file
will enable the logbook shown-up for all blocks after timetracking.

* fix last commit

* fix: timetrack for now->later on repeated task

* fix: add default marker

* enhance(logbook): support seconds

* logbook: add `with-second-support` doc

* logbook: re-define display config

* fix logbook string indentation

Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local>
2021-10-22 22:24:53 +08:00
rcmerci
c8b07ff97a fix: region copy as
when embed-page included in selected region, will copy embed-page twice
2021-10-21 17:52:51 +08:00
leizhe
43cc8c2723 cleanup: frontend.commands 2021-10-20 18:39:00 +08:00
leizhe
8f2140e537 enhance: properties inserting
Multiple properties drawers are allowed for now, this PR limits the
creation of multiple drawers to make sure that each block has only
one. Call <properties multiple times will insert the property in same drawer.
2021-10-20 16:40:27 +08:00
leizhe
1c3536198e Revert "cleanup: arguments in some commands"
This reverts commit 0e7df6e5fe.
2021-10-20 16:34:49 +08:00
leizhe
331f195054 cleanup: arguments in some commands 2021-10-20 16:34:49 +08:00
leizhe
9c33cf4b6b fix https://github.com/logseq/logseq/issues/2866 2021-10-20 16:34:49 +08:00
leizhe
035cd9c6fd fix(dwim): jump out of properties drawer if empty key at point 2021-10-18 22:04:55 +08:00
leizhe
f9c77d8300 dwim: make dwim feature optional 2021-10-18 22:04:55 +08:00
Tienson Qin
f134bf11d9 fix: undo need multiple steps 2021-10-12 14:28:29 +08:00
Tienson Qin
63b672dcf8 refactor: remove :block/file from non-page blocks 2021-10-11 12:14:41 +08:00
Tienson Qin
77d73f9bbe fix: disable dwim for markdown properties 2021-10-09 18:00:49 +08:00
Tienson Qin
06124f1236 fix: Left/Right not working when renaming page's title 2021-10-09 17:36:22 +08:00
leizhe
ce8c79b68b fix(dwim): disable remove empty property line for later fix 2021-10-09 14:18:16 +08:00
leizhe
e432a397bb enhance(dwim): jump out of properties drawer when cursor in empty property key 2021-10-09 14:18:16 +08:00
Tienson Qin
8823b624d9 fix: image paste 2021-10-08 22:56:50 +08:00
Tienson Qin
baf6713316 feat: cycle multiple todos 2021-10-08 19:55:59 +08:00
Tienson Qin
d5578a2b22 feat: copy multiple block refs
Also, fixed a bug that block refs count is not updated reactively.
2021-10-08 19:36:54 +08:00
Tienson Qin
ddb0bdc937 enhance: create first block when Enter a new page (dwim) 2021-10-08 18:32:07 +08:00
leizhe
be24c3a43b dwim: fix ordered list bullet increment 2021-10-08 18:07:17 +08:00
leizhe
515cf6f010 dwim: delete list item with only bullet and checkbox 2021-10-08 18:07:17 +08:00
leizhe
5fdfa0fa61 dwim: new list item with checkbox 2021-10-08 18:07:17 +08:00
leizhe
8ab1dbdd40 dwim: support admonition 2021-10-08 18:07:17 +08:00
leizhe
0545cf2855 dwim: checkbox support 2021-10-08 18:07:17 +08:00
leizhe
b707c4dd05 enter dwim supports some markups 2021-10-08 18:07:17 +08:00
leizhe
014f744641 enhance: support list, markdown property, etc 2021-10-08 18:07:17 +08:00
leizhe
9f32805d9d fix: use new key :link 2021-10-08 18:07:17 +08:00
leizhe
24752b8806 Feat: Multi-funtional Enter/Tab key
DWIM (do what I mean) for Enter/Tab key when editing.
Context-awareness of Enter/Tab key makes editing more easily.
2021-10-08 18:07:17 +08:00
Tienson Qin
e1c39de9ce fix: page blank when paste on electron 15 2021-10-08 16:08:53 +08:00
Tienson Qin
b0d7f95587 enhance: open the first block when openning a new page by Mod+o 2021-10-08 14:08:31 +08:00
Tienson Qin
117033ec20 fix: move block up/down should re-focus the editor 2021-09-28 22:09:07 +08:00
Weihua Lu
1d3ed88716 enhance(mobile): display img 2021-09-28 14:58:43 +08:00
Tienson Qin
4e44d9839b fix: don't trigger commands auto-complete when paste 2021-09-26 11:14:06 +08:00
Tienson Qin
ad5b4e0d44 fix: highlight not working in org mode 2021-09-26 10:38:39 +08:00
Tienson Qin
b63b972461 enhance: remove marker colors for now 2021-09-23 19:37:30 +08:00
leizhe
403c21df24 fix(logbook): Adjust orders of timestamps and logbook
Fix https://github.com/logseq/logseq/issues/2799
2021-09-23 19:24:13 +08:00
angusiguess
695765df78 Emit image links as image embeds rather than as html links 2021-09-23 19:18:50 +08:00
Tienson Qin
e5f484d1a7 feat: add :shortcut/doc-mode-enter-for-new-block? option 2021-09-23 18:26:11 +08:00
charlie
7ea00869d9 fix(plugin): support empty vector for the value of blocks children 2021-09-22 18:45:18 +08:00
Tienson Qin
9bc5bc94b7 fix: open the last block when the template has only one block 2021-09-22 14:25:00 +08:00
Tienson Qin
16068df62f enhance: open the last block when inserting template blocks 2021-09-22 14:18:37 +08:00
Tienson Qin
85f4217ef2 enhance: open the previous block when deleting selected blocks 2021-09-22 13:38:38 +08:00
Tienson Qin
279a6007fe enhance: add recent search 2021-09-20 13:11:59 +08:00
Tienson Qin
e978a8f972 fix: block parsing 2021-09-13 20:04:09 +08:00
Tienson Qin
986877b3f5 fix: don't auto-save for page's properties block
If the block has a title property. It's to prevent any page
modification while the user is adding or changing the block property.
2021-09-12 21:30:47 +08:00
leizhe
49ab36ce30 enhance(commands): jump out of the ending curly brackets when
embedding page or block
2021-09-11 21:22:28 +08:00
llcc
fef5bbf068 enhance(clock): support recording in repeated block // cleanup unused namespaces (#2777)
* enhance(clock): support recording in repeated block

* cleanup: unused namespaces

* cleanup: missing-else-branch if --> when

* enhance: wider search results window for mobile browser

* fix: namespace requirement
2021-09-08 10:23:16 +08:00