* 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>
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)
* fix: linked references
* Using datascript query for linked references
* don't render blocks children that have excluded refs
* fix: set persistent width for reference filter
* fix: duplicated refs
* fix: separate queries for children refs and non-children refs
* refactor: move reference fns to logseq.db.common.reference
* fix: set matched children ids even if it's empty
* add tests
* add unlinked reference test
* add transit files to typos ignore
* don't memoize on node
* add comment
* fix: rtc creates duplicated first blocks for new journal pages
The root cause is that those blocks from different clients have
different ids. Instead of using persistent block id, this fix avoids
generating the first block until users really start editing it.
* fix: add button not displayed when the last block is not empty
* fix: e2e tests
* enhance: remove dummy block
* fix: open-last-block
In https://github.com/logseq/db-test/issues/278, user has graph that
contains invalid edn keyword caused by name part of keyword starting
with a number e.g. :user.property/2ndsomething. Added thorough tests
based on reference doc for both nbb and cljs versions of buggy fn. For
cljs version, allowed a few more special characters in as they've
all been confirmed to be valid edn
commit 0df1208ae6
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Sun Apr 20 19:32:24 2025 +0800
fix: remove d/store calls
There's a bug with `d/store`: it doesn't clear `tx-tail` in the conn atom.
commit 7d436cf5eb
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Sun Apr 20 18:03:23 2025 +0800
chore: bump datascript
commit 878331c53e
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Sun Apr 20 12:30:11 2025 +0800
fix: block title inline
commit 2a8461b41a
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Sun Apr 20 12:17:16 2025 +0800
fix: no way to edit the query as the settings icon doesn't show up
commit f843df9482
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Apr 18 23:41:29 2025 +0800
fix: empty data not trigger query view re-render
commit 6042c8b112
Author: Gabriel Horner <gabriel@logseq.com>
Date: Fri Apr 18 09:44:27 2025 -0400
refactor: keep testing concerns in tests
Move testing requirement to relevant test to make production code easier
to maintain. Where possible we should avoid helpers like util/node-test? as
they couple testing concerns with production code
commit c9177abc9a
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Apr 18 15:20:22 2025 +0800
fix: tests
commit b7c45f881c
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Apr 18 13:19:37 2025 +0800
fix: don't show query builder for non-query blocks
commit 46bdd1a366
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Apr 18 13:17:07 2025 +0800
enhance: set query title && code
commit abf90fbb7d
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Apr 18 11:47:26 2025 +0800
fix: queries don't automatically update
Fix https://github.com/logseq/db-test/issues/237
This commit also updates custom queries to only fetch :db/id to
improve performance.
commit aa45b3fa6c
Author: Gabriel Horner <gabriel@logseq.com>
Date: Fri Apr 18 14:31:00 2025 -0400
fix(regression): paths of file graph exports
markdown + opml exports had zipped files several
directories deep because they used the full path of the graph
commit 63403bd8c5
Author: Gabriel Horner <gabriel@logseq.com>
Date: Fri Apr 18 12:32:51 2025 -0400
fix: remove unused workarounds from #11774
Previous commit fixed these issues
commit 4ad4944b4e
Author: Gabriel Horner <gabriel@logseq.com>
Date: Fri Apr 18 12:29:06 2025 -0400
fix: for file graphs, tags with blank space in the namespace parent
creates entities with nil :block/title to be created. This
created unexpected bugs in the UI e.g. all pages and
caused duplicate content to appear.
Example from test graph: 'tags:: [[Some / Namespace ]]'
Fixes
https://test.logseq.com/#/page/68017fb5-7b9c-448a-9f64-6bb8d8669396