Commit Graph

930 Commits

Author SHA1 Message Date
Tienson Qin
8323d0a2d2 fix: line starting with - will be disappear after exit editing 2021-11-15 21:36:45 +08:00
Charlie
72c038e6fe Feat/moveable plugin UI container (#3045)
* improve(plugin): add container for main ui frame

* feat(plugin): support draggable & resizable UI container for main ui

* feat: support fork sub layout container

* improve(plugin): add editor selection api

* improve(plugin): click outside configure for float container

* improve(plugin): api of journal for create-page

* improve(plugin): api of open-in-right-sidebar

* improve(plugin): add full screen api

* improve(plugin): api of register-palette-command

* improve(plugin): add apis
2021-11-15 16:57:20 +08:00
Tienson Qin
829c8ebb8d fix: there's no auto-complete if the cursor moves back to [[]]
Related to #538
2021-11-10 23:36:53 +08:00
leizhe
8143a0c6f6 fix(DWIM): cursor jumps to drawer end if enter at property key 2021-11-05 11:13:48 +08:00
Tienson Qin
7c0e596185 fix: Unexpected behavior of Ctrl + b
close #2667
2021-11-04 21:31:03 +08:00
Tienson Qin
29a96a7f3e enhance: delete move-node 2021-11-04 20:30:54 +08:00
Tienson Qin
bcabb49cc8 feat: move nodes up/down 2021-11-04 20:30:54 +08:00
Tienson Qin
1f655c519d feat: WIP move blocks up/down 2021-11-04 20:30:54 +08:00
leizhe
977fd2bacc fix: insert page attributes instead of block property when creating
and renaming page

Creating or renaming a page with namespace will add block-styled title
property, which is not proper. This PR fixed this issue.
2021-11-04 17:40:48 +08:00
Tienson Qin
300ee8feb4 chore: bump mldoc 2021-11-03 21:13:34 +08:00
Devon Zuegel
54b7df65a9 enhance: custom editor command trigger (#3001)
* refactor: rename slash → custom-command-trigger

* refactor: use command-menu-trigger variable throughout, rather than hard-coded

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-11-03 11:09:33 +08:00
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