1. When sorting properties, consider cases where values are nil or blocks/orders are identical.
2. If block/order are nil or duplicated in sorted-properties, recalculate and transact them
1. expose :json, :page, :string to plugins
2. api supports `schema` to allow authors configure property type and
cardinality
3. support multiple values
1. reuse old eids for block/uuid when apply-remote-ops
2. enhance: clear undo history when failed to validate db
Also, throw transact error from db worker
3. test(rtc): add timeout for wait-for cloud-idle
4. fix: rtc extra tests
5. enhance(test): retry new-block once when assert timeout
---------
Co-authored-by: rcmerci <rcmerci@gmail.com>
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.
* 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"
* 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
* enhance(ux): add/remove #Page to toggle page/block
* enhance(ux): "p t" to set tags for selected blocks
Updated "p a" to toggle displaying all properties including hidden ones.
* feat: cmd+k move blocks
* fix: block could be converted to page and create invalid nodes
Pages with block namespace parents is nonsensical and pages in
property values led to multiple validation errors. Also guard
against class and property pages as namespace parents
* fix: warn on failed cut+paste or indent/outdent of page blocks. Better to warn than silent failure which leaves user confused on
what happened.
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
* fix: page references with the same name in one block
* fix: empty :block/name for Library pages
* fix: invalid call to uuid-string?
trace suddenly showing up in multiple CLI calls
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com>