megayu
c90e266310
Fix: Delete and backspace deleting block ids and breaking references ( #8974 )
...
* press delete at the end of a block, if no refs in current block,
delete current block instead of next
* enhance backspace behavior to avoid broke ref
* fix press backspace at the end of the block of the end of the page issue
* add e2e-test for delete and backspace across blocks
---------
Co-authored-by: Junyi Du <junyidu.cn@gmail.com >
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com >
2023-04-12 12:17:13 +08:00
Tienson Qin
b17c4ea37e
enhance: show custom title instead of live query for custom queries ( #9026 )
...
* enhance(ui): replace live query with custom title if exists
also moved query related components to frontend.components.query
* fix: simplify query components' state
2023-04-12 11:12:05 +08:00
Tienson Qin
07a0f78e52
fix: hash tags enclosed in double brackets is broken
...
close #8942
2023-04-04 23:48:38 +08:00
Tienson Qin
327c29af49
fix: disable backspace from the start and delete in the end for query
2023-04-04 00:46:45 +08:00
Gabriel Horner
60b2eac6fc
Fix default for :block/properties-order for #8930
2023-04-03 10:30:49 -04:00
megayu
81c1397106
Enhance context menu ( #8930 )
...
* replace duplicate code
* only select current block during open contxt menu & fix issue 7689
* change unnecessary mixin function to value
* add bgcolor to custom context menu
* add collapse/expand to custom context menu
* remove redundant code
* fix misdirected comment
* add make card to custom context menu
* add heading to custom context menu
* Merge branch 'master' into enhance/context-menu
* fix undo heading need multiple times
* Revert "Merge branch 'master' into enhance/context-menu"
This reverts commit d4222db6bb .
* fix: lint
* fix heading case logically incorrect
* format code
---------
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
2023-04-03 12:59:59 +08:00
Andelf
0e551a9f6d
fixup! fix(fs): whiteboards drop file on win32
2023-04-02 21:06:56 +08:00
Andelf
cc78d992e2
fix(fs): whiteboards drop file on win32
2023-04-02 21:06:56 +08:00
Tienson Qin
4351213542
chore: remove unnecessary :copy/blocks
2023-03-29 18:41:04 +08:00
Tienson Qin
bc635eaf4b
fix: internal blocks paste
2023-03-29 18:41:04 +08:00
Andelf
90b0160f3c
fix(fs): asset url calculation
...
Close #8919
2023-03-28 22:36:46 +08:00
Andelf
6e9fec448b
fix(test): close notification before start
2023-03-28 09:14:42 +08:00
Andelf
ee41048053
fix(fs): asset url of non-ex page
2023-03-28 09:14:42 +08:00
Andelf
72a290d21c
fix(electron): initial warning of local dir
2023-03-28 09:14:42 +08:00
Andelf
c79c352e08
fix(fs/mobile): ios fs and loading fix
2023-03-28 09:14:42 +08:00
Andelf
3c0973013b
refactor(fs): mv fs2 logic to logseq.common pkg
2023-03-28 09:14:42 +08:00
Andelf
d9e0534c7f
fix(fs): refine path-join
2023-03-28 09:14:42 +08:00
Andelf
7cad990fa1
refactor(fs): avoid misleading variable names
2023-03-28 09:14:42 +08:00
Andelf
abf7d55c7c
refactor(fs): rm redundent return date from fs protocol
...
fix(fs): asset url loading under nfs backend
2023-03-28 09:14:42 +08:00
Andelf
43f9fa33b0
refactor(fs): open-dir now returns map instead of vec
2023-03-28 09:14:42 +08:00
Andelf
d666a6d35a
refactor(fs): rework on electron fs
2023-03-28 09:14:42 +08:00
Andelf
bbb655ff43
refactor(fs): handle asset deletion
2023-03-28 09:14:42 +08:00
Andelf
ad564a4d72
fix(fs): asset url handling
2023-03-28 09:14:42 +08:00
Tienson Qin
7f93374802
fix: page search autocompletes incorrectly if page has parentheses
...
close #6337
2023-03-27 22:52:09 +08:00
Tienson Qin
0ae6fd4673
fix: update properties-text-values when update properties
2023-03-27 22:49:18 +08:00
charlie
fc3e5ac59e
refactor: utils for html5 media formats
2023-03-24 10:13:37 -04:00
charlie
6e357f3804
enhance(ux): support audio player renderer for the local audio asset
2023-03-24 10:13:37 -04:00
Tienson Qin
6ae5e4e42e
fix: wrong argument
2023-03-24 14:16:37 +08:00
Tienson Qin
e6c329d461
chore: remove unused select-highlight! and unhighlight!
2023-03-23 13:02:41 +08:00
Tienson Qin
7e8b355e0d
fix: undo cycle todos
2023-03-22 18:10:47 +08:00
Tienson Qin
0eab5ebef4
fix: undo block deletion needs multiple steps ( #8833 )
...
fix: undo block deletion needs multiple steps
---------
Co-authored-by: charlie <xyhp915@qq.com >
2023-03-21 19:35:40 +08:00
Tienson Qin
db6fc6b7ee
feat: simple query builder ( #8774 )
...
Simple query builder
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
Co-authored-by: charlie <xyhp915@qq.com >
2023-03-21 14:27:00 +08:00
Konstantinos Kaloutas
316fa2f4b5
fix: copy
2023-03-08 17:09:35 +08:00
megayu
a4a5758afc
enhance: paste from clipboard ( #8642 )
...
replace the selected part from the clipboard
instead of formatting it to a link if it's within the link
2023-02-21 15:55:59 +08:00
Tienson Qin
40ad524443
fix: duplicated block ids in multiple files ( #8668 )
...
fix: duplicate block ids in multiple files
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
2023-02-21 15:50:09 +08:00
rcmerci
2a12ffc331
feat(editor/copy-paste): refactor copy/export in cljs ( #8530 )
...
Huge performance improvement for copy and export
Refactor copy/export in cljs instead of Mldoc
2023-02-20 23:08:58 +08:00
Gabriel Horner
818e735d7c
Tag menu should stay open for multiple tags
...
Fixes #6805 and #8175
2023-02-13 15:34:26 +08:00
Tienson Qin
c8db7646e2
fix: use mldoc to check links
2023-02-13 15:19:11 +08:00
ksqsf
9f2ce3dd39
enhance: recognize refs as links when inserting links from selection
2023-02-13 15:19:11 +08:00
Gabriel Horner
32d23a7f44
Fix command and hashtag not triggering at start of a multi-line
2023-02-12 09:49:15 +08:00
Gabriel Horner
90003c0622
Move default case for keyup-handler out
...
Managing 10+ bindings in a fn is a recipe for bugs
2023-02-12 09:49:15 +08:00
Gabriel Horner
361e61efc7
Slash command closes after one space, fixes #5510
2023-02-12 09:49:15 +08:00
Gabriel Horner
475d4ce7d9
Fix command completion firing too often
...
Only fire at the beginning of a line or when starting a new word
2023-02-12 09:49:15 +08:00
Konstantinos
206844d2a8
Fix: Auto heading on markdown mode ( #8327 )
...
* fix: markdown auto heading
* fix: do not remove heading property
* fix: always clear heading before setting
* fix: auto heading preview on edit mode
* fix: inc
* fix: remove console log
* fix: remove numeric heading and revert changes
* disable current state button
2023-02-06 23:04:22 +08:00
Andelf
cfe28ca88a
fix(editor): handle save editing block timestamp
...
Fix #8238
2023-01-18 15:14:25 +08:00
Andelf
c92f44d22e
fix(editor): revise date-picker shortcut key handling and opening condition
2023-01-18 15:14:25 +08:00
Tienson Qin
e179e1c86e
fix: template e2e test
2023-01-13 16:02:35 +08:00
Tienson Qin
ccb5628f3c
fix: separate saving current block from other outliner op's tx
2023-01-13 15:12:07 +08:00
situ2001
ef1febb771
fix(editor): incorrect undo/redo sequence of indent/outdent
2023-01-13 15:03:59 +08:00
charlie
a80a64dfdf
fix(mobile): wrong behavior when backspace with line-head text selection for ios
2023-01-05 19:43:57 +08:00