Commit Graph

1926 Commits

Author SHA1 Message Date
Tienson Qin
110f5b18e5 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-28 12:29:32 +08:00
Gabriel Horner
09e60ae296 fix: deleting last extends value doesn't revert to Root
Fixes https://github.com/logseq/db-test/issues/387
2025-07-24 10:50:33 -04:00
Tienson Qin
6a22385f0b replace uuid ref with block title when embedding 2025-07-23 20:54:29 +08:00
Tienson Qin
2c27aee09d use db/id for hnsw label
Because db/id is unique, auto-increment so that old ids are not re-used.
2025-07-21 20:14:14 +08:00
Tienson Qin
4b0cb79d0d fix: vector search 2025-07-16 04:33:05 +08:00
Tienson Qin
2d50ca5ce2 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-11 18:15:33 +08:00
Gabriel Horner
bb6ed709e5 refactor: use get-journal-page for finding a journal page
Only updated this in DB graph files since this is where they are
the most useful
2025-07-09 14:04:02 -04:00
Gabriel Horner
eabee3fe1c chore: mv db only fns to db ns
Also add related names to linter
2025-07-09 13:26:12 -04:00
Gabriel Horner
da7f9f1dcd fix: hiding #Task on mobile affects desktop
Don't hide #Task on desktop which is still useful.
Rather default mobile to hiding which has the added benefit
of handling other tags e.g. #Query.  Follow up to #11903
2025-07-08 12:11:43 -04:00
Tienson Qin
122b6b7a45 Merge branch 'master' into feat/capacitor-new 2025-07-07 16:20:19 +08:00
Tienson Qin
e259be0c51 feat: quick add (#11986)
* feat: quick add

* enhance(ux): auto open block for editing for quick add

* enhance(ux): show notification after quick add

* add migration for quick add page
2025-07-07 16:18:53 +08:00
Tienson Qin
d0c54bb2b6 fix: lint 2025-07-03 17:34:38 +08:00
Tienson Qin
d46e97fafe perf: linked references
1. don't use recursive rule `block-parent`
2. using `:block/path-ref` to get both parent and children
3. run `hidden-ref?` check for refs only (not path-refs)
2025-07-03 17:34:14 +08:00
Tienson Qin
38cdc875e0 perf: get-class-extends 2025-07-02 15:23:30 +08:00
Tienson Qin
18d607a27e fix: lint 2025-07-02 15:23:01 +08:00
Tienson Qin
d4b37189a0 perf: linked references
1. don't use recursive rule `block-parent`
2. using `:block/path-ref` to get both parent and children
3. run `hidden-ref?` check for refs only (not path-refs)
2025-07-02 15:23:01 +08:00
Tienson Qin
2023d87f8e perf: get-class-extends 2025-07-02 15:21:25 +08:00
Tienson Qin
a5c3dda958 fix: lint 2025-07-01 23:05:25 +08:00
Tienson Qin
d8a07234c1 perf: linked references
1. don't use recursive rule `block-parent`
2. using `:block/path-ref` to get both parent and children
3. run `hidden-ref?` check for refs only (not path-refs)
2025-07-01 22:50:19 +08:00
Tienson Qin
90a776edf1 enhance(ux): hide #Task by default on mobile 2025-07-01 08:54:35 +08:00
Tienson Qin
13305e3169 Merge branch 'master' into feat/capacitor-new 2025-07-01 08:06:47 +08:00
Tienson Qin
702255adea fix: don't create unnecessary linked/unlinked reference views 2025-06-29 15:43:35 +08:00
Gabriel Horner
a1967ef748 fix: db lint
also move class fn to db-class
2025-06-29 15:21:09 +08:00
Gabriel Horner
1ae6e5ceb5 fix: build doesn't fail if one extends
doesn't have a class-db id. Also fix export
which should always export extends unless it's the default
2025-06-29 15:21:09 +08:00
Gabriel Horner
268889d0b7 chore: rename sqlite.build :build/class-parent to :build/class-extends
Matches new property name and its arity. :build/class-parent deprecated
2025-06-29 15:21:09 +08:00
Tienson Qin
c07d8a6a6e fix: tests 2025-06-29 15:21:09 +08:00
Tienson Qin
ded9c8e517 fix: update :build/class-parent to multiple values 2025-06-29 15:21:09 +08:00
Tienson Qin
6902578358 add migration for tag extends 2025-06-29 15:21:09 +08:00
Tienson Qin
cc39c1c1fb refactor: extends support multiple tags 2025-06-29 15:21:09 +08:00
charlie
b6e3e98990 Merge branch 'master' into feat/capacitor-new 2025-06-28 11:06:25 +08:00
Tienson Qin
3cd604787f fix: remove block.temp/* attrs from vector tx-data 2025-06-27 22:30:35 +08:00
Gabriel Horner
32a29f5f3d enhance(dev): CLI can diff other export types 2025-06-26 17:02:14 -04:00
Gabriel Horner
16ac807894 enhance: import + sqlite.build supports classes and properties
from multiple namespaces
2025-06-26 16:57:39 -04:00
Gabriel Horner
0cb5c99502 enhance(dev): CLI can export other types e.g. graph-ontology 2025-06-26 12:12:50 -04:00
Tienson Qin
7037a84137 fix: failed to export EDN because default value property refed 2025-06-26 18:40:06 +08:00
charlie
593aca94c0 fix: lint 2025-06-26 17:15:38 +08:00
charlie
3a66ea8920 enhance(plugins): improve get db indent from the plugin caller 2025-06-26 17:15:38 +08:00
Tienson Qin
bbbb2f32a8 fix: delete default property values when deleting blocks
fixes
https://test.logseq.com/#/page/685c3794-3b3e-4909-9292-9c0cdf0d1d80
fixes
https://test.logseq.com/#/page/685c38a1-3e2d-4089-b34d-add09ef9a20f
fixes
https://test.logseq.com/#/page/685aad5f-67dc-48c8-9e7c-6505baaa9074
2025-06-26 13:20:42 +08:00
charlie
b68c305872 Merge branch 'master' into feat/capacitor-new 2025-06-26 09:55:02 +08:00
Gabriel Horner
0f3957ace8 fix: :block/alias not exported with :page export
Fixes https://github.com/logseq/db-test/issues/305
2025-06-25 15:08:16 -04:00
Tienson Qin
cb88d84a5e fix: dnd-kit sortable items require ids 2025-06-25 18:30:35 +08:00
charlie
08b824934c Merge branch 'master' into feat/capacitor-new 2025-06-25 14:06:52 +08:00
Tienson Qin
c770c91409 fix: url type validation
This commit also fixes the unknown error in db validations.

fixes https://github.com/logseq/db-test/issues/348
2025-06-24 12:25:07 +08:00
Tienson Qin
3c52bced5c Merge branch 'master' into feat/capacitor-new 2025-06-22 21:39:37 +08:00
Tienson Qin
b5f0a4d236 fix: building search index shouldn't blocked by one block
related to https://github.com/logseq/db-test/issues/332
2025-06-22 10:22:02 +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
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