Tienson Qin
fa7cd07192
fix: :and ref query should return nodes that having at least one ref ( #12085 )
...
This commit also adds a new :self-ref rule.
`[[page]]` will uses :self-ref,
`(or [[page1]] [[page2]])` will be `(or [:self-ref page1] [:self-ref
page2]`.
`(and [[page1]] [[page2]])` will be `(and [:page-ref page1] [:page-ref
page2] (or [:self-ref page1] [:self-ref page2]))` to ensure the query
result nodes to have at least one page reference.
2025-09-04 17:08:03 +08:00
Gabriel Horner
f93f889f8a
chore: bump to latest nbb w/ datascript update
2025-09-03 10:00:45 -04:00
Tienson Qin
6c3e3c344d
fix: don't show matched children blocks in view results
2025-09-03 21:22:59 +08:00
Tienson Qin
248d8c33f2
refactor: remove block/path-refs ( #12081 )
...
1. refactor: use :block/refs and has-ref rule instead of path-refs
2. remove block/path-refs
3. removes :block-parent rule since there's already :parent
4. enhance: skip pipeline calculation for rtc initial download tx
5. refactor(rtc): remove memoize
---------
Co-authored-by: rcmerci <rcmerci@gmail.com >
2025-09-03 20:33:33 +08:00
Tienson Qin
77722216d6
fix: smooth sticky header
2025-09-03 19:31:32 +08:00
Tienson Qin
8a862b7a0d
fix: buggy sticky header when there're multiple tables
2025-09-03 18:06:31 +08:00
Gabriel Horner
a81274cd0d
fix: import quoted math blocks
...
and lists in quote blocks. Addresses main issue in https://github.com/logseq/db-test/issues/434
2025-09-02 13:52:32 -04:00
Gabriel Horner
6ed338b96a
fix(regression): journal refs not being built for user :datetime properties
...
Regression accidentally introduced in da73a6c48e
2025-09-02 11:20:41 -04:00
Tienson Qin
2aee658547
perf: add weak references to reduce memory usage ( #12082 )
...
* chore: bump datascript
2025-09-02 19:25:52 +08:00
Tienson Qin
abe03fdaca
refactor: use webpack only for workers
2025-09-01 10:27:34 +08:00
rcmerci
ceb1603a11
update logseq/datascript
2025-08-28 22:46:26 +08:00
rcmerci
9ac33d60c3
refactor: update review.md, update date_time.cljs
2025-08-28 17:58:09 +08:00
rcmerci
d05be857f0
refactor: avoid redundant computation on db-rebuild-block-refs
2025-08-28 17:58:09 +08:00
Gabriel Horner
8ea1edd9e5
fix(cli): Unexpected errors should exit 1
2025-08-27 15:06:41 -04:00
Tienson Qin
d7ef292718
fix: tests
2025-08-27 21:58:14 +08:00
Tienson Qin
284edf5d70
fix: can't toggle collapse page
2025-08-27 21:47:13 +08:00
Tienson Qin
61b862d88a
fix: remove inline page tags when saving or inserting blocks
...
Page tags here means db-class/page-classes.
2025-08-27 13:47:27 +08:00
Gabriel Horner
a8e2b173ce
fix(api): unexpected failures in api should 500
...
Previously we were getting 200s which makes handling more complicated
(check status and async response) and was already resulting in buggy
error handling
2025-08-26 15:19:32 -04:00
Gabriel Horner
bf68783348
enhance: add append improvements based on feedback
...
* For append api call, default to today if app is not in a page context
* API relate commands can auth w/ env var
2025-08-26 11:49:02 -04:00
Gabriel Horner
58270ff934
enhance: add append command
...
Fixes https://test.logseq.com/#/page/689ca670-d93f-4fe0-a262-029d95f8450f
2025-08-26 11:27:34 -04:00
Gabriel Horner
4b5a16628a
enhance: add in-depth usage descriptions to more complex commands
2025-08-26 11:27:34 -04:00
Gabriel Horner
610e77bb90
fix: rename api-query-token options to api-server-token
...
api-query-token doesn't make sense as a name as it the token isn't
specific to query. This was an accidental name while working on query
cmd
2025-08-26 11:27:34 -04:00
Gabriel Horner
c0bee994c1
enhance: print usage for required arg errors
2025-08-26 11:27:34 -04:00
Gabriel Horner
ffaccbb33e
enhance: export command can save to file option
...
Also update export-edn command to have same default behavior as
export command. Printing to stdout was ok for dev but is surprising and
possibly overwhelming for most graphs
2025-08-26 11:27:34 -04:00
Gabriel Horner
13d7709b34
chore: dry up usage of same fn across 3 namespaces
2025-08-26 11:27:34 -04:00
Gabriel Horner
0722097df1
enhance: export cmd reuses existing namespaces
2025-08-26 11:27:34 -04:00
Gabriel Horner
6a84e56984
enhance: working spike for export md command
...
export namespaces aren't reused yet. Fixed bug w/ get-block-and-children
not invoking correctly in nbb. Bumped all deps to use latest nbb-logseq
2025-08-26 11:27:34 -04:00
Gabriel Horner
a81ca147f6
fix: db lint
2025-08-26 10:57:27 -04:00
rcmerci
92ed692151
enhance: remove usages of macro get-all-defined-kw->config
2025-08-26 21:15:23 +08:00
rcmerci
c385f361af
Revert "fix: fix property definitions"
...
This reverts commit 28b958ff7c .
2025-08-26 21:15:23 +08:00
Tienson Qin
bb1a502806
fix: click on indentation line to unfold nodes not working
...
related to https://github.com/logseq/db-test/issues/423
2025-08-26 21:04:09 +08:00
Tienson Qin
be2977dd40
fix: t o to toggle open all blocks
...
related to https://github.com/logseq/db-test/issues/423
2025-08-26 20:31:08 +08:00
rcmerci
28b958ff7c
fix: fix property definitions
...
defkeywords is macro, property-ignore-rtc won't be evaled when compiling
2025-08-26 16:32:52 +08:00
Tienson Qin
6107d75222
fix: ensure page/create returns existing page uuid
2025-08-26 10:55:46 +08:00
Tienson Qin
3baff22123
fix: node created from tables can't be converted to Page
...
related to https://github.com/logseq/db-test/issues/428
2025-08-26 09:29:46 +08:00
Tienson Qin
4b680bb737
fix: datetime values not shown if their journal pages not exist
2025-08-25 21:40:50 +08:00
Tienson Qin
0696a556d9
fix: page refs not saved in quick capture
2025-08-25 20:49:48 +08:00
Tienson Qin
063aec02a7
fix: can't create page with the same name if namespace page exists
...
fixes https://github.com/logseq/db-test/issues/429
2025-08-25 14:56:05 +08:00
Tienson Qin
77c7412271
fix: references not calculated right
...
related to https://github.com/logseq/db-test/issues/436#issuecomment-3217902953
2025-08-25 12:49:56 +08:00
Tienson Qin
b2034753aa
fix: sort pages by backlinks count
...
fixed https://github.com/logseq/db-test/issues/441
2025-08-24 13:36:49 +08:00
Tienson Qin
79000a0c0d
chore: use ex-message instead of .-message to deal with cljs errors
2025-08-20 20:25:17 +08:00
Tienson Qin
9e06eeae03
fix: wrong catch place
2025-08-20 20:05:38 +08:00
Tienson Qin
abbc302626
fix: disallow block move if target doesn't have a parent
...
other cases:
1. moving non-page block to Library
2. move a page to be child of a block
2025-08-20 19:55:59 +08:00
charlie
c2d4b200dd
fix(mobile): incorrect animation for the stack depth sheet
2025-08-15 16:31:21 +08:00
Tienson Qin
36de5397e1
feat: sort groups for views ( #12046 )
...
* Add two properties for groups sorting
1. :logseq.property.table/sort-groups-by
2. :logseq.property.table/sort-groups-desc?
* Add ui for groups sort by and order
* enhance: sort by journal day desc by default
* rename to :*.view/sort-groups-by-property to make it clear that
property type is :property.
* suggested by copilot
* fix: name
* Group by Page instead of "Block Page"
2025-08-14 13:24:51 +08:00
Gabriel Horner
50325ff7f6
enhancement: add offline CLI search and predefined query
...
to address https://github.com/logseq/logseq/pull/12000#issuecomment-3177406045 .
Also bump version for initial release
2025-08-14 13:24:50 +08:00
Tienson Qin
3faee9cc7e
fix: stale embedding check ( #12049 )
...
* fix: slow stale embedding check
* fix: mark all blocks for embedding when full embedding
Also, store hnsw index for each batch so that embedding can continue
when aborted by switching graph or closing the app.
* remove embedding/re-embedding-graph-data!
* enhance: mod+c mod+s to rebuild both keyword and semantic search
2025-08-14 13:24:50 +08:00
charlie
aecff1e18f
Merge branch 'master' into enhance/mobile-silk
2025-08-12 10:40:30 +08:00
Gabriel Horner
7c610cfd51
chore: bump cli alpha release
2025-08-11 17:14:50 -04:00
Gabriel Horner
35c2952f6b
fix: commands with required arguments
...
failing w/ confusing stacktraces. Also exit correctly when a nonexistent
graph is given
2025-08-11 17:05:39 -04:00