Commit Graph

13940 Commits (af03ed50d59c3271f1856c0019508a89c63ca8f3)

Author SHA1 Message Date
Tienson Qin af03ed50d5 fix: cursor after deleting a block 2024-01-11 16:16:02 +08:00
Tienson Qin 0fdce57d75 Remove unused code 2024-01-11 16:02:33 +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 77d49f8e7f remove trace 2024-01-11 15:34:45 +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 7a1b1a17f8 fix: whiteboard portals 2024-01-11 14:20:23 +08:00
rcmerci 2fcdecca90 fix ns name 2024-01-11 14:10:25 +08:00
rcmerci 955e9fea64 move asset_sync.cljs 2024-01-11 14:09:52 +08:00
rcmerci 2dca1b6df8 feat(rtc): add schema for asset 2024-01-11 14:08:18 +08:00
Tienson Qin a534193090 fix: can't create new graph 2024-01-11 04:05:06 +08:00
Tienson Qin 0cb748898f fix: clear editing block when esc or click outside 2024-01-11 03:32:22 +08:00
Tienson Qin 264f7dd40a Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-11 02:57:37 +08:00
Tienson Qin 205cf8b673 fix: lint warnings 2024-01-11 02:50:39 +08:00
Tienson Qin 4a6dfcb019 fix: unit tests 2024-01-11 02:47:07 +08:00
Tienson Qin e07bdf47cd fix: paste blocks cursor position 2024-01-11 02:37:47 +08:00
Tienson Qin b4f8c1e805 fix: p/do! 2024-01-11 02:31:47 +08:00
Tienson Qin e4f16d21d9 fix: api-insert-new-block! calls 2024-01-11 02:27:42 +08:00
Tienson Qin f7eafb00ce fix: property issues 2024-01-11 02:04:07 +08:00
Tienson Qin 4236ade600 fix: whiteboard issues 2024-01-11 01:38:06 +08:00
Gabriel Horner 3f3cf8b17f enhance: migrate imported config to be valid
Also improves import ux as Invalid config notification no longer blocks
import progress
2024-01-10 12:19:42 -05:00
Tienson Qin a550090249 Remove assert 2024-01-11 01:02:13 +08:00
Tienson Qin baefeaad5b fix: use page-handler/<create! if possible 2024-01-11 00:54:19 +08:00
Gabriel Horner e64810087c fix: assets shoudn't create :file/path entities
file and db graphs don't create :file/path entities for asset files.
Import shouldn't be doing this. Part of LOG-2990
2024-01-10 11:02:25 -05:00
Tienson Qin 7600a53929 Clean setTimeout 2024-01-10 23:52:47 +08:00
Tienson Qin 8533a974f1 fix: batch tx 2024-01-10 23:40:33 +08:00
Tienson Qin b50145be4e Simply editor save logic
Triggers save-current-block! on-blur instead of relying on react
lifecycle.
2024-01-10 23:05:48 +08:00
Gabriel Horner 0d4b46be71 fix: remove deleted :block/unknown schema
:block/unknown was a side effect of the last storage approach
2024-01-10 09:20:50 -05: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
Bad3r bf7f6dc28d enhance: doc 2024-01-10 18:44:33 +08:00
Tienson Qin 9dba6d870b Updated doc to connect to worker 2024-01-10 17:39:42 +08:00
rcmerci 4fd285743d doc: how to connect to web-worker repl 2024-01-10 17:29:45 +08:00
Tienson Qin b4757dad0e enhance: get worker runtime id automatically 2024-01-10 17:29:11 +08:00
Tienson Qin ec39bf0628 Add worker-repl fn 2024-01-10 17:23:38 +08:00
Tienson Qin 9ee04feeb5 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-10 16:13:56 +08:00
Tienson Qin a503d451da fix: unit tests 2024-01-10 15:42:16 +08:00
Tienson Qin 271f34838a fix: page property test 2024-01-10 05:29:52 +08:00
Tienson Qin 81b2d22469 fix: create default pages for test db 2024-01-10 05:19:53 +08:00
Tienson Qin d09a0d0b80 fix: page rename test 2024-01-10 05:13:33 +08:00
Gabriel Horner 3cb980bf91 fix: invalid pages and whiteboard pages from import
- some pages are missing block/journal? and block/original-name
- removed another file graph only attribute
- fixed whiteboard block schema missing :block/path-refs
- pulled out importing block to its own fn

Part of LOG-2990
2024-01-09 16:03:49 -05:00
Tienson Qin 16f8beefaf fix: model and page ref test 2024-01-10 04:47:18 +08:00
Tienson Qin 31eb6c9c5a fix: rtc tests 2024-01-10 04:32:45 +08:00
Tienson Qin 2d245295a7 fix: outliner core tests 2024-01-10 04:15:09 +08:00
Gabriel Horner e1ad1fd9c8 fix: invalid blocks in import created by tags and refs
Also make :block/format valid. Part of LOG-2990
2024-01-09 13:43:00 -05:00
Gabriel Horner e715881a4f fix: macro blocks and remove file-graph only attributes for import
Also disable properties until it's ready. Part of LOG-2990
2024-01-09 12:48:27 -05:00
Tienson Qin eb6e5942f8 fix: lint warnings 2024-01-10 01:34:15 +08:00
Tienson Qin 22d3a82412 fix lint 2024-01-10 01:01:50 +08:00
Tienson Qin 7f0747ca9f start fix lint warnings and tests 2024-01-10 01:00:17 +08:00