Commit Graph

20389 Commits

Author SHA1 Message Date
Gabriel Horner
e489cc283c fix: built-in pages could be turned into tags
Fixes https://github.com/logseq/db-test/issues/333.
Also added guards at handler level in case they are used elsewhere.
Made sure to couple them to outliner-validate as centralizing validation
is important if we want to have a consistent, bug-free approach
to updating entities
2025-06-20 12:53:23 -04:00
Tienson Qin
04aaa700af fix: disallow removing tag properties from tags 2025-06-19 23:43:23 +08:00
Tienson Qin
82e358953a perf: recycle dom nodes when folding references 2025-06-19 23:18:23 +08:00
Tienson Qin
f8488892f4 chore: remove image placeholder 2025-06-19 22:38:51 +08:00
Tienson Qin
119485fafb enhance(perf): reduce get-block calls when children have been loaded 2025-06-19 22:21:45 +08:00
Tienson Qin
b6c06b692a enhance(perf): reduce <get-block calls for children 2025-06-19 21:31:16 +08:00
Tienson Qin
7b5e545747 fix(regression): slow to scroll on 40k all pages 2025-06-19 20:05:43 +08:00
Tienson Qin
0047730991 enhance(perf): sort view data using datoms when possible 2025-06-19 19:26:09 +08:00
Tienson Qin
21a9b37ed0 enhance(perf): render references after table has been loaded
Also, use search index to check whether there're unlinked refs.
2025-06-19 18:37:02 +08:00
Tienson Qin
6c14572e9e perf: lazy render references 2025-06-19 16:37:48 +08:00
Tienson Qin
5d6f5ad8dd fix: a few bugs on sentry 2025-06-19 14:33:22 +08:00
Tienson Qin
477029d2ed fix(regression): assets referenced in blocks do not load correctly
on initial graph load

fixes https://test.logseq.com/#/page/6852fb42-bb45-486c-82cc-23ce9a4013d4
2025-06-19 14:11:52 +08:00
Tienson Qin
f2c96e0c0f chore: remove missing addresses check 2025-06-19 13:47:08 +08:00
Tienson Qin
e33e579c15 fix: use datascript db instead of sqlite kvs table for debug datoms 2025-06-19 13:35:30 +08:00
Tienson Qin
1e911808c4 fix: tests 2025-06-19 13:11:40 +08:00
Gabriel Horner
ca108e9ea6 fix: remove test and export support for tags
that doubled as properties. Follow up to
https://test.logseq.com/#/page/684af61f-7cf9-4680-a7da-e7f647332e0c
2025-06-18 15:52:53 -04:00
Gabriel Horner
4a6a3f8169 fix: schema not validating extends
Properties that are validated in a top-level schema need to be declared
in exceptions-to-block-properties. Also remove unused attribute for empty-placeholder
2025-06-18 15:26:14 -04:00
Gabriel Horner
8c6146a00d enhance: import markdown quotes
Went ahead and implemented ast block to string
as regex version of this would've been to buggy
2025-06-18 13:54:48 -04:00
Gabriel Horner
5b4f43d6f4 enhance: import quotes as #Quote
Can only support one quote per block so text around quotes
and multiple quotes aren't possible
Fixes https://github.com/logseq/db-test/issues/195
2025-06-18 13:54:48 -04:00
Tienson Qin
785e5b3203 fix: remove :block/order for tags 2025-06-19 00:58:48 +08:00
rcmerci
665a5a3725 test(e2e): add tag-basic-test, fix assert-non-editor-mode 2025-06-18 23:39:40 +08:00
Tienson Qin
170b0a9a81 fix: migrate for using properties as tags 2025-06-18 23:06:02 +08:00
Tienson Qin
f5d678b1ac fix: tests 2025-06-18 22:31:11 +08:00
Tienson Qin
9bb6842b1e fix: missing db/ident for inline tags 2025-06-18 21:57:57 +08:00
rcmerci
d6a96e825e fix: repo has wrong graph-schema-version in all-repos 2025-06-18 19:51:07 +08:00
rcmerci
e5a4417838 fix(rtc): missing create-by-ref 2025-06-18 19:49:42 +08:00
Tienson Qin
54a82f38cd fix: load all user datoms when opening a graph 2025-06-18 18:32:21 +08:00
Tienson Qin
f4f15c251a enhance(ux): set initial height for pictures 2025-06-18 17:26:16 +08:00
Tienson Qin
e09b8ca97e fix: task status in references are not loaded when rendering 2025-06-18 16:52:06 +08:00
Tienson Qin
3bdd46a898 enhance(ux): use yyyymmdd to search journals 2025-06-18 15:44:40 +08:00
Tienson Qin
e5a75db04d fix: tag properties migration 2025-06-18 14:28:46 +08:00
Tienson Qin
0158194815 fix: block/tags are not displayed on table view 2025-06-18 12:26:13 +08:00
rcmerci
706c859edb enhance: update remote-function 2025-06-18 11:02:56 +08:00
Tienson Qin
4bef3c68ba enhance: transfer bytes when sending data from worker to ui 2025-06-18 10:31:33 +08:00
Tienson Qin
018f954af1 enhance: export sqlite every 30 second and run VACUUM when gc 2025-06-18 09:36:03 +08:00
Tienson Qin
8611ecd4dc style tweaks 2025-06-18 08:49:05 +08:00
Tienson Qin
c209d577ce Merge pull request #11866 from logseq/refactor/page-parent
feat: Library
2025-06-18 08:32:46 +08:00
Tienson Qin
bd66ea1c4a Merge branch 'master' into refactor/page-parent 2025-06-18 08:31:50 +08:00
Tienson Qin
2663694717 enhance(ux): don't show child page properties on Library 2025-06-18 08:30:44 +08:00
Tienson Qin
53e0d1a4ca enhance: put library page name to config to make it easier to rename 2025-06-18 08:25:47 +08:00
rcmerci
2e1bbd8397 fix(rtc): keep online-users info when reuse same ws 2025-06-17 21:21:16 +08:00
Tienson Qin
37741d856e fix: align start node icon 2025-06-17 20:29:15 +08:00
Tienson Qin
a84b648fbf fix: block breadcrumb in cmdk results 2025-06-17 20:15:25 +08:00
Tienson Qin
51d0cf5207 fix: ordered list number on Library page 2025-06-17 19:59:33 +08:00
Tienson Qin
7b46076170 Merge branch 'master' into refactor/page-parent 2025-06-17 19:44:34 +08:00
Tienson Qin
3b718f70c8 enhance(ux): render blocks by their orders (#11948)
* enhance: render nested children when rendering its parent

except that for long pages (500+ blocks).

* refactor: rename :block.temp/fully-loaded? to :block.temp/load-status

* fix: tests

* enhance: define keyword :block.temp/load-status

* update to :self

* chore: remove buggy parent cycle detect

* enhance(ux): don't delay rendering block properties

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-06-17 19:41:13 +08:00
Gabriel Horner
ace71b2b25 enhance: asset import supports multiple assets
per block and preserves text around assets.
These were both enabled by moving asset blocks to Asset page
2025-06-17 19:36:05 +08:00
Gabriel Horner
501063e625 fix: importing assets for more complex blocks like paragraphs with links
Used extract-blocks to group ast blocks for each block instead of
previous buggy version. Also renamed bindings that were all confusingly
`block`
2025-06-17 19:36:05 +08:00
Gabriel Horner
f318d68530 enhance: import assets handles
unused assets by still copying them by name and handles
existing assets
2025-06-17 19:36:05 +08:00
Gabriel Horner
bb31c4e6f1 fix: importing assets in subdirectories
Also fix lint
2025-06-17 19:36:05 +08:00