leizhe
61f7653e79
fix(mobile): modal pop window position
2022-01-10 13:29:13 +08:00
Tienson Qin
e627d5ddcf
fix: expand/collapse all doesn't work in "Linked Reference" section
...
close #3803
2022-01-10 13:00:33 +08:00
Charlie
3ea7635daa
Enhance/marketplace ( #3686 )
...
Marketplace enhancement
Nested modal support
2022-01-07 19:00:35 +08:00
Tienson Qin
7ad04d8405
fix: can't paste
2022-01-07 11:07:41 +08:00
leizhe
b45ed4534e
enhance(mobile): add list icon
...
Features:
- create an empty list
- toggle current line to a list item
- toggle ordered/unordered list
2022-01-06 20:22:19 +08:00
leizhe
c317836857
enhance(mobile): () supports toggle between block reference/embed
...
1. (| denotes cursor postion),
- insert `((|))` after first click
- change `((|))` to `{{embed ((|))}}`
- later click toggles between `((|))` and `{{embed ((|))}}`
2. if cursor at `((uuid-uuid-uuid|))`, the reference will be changed to`{{embed
((uuid-uuid-uuid))}}|` when clcking the icon, and vice versa.
2022-01-06 20:22:19 +08:00
leizhe
f39df32872
enhance(mobile): [] supports toggle between page reference/embed
...
1. if text selected, toggle the text to a page reference `[[text]]`
2. if no text selected (| denotes cursor postion),
- insert `[[|]]` after first click
- change `[[]]` to `{{embed [[|]]}}`
- later click toggles between `[[|]]` and `{{embed [[|]]}}`
3. if cursor at [[text|]], The reference will be changed to`{{embed
[[text]]}}|` when clcking the icon, and vice versa.
2022-01-06 20:22:19 +08:00
leizhe
ab3e6a78b0
enhance(mobile): paste Youtube/Twitter URL as macro
2022-01-06 20:22:19 +08:00
leizhe
7a8aa9329c
feat(mobile): add priority toggle button to toolbar
2022-01-06 20:22:19 +08:00
Tienson Qin
9f8028d51b
enhance: separate references/queries collapse state from db
...
addresses #3744
2022-01-05 20:42:06 +08:00
leizhe
22b1bf994c
preventDefault event
2022-01-05 12:14:47 +08:00
leizhe
51ce3c4cf7
enhance(dwim): dwim on paste in source block or admonition
...
Clipboard data with newlines will be inserted as raw text in source
block or admonition.
2022-01-05 12:14:47 +08:00
Tienson Qin
94d185b6f2
fix: Collapse all collapses the whole zoomed in hierarchy
...
Instead of just below the clicked bullet.
Related to https://github.com/logseq/logseq/issues/3734#issuecomment-1005003877
2022-01-05 10:15:53 +08:00
Tienson Qin
8cc194ce60
fix: expand/Collapse all doesn't work when zooming in a block
...
addresses #3734 , #3735
2022-01-04 23:01:47 +08:00
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