Tienson Qin
bec7768f14
fix: disable collapse/expand if empty properties for object's class
2024-01-26 13:31:57 +08:00
Tienson Qin
1536d9aff5
fix: regression of unwanted tag pages are created as you type
...
Fixes LOG-2820
2024-01-25 06:47:36 +08:00
Tienson Qin
b21322cdb2
Disable cycle todos for now
2024-01-24 16:38:09 +08:00
Tienson Qin
63eda223ac
fix: content cleared when indent block
2024-01-23 19:37:11 +08:00
Tienson Qin
b06b01b88b
Merge branch 'master' into feat/db
2024-01-22 12:08:37 +08:00
Mathieu Fenniak
b6382d5c5c
Reset current-block edit state after indent/outdent operation
2024-01-20 03:47:33 +08:00
Tienson Qin
036f1b5ab7
feat: /todo/other-status and /urgent/other-priority to set property
2024-01-19 02:36:23 +08:00
Tienson Qin
6192378c28
fix: page merge
...
Page rename should be called from worker.
2024-01-16 17:51:54 +08:00
Charlie
7db164ab47
Enhance: APIs related issues ( #10782 )
...
* fix(plugins): load unpacked package for the existed plugin
* enhance(plugin): increase timeout time for the plugin handshake
* enhance(api): support option to insert block with auto ordered list
* fix(api): skip empty target for the batch insertion blocks
* fix(api): before option for the batch blocks insertion
* enhance(api): types
* chore: bump minor version
* fix(apis): Empty `payload.uuid` when executing onMacroRendererSlotted inside query table
2024-01-16 15:47:56 +08:00
Tienson Qin
a619850998
Merge branch 'feat/db' into refactor/pipeline-worker
2024-01-16 15:42:18 +08:00
Tienson Qin
45348a694b
Revert "Remove unused state"
...
This reverts commit 8419afe007 .
2024-01-16 13:27:48 +08:00
Tienson Qin
77bcd70a2a
fix: slow performance for block delete
2024-01-16 13:24:55 +08:00
Tienson Qin
8419afe007
Remove unused state
2024-01-16 13:24:55 +08:00
Tienson Qin
1249b26b4c
Edit block earlier to not slow down editing when deleting a block
2024-01-16 13:24:55 +08:00
Tienson Qin
af895d68c9
fix: editor e2e tests
2024-01-15 23:04:49 +08:00
Tienson Qin
af8478a6ec
fix: editor e2e tests
2024-01-15 15:35:34 +08:00
Tienson Qin
029ed109b9
fix: page rename undo/redo
2024-01-14 16:33:50 +08:00
Tienson Qin
d13cc0c120
clean code
2024-01-14 14:38:57 +08:00
Tienson Qin
b55e4e7380
fix: db requests could be dropped if some requests not finished yet
2024-01-14 12:55:55 +08:00
Tienson Qin
b9646d5cd0
fix: blockref e2e tests
2024-01-12 02:03:19 +08:00
Tienson Qin
6173879ca0
fix: test
2024-01-12 00:41:03 +08:00
Tienson Qin
96c9e8d7d5
simplify pipeline
2024-01-11 20:18:40 +08:00
Tienson Qin
a81229576d
fix: group transactions
2024-01-11 20:18:40 +08:00
megayu
c25c432755
Fix wrong cursor posistion ( #10838 )
...
* fix unable to use 'del' to delete the last character
if the cursor is at the beginning of the block
* fix right arrow calculate character length incorrect
if the cursor is at the beginning of the block
* fix moving up or down across blocks may enter the middle of a character
* fix moving up or down inside a block may enter the middle of a character
2024-01-11 16:22:37 +08:00
Tienson Qin
af03ed50d5
fix: cursor after deleting a block
2024-01-11 16:16:02 +08:00
Tienson Qin
3eda6c1bb0
fix: cursor blink when saving editing
2024-01-11 15:57:26 +08:00
Tienson Qin
7d55f04e00
fix: template cursor
2024-01-11 15:43:26 +08:00
Tienson Qin
848ea4f3f7
fix: editor lost focus on electron
2024-01-11 15:32:49 +08:00
Tienson Qin
d092a32cbb
fix: focus editor after move up/down && indent/outdent
2024-01-11 15:03:49 +08:00
Tienson Qin
3c9d77088b
fix: editor not saved when zoom in/out
2024-01-11 14:48:20 +08:00
Tienson Qin
e07bdf47cd
fix: paste blocks cursor position
2024-01-11 02:37:47 +08:00
Tienson Qin
e4f16d21d9
fix: api-insert-new-block! calls
2024-01-11 02:27:42 +08:00
Tienson Qin
8533a974f1
fix: batch tx
2024-01-10 23:40:33 +08:00
Tienson Qin
5cad97c617
feat: returns a deferred promise for logseq.db/transact!
...
This enables callers to wait for the result.
2024-01-10 20:23:11 +08:00
Tienson Qin
9663d1bad1
enhance: way better cursor restore for undo/redo
...
This commits records both the start pos (user starts to type) and end
pos (before transaction), because the user always wants undo to move
the cursor back to the start position and redo to the end position.
2024-01-10 00:27:21 +08:00
Tienson Qin
d1ca61d3c5
fix: avoid re-render deleting block
...
tricky one
2024-01-09 18:37:28 +08:00
Tienson Qin
5fd91035df
wip: transact to worker directly
...
Previously, the transactions will go though main thread db -> worker
db, this commit changes it to worker db first and then send the
updates to the main thread db.
This change does introduce some bugs because all the db transactions
are async now.
2024-01-08 20:53:23 +08:00
Tienson Qin
9194a671fd
Move outliner core to its own dep
2024-01-03 18:02:48 +08:00
Tienson Qin
b7d9098e80
Move gp-util and gp-config to the common dep
2024-01-03 16:38:05 +08:00
Tienson Qin
292ba1b0b6
Remove state dependency for outliner.core
2024-01-03 15:42:58 +08:00
Tienson Qin
2a79b44725
fix: outliner bug
2024-01-03 03:15:38 +08:00
Tienson Qin
9ea5ac85e4
Remove dom dependency for outliner.core
2024-01-03 01:37:42 +08:00
Tienson Qin
e579f668eb
wip: remove dependency on frontend.db for outliner core
2024-01-02 23:23:49 +08:00
Tienson Qin
48b5593008
wip: outliner refactor
2024-01-02 18:07:17 +08:00
Tienson Qin
31c3b7a3af
Allow outliner transaction to be used for both UI and worker
2024-01-01 22:46:56 +08:00
Tienson Qin
dda11a33a7
Move outliner tree to the outliner dep
2023-12-27 02:53:00 +08:00
Mega Yu
aaf856e803
support mod+shift+left-click
2023-12-26 17:56:43 +08:00
Tienson Qin
b134954e2c
Move all search related impl to worker
...
This commit also introduced a new ns `frontend.db.async` for
async queries.
2023-12-25 17:05:44 +08:00
Tienson Qin
018e1ae8ee
Merge branch 'master' into feat/db
2023-12-23 14:18:25 +08:00
Tienson Qin
0a393eb822
Merge branch 'feat/db' into feat/datascript-storage
2023-12-13 20:38:55 +08:00