Commit Graph

419 Commits

Author SHA1 Message Date
charlie
e746fac90c fix(ux): pair input for wechat IME 2024-10-16 14:07:47 +08:00
Tienson Qin
a53943e19e fix: block content not saved when exit code mode 2024-10-03 18:31:25 +08:00
Tienson Qin
ccb6ee48e4 enhance: ESC on code back to raw editor
Also, removed :editor/pending-type-block.
2024-10-03 17:16:41 +08:00
Tienson Qin
22d2c83a91 fix: custom query not updated (#11551)
fix: custom query trigger
2024-09-28 13:44:35 +08:00
Tienson Qin
1f0641c9e3 enhance: display next repeat time near to card repeat buttons 2024-09-25 20:57:19 +08:00
Tienson Qin
1c71b10247 enhance(ux): use arrows for properties navigation (#11535)
enhance: properties support arrow navigation
2024-09-20 18:37:32 +08:00
Gabriel Horner
70383cd813 fix: stop shadowing vars for rest of frontend
Follow up to 5ff364ba1e
2024-09-07 00:13:09 -04:00
Tienson Qin
c23c15ca7e fix: node references do not appear on blocks that contain a tag
fixes https://github.com/logseq/db-test/issues/43
2024-09-04 11:10:14 +08:00
Gabriel Horner
0e4debdb90 fix: compilation failure with js in clj 2024-08-30 08:34:21 -04:00
charlie
b6d54c5b5e fix: invalid up/down for selection mode after indent/outdent actions 2024-08-30 15:48:13 +08:00
Tienson Qin
4293e83b89 fix: disable virtualization for journal list 2024-08-13 11:22:58 +08:00
Tienson Qin
b9f9fa0ca6 wip: Demo switch to use db graph 2024-08-10 13:42:37 +08:00
Gabriel Horner
20eac03cea refactor: mv common worker/frontend ns to frontend/common
Move common core.async, date and search utils to frontend/common.
Part of LOG-3171
2024-08-09 11:18:32 -04:00
Konstantinos Kaloutas
6c05ca3f65 fix copying non-png images 2024-08-06 16:37:41 -04:00
Tienson Qin
8aa4fcad64 fix: up/down nivigation between blocks
Reason: embeded blocks share the same dom id with their source blocks.
2024-07-22 17:31:40 +08:00
Tienson Qin
a44f6c27d5 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-21 11:34:49 +08:00
charlie
a2ea0059af fix(editor): invalid editor up/down actions for the selection mode once outdent/indent 2024-07-12 19:49:48 +08:00
Tienson Qin
a1f352773b refactor: rename :block/original-name to :block/title 2024-07-10 21:43:03 +08:00
Tienson Qin
bd95e38e09 fix: copy paste nested blocks
Related to LOG-3160
2024-06-21 11:03:04 +08:00
Tienson Qin
71dc122a75 fix: copy block properties doesn't work
Fixes LOG-3160
2024-06-20 00:39:08 +08:00
Tienson Qin
2ba01c7cef perf: use virtualized list instead of our own ui/infinite-list
The benefits are:
1. less journals to render, so less memory, faster editor experience
2. our old implementation is buggy in some platforms
2024-06-17 09:25:33 +08:00
charlie
72897acb1e enhance(api): support empty value for the multi pages property value 2024-06-08 12:09:09 +08:00
Tienson Qin
9c955081ab fix: paste text instead of blocks when copied from another graph
Related to LOG-3123
2024-06-05 21:52:50 +08:00
Tienson Qin
6104cac5ad fix: move cursor across embedded blocks 2024-06-04 17:12:25 +08:00
Tienson Qin
fbdb22358a fix: can't edit properties in :block-below 2024-05-28 14:41:18 +08:00
Tienson Qin
a5a7a781eb fix: keep the last repeated datom (different value) in batch tx 2024-05-15 07:54:31 +08:00
Gabriel Horner
832061b2ac Merge branch 'master' into feat/db 2024-05-14 11:41:14 -04:00
charlie
7ba72aee75 fix(mobile): incorrect theme color for the android status bar 2024-05-14 01:43:08 +08:00
Tienson Qin
ce4cad2cc7 Refactor/move property handler to outliner dep (#11311)
The end goal is to get rid of `db/transact!` and send outliner ops to
the db worker.

Currently, some property ops are async, set-block-property! will also
need to be async because when setting a non-ref value (e.g. a number
str "2"), we need to query whether a block with the value exists, this
unfortunately, will be an async query, so we're risking turning more
functions to async in the future which makes it hard to reason about
the implementation.
2024-05-13 18:16:21 +08:00
Tienson Qin
89edb3af9a fix: can't remove Many values 2024-05-02 18:03:17 +08:00
Gabriel Horner
0bee9b12c0 fix: frontend lints and remove dead code 2024-04-22 11:10:16 -04:00
charlie
6ade79ba3c Merge branch 'master' into feat/db 2024-04-02 17:06:26 +08:00
charlie
369b5ece15 fix(editor): incorrect behavior of the delete key for deleting the last char 2024-04-02 13:28:50 +08:00
charlie
53125d6315 enhance(plugin): support custom routes from the plugin sdk 2024-03-21 19:07:16 +08:00
Gabriel Horner
b1eeff0083 fix: copy+paste persisting invalid, transient attribute
To repro, copy and paste block(s) in a db graph
2024-03-08 19:12:23 -05:00
Tienson Qin
a619850998 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-16 15:42:18 +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
2d245295a7 fix: outliner core tests 2024-01-10 04:15:09 +08:00
Tienson Qin
eb6e5942f8 fix: lint warnings 2024-01-10 01:34:15 +08:00
Tienson Qin
7f0747ca9f start fix lint warnings and tests 2024-01-10 01:00:17 +08:00
Tienson Qin
77726bda4c fix: worker dependencies 2024-01-08 12:59:08 +08:00
Tienson Qin
f14f7b0c95 wip: move rtc to worker 2024-01-08 04:43:28 +08:00
Tienson Qin
9597330d9f Remove db/state dep on page handler 2024-01-07 17:24:54 +08:00
Tienson Qin
0dc2577091 fix defmacro 2024-01-03 21:31:32 +08:00
Tienson Qin
fdf8249265 remove db dependency for rtc.core 2024-01-03 21:23:33 +08:00
Tienson Qin
b5d8d569ce Move time-ms to common.util 2024-01-03 17:12:31 +08:00
Tienson Qin
a6f83c2445 Move worker.util fns to common.util 2024-01-03 17:08:24 +08:00
Tienson Qin
cf1e4691c2 fix: lint warnings 2024-01-03 16:45:11 +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
9ea5ac85e4 Remove dom dependency for outliner.core 2024-01-03 01:37:42 +08:00