Tienson Qin
cd9bb9190f
enhance: zoom in shouldn't update the collapse status in db/files
2021-12-27 18:56:02 +08:00
Tienson Qin
1cff06f347
enhance: block expand/collapse toggle
...
1. Display `Expand all` where there're already collapsed blocks. This applies to `Collapse all` too.
2. Make the guideline bold when hovering on it.
3. Simplify some logic
2021-12-27 18:56:02 +08:00
shidenggui
85a7803c5e
remove useless :max-level parameters after refactoring
2021-12-26 11:20:33 +08:00
shidenggui
647f84edc3
fix: make collapse-all! and expand-all! public && avoid useless dispatch
2021-12-26 11:20:33 +08:00
shidenggui
9e117d2618
enhance(toggle): fix t o doesn't collapse all blocks && add Exppand all and Collapse all menu item for toggling block && auto expand children of the top block if collapse( fix #3222 ) && basic support for toggling by clicking the left bar of the block (see https://discuss.logseq.com/t/collapse-all-child-bullets-by-clicking-the-alignment-line/1937/3 )
2021-12-26 11:20:33 +08:00
charlie
e76172c9ca
enhance(mobile): make editing into viewport when insert new line
2021-12-22 17:48:12 +08:00
Junyi Du
22dc065bb8
fix: alias is not considered in some situations
2021-12-21 12:38:08 +08:00
leizhe
925f764730
fix(mobile): wrong cursor restore when indent or outdent
2021-12-21 10:55:10 +08:00
Junyi Du
09120cfce2
test(e2e): add more autocomplete test
2021-12-20 12:11:11 +08:00
Junyi Du
c5d39cdb8a
fix: abuse of keycode cause unexpected behaviour under different keyboard layouts
2021-12-20 12:11:11 +08:00
llcc
a8c9daad07
enhance(dwim): re-number its items when dwim in an ordered list ( #3358 )
...
* enhance(dwim): re-number list if dwim in ordered list
* fix: regexp for matching a list item
* enhance: don't enable dwim in list if cursor is at beginning of item
Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local >
2021-12-16 20:30:30 +08:00
Tienson Qin
2a081a7902
Merge pull request #3374 from logseq/enhance/mobile
...
Support photo upload/undo on mobile
2021-12-16 17:24:31 +08:00
Junyi Du
1da7040247
fix : #3283 broken @Rime
2021-12-16 17:23:58 +08:00
Junyi Du
7d7b7abc8e
fix: chinese parenthesis triggers autocompletion
2021-12-16 17:23:58 +08:00
Junyi Du
824108b3be
fix : #3283 broken
2021-12-16 17:23:58 +08:00
llcc
3dfa44eeba
Merge branch 'master' into enhance/mobile
2021-12-16 13:51:27 +08:00
Tienson Qin
6b3102d349
enhance: ignore iscomposing event on keyup
2021-12-15 12:07:12 +08:00
Junyi Du
0dcc79e4ab
fix: Chinese IMEs doesn't trigger slash command
2021-12-15 12:01:48 +08:00
llcc
d2e54d31fe
Merge branch 'master' into enhance/mobile
2021-12-15 11:41:10 +08:00
charlie
8d8c5624ac
fix(api): insert as first child when current node is first child
2021-12-14 15:01:10 +08:00
leizhe
d5ad9dc371
fix(ios): broken asset url
2021-12-14 14:12:18 +08:00
Tienson Qin
566ba16965
enhance: add blocks ast cache
2021-12-13 12:26:51 +08:00
Tienson Qin
75436b183a
fix: can't collapse a block with body
2021-12-11 14:40:32 +08:00
Tienson Qin
4661b19524
fix: wrong indentation for both templates and copied selections
2021-12-10 22:24:41 +08:00
Tienson Qin
54b1726145
fix: logbook time disappears after editing
2021-12-10 14:00:39 +08:00
Tienson Qin
ee370a0129
fix: cut block lose nested children blocks
2021-12-10 12:56:22 +08:00
Tienson Qin
5c2ad1816f
fix: safe setrangetext
2021-12-09 21:25:20 +08:00
ahonn
c15079b281
fix: fixed copy block refs in complex nesting cases
2021-12-08 13:13:43 +08:00
Tienson Qin
7822848af8
chore: remove :block/title, :block/body and :block/unordered
...
For two reasons:
1. Reducing memory usage, both block/title and block/body are AST parsed
by Mldoc. After removing, logseq is able to handle 10k notes.
2. Simplify the db schema
2021-12-08 10:46:45 +08:00
ahonn
1ca2b3fc21
feat: keep indent after copy block refs
...
Fixes #3349
2021-12-08 10:45:32 +08:00
Charlie
9029c632ef
Enhance/plugin apis ( #3355 )
...
* improve(plugin): support autoFocus option for main ui frame
* improve(plugin): make single selected block as current block
* improve(api): get selected blocks
* improve(plugin): support call built-in command from api
* fix(plugin): sanitize key of shortcut id
* improve(plugin): add invoke built-in command api &
* fix(editor): overwritten class of collapsed block
* improve(plugin): add `getStateFromStore` api
* chore: build libs core
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
2021-12-08 10:43:58 +08:00
Tienson Qin
fcf0f2cdfc
chore: enable global shortcuts with the e argument
2021-12-07 11:27:53 +08:00
Moritz Ulrich
d7759aeb79
Always add target of redirect-to-page! to 'Recent' list.
...
This change will put way more visited pages in the 'Recent' list, which (to me) feels better than the current behaviour.
2021-12-05 12:04:27 +08:00
Moritz Ulrich
60d3f1f60e
follow-link-under-cursor!: Add page to 'Recent' list
...
This fixes #3325
2021-12-05 12:04:27 +08:00
Junyi Du
eeb48ba6b8
enhance: only apply DWIM to list item when cursor at EOL
2021-11-30 11:04:41 +08:00
Tienson Qin
453579affd
fix: Hashtag # with Chinese character doesn't trigger search
...
close #3283
2021-11-26 22:09:38 +08:00
Tienson Qin
b8e3298904
enhance: type ``` and press Enter to switch to codemirror
2021-11-26 21:04:10 +08:00
Tienson Qin
efbcb79299
fix: double [[ not trigger auto-complete on Windows with microsoft pinyin
...
close #3251
2021-11-24 22:11:07 +08:00
Tienson Qin
b18d44e63f
enhance: convert highlighted word to a link when pasting a url
2021-11-24 16:47:45 +08:00
Tienson Qin
e622376638
fix: Can not type curly brackets in editor
...
close #3255
2021-11-24 14:47:47 +08:00
Andelf
2220208c50
fix: avoid press enter at empty page-ref
2021-11-24 11:35:32 +08:00
Tienson Qin
166ffa3b35
fix: clean orphaned pages when saving the editor
2021-11-22 22:12:55 +08:00
Tienson Qin
db1a6c7c37
fix: use keycode instead of key for autopair
...
close #752
close #2944
2021-11-22 13:21:19 +08:00
Andelf
961f6e9a19
fix: skip ime composing
2021-11-22 11:10:52 +08:00
Tienson Qin
63a1050743
fix: Delete key is deleting 2 characters rather than 1
...
close #3191
2021-11-18 12:19:31 +08:00
Andelf
1f779774ff
fix: do not triml while saving block
2021-11-17 20:45:03 +08:00
Tienson Qin
0c8110f209
fix: backspace can't move to previous block if it's a embed block
2021-11-16 16:22:49 +08:00
Tienson Qin
1c78fdc245
enhance: cycle todos support cmd+enter too
...
Also, it keeps the selection state after triggered
2021-11-16 15:17:41 +08:00
Tienson Qin
7ffabb111d
enhance: don't add another set of (()) when copy block ref to embed
2021-11-15 23:47:53 +08:00
Tienson Qin
e9abb69f6d
feat: add copy block embed(s)
2021-11-15 23:30:56 +08:00