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
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
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
Tienson Qin
8c3794f5aa
fix: can't backspace in some situations
2023-12-13 20:33:59 +08:00
Tienson Qin
83906dbc9b
fix: allow to DEL if the next element is not its right sibling
2023-12-13 18:09:21 +08:00
Tienson Qin
660ac318cf
fix: ensure :block/uuid never changes for any block
...
Previously, this happens when `DEL` in a block which followed by a
refed block.
2023-12-13 17:28:04 +08:00
Tienson Qin
8c3ec50c07
fix: no available handles to import to
2023-12-12 19:11:42 +08:00
charlie
ea196dfe67
fix(editor): incorrect auto save when paste batch blocks
2023-12-11 14:20:15 +08:00
charlie
3183dc7857
fix(ui): incorrect IME composition detection
2023-12-08 15:23:22 +08:00
Tienson Qin
67fd609170
fix: typing a normal page as a tag silently changes its page type
...
User can choose to create either a page or a class with '#' now.
FIXES LOG-2742
2023-12-05 17:31:21 +08:00
Gabriel Horner
b48f69b80b
fix: assets not loading on published graphs that arent under /
2023-12-01 13:37:55 -05:00
Tienson Qin
f342303e6a
Add initial tests on property handler
2023-11-30 00:34:04 +08:00
Gabriel Horner
6517f6f12a
Merge branch 'master' into feat/db
2023-11-29 09:56:12 -05:00
Tienson Qin
9e412168ce
fix: increase the default search length
...
Fixes #10569
2023-11-29 18:56:39 +08:00
Andelf
61a3c19176
fix(fs): windows unc path support
2023-11-28 02:39:52 +08:00
Gabriel Horner
ce94c56970
fix: lints
2023-11-27 12:33:06 -05:00