Commit Graph

1926 Commits

Author SHA1 Message Date
Tienson Qin
d3b2f99b2e fix(regression): table properties are not displayed for file graphs
fixes https://github.com/logseq/db-test/issues/265
2025-05-02 10:54:47 +08:00
Gabriel Horner
539d79fd3f fix: view filtering doesn't work for 3 property types
For :default, :number and :url, we were filtering by the entity uuid,
not entity content, so only the first entity was matched.
Fixes
https://github.com/logseq/db-test/issues/264#issuecomment-2840535527
2025-04-30 10:49:15 -04:00
Gabriel Horner
faf872ec47 fix: default values of property don't load
Couldn't see a user's property default value. Also caused visible bug
with deadline popup
Fixes
https://test.logseq.com/#/page/68112b33-17bb-4fb2-876e-48380afdb7b1
2025-04-29 16:00:52 -04:00
Gabriel Horner
0840d05d6a fix: title when grouping by empty property value 2025-04-29 12:10:03 -04:00
Gabriel Horner
846e4bf305 fix: grouping by readable property values like :default type
Fixes https://github.com/logseq/db-test/issues/264
2025-04-29 12:05:31 -04:00
Tienson Qin
8a1d90f129 fix: load whiteboards for file graphs 2025-04-29 17:49:37 +08:00
Gabriel Horner
d3b7289b20 refactor: split logseq.db.common.sqlite into 2 namespaces
The majority of this ns is focused on graph initilization and
entity lazy loading so split this out to new ns,
logseq.db.common.initial-data. Originally
initialization was tied to sqlite util fns but it has not made
sense for awhile to think of them as sqlite util fns
2025-04-28 12:55:16 -04:00
Gabriel Horner
f4bbdbd0d2 fix: loading bug introduced by refactor 2025-04-28 11:42:23 -04:00
Gabriel Horner
691b8866ef refactor: mv another common ns out of db dir
Allows for more improved separate linting
2025-04-28 11:27:49 -04:00
Gabriel Horner
6a635ecb49 refactor: mv common ns out of db ns
Also move common and file fns out of db ns. Cleanup allows
for better separation linting
2025-04-28 10:37:13 -04:00
Tienson Qin
aa427dd4b8 fix: some blocks are missing on favorites when app starts 2025-04-26 20:38:02 +08:00
Tienson Qin
bec0dc7c30 Revert "chore: debug"
This reverts commit a6fb2bb4e5.
2025-04-24 23:51:19 +08:00
Tienson Qin
27d93663f3 fix: allow pages to be appears in unlinked refs 2025-04-24 23:20:51 +08:00
Tienson Qin
a6fb2bb4e5 chore: debug 2025-04-24 23:10:21 +08:00
Gabriel Horner
e0cb4e786f chore: bump nbb-logseq with datascript changes 2025-04-24 10:38:04 -04:00
Tienson Qin
118c8c59b6 fix: remove table rows scrollbar
It happended because there're multiple rows share the same react key.
2025-04-24 20:48:58 +08:00
Tienson Qin
e78b1afa76 fix: include proprety values when loading page entity 2025-04-24 18:43:31 +08:00
Tienson Qin
85479ad337 fix: delete empty page error 2025-04-23 10:30:06 +08:00
Gabriel Horner
8cb5fecb91 fix: user can't reverse a class parent decision
Class parent defaults to Root but user can't select it later. This
should be reversible, especially given how much functionality this
affects. Fixes #256
2025-04-22 09:50:51 -04:00
Tienson Qin
7f9517c7d8 fix: (rseq nil) throws error 2025-04-22 19:02:28 +08:00
Tienson Qin
c6560231d3 fix: cardinality one property get multiple values in db
The bug was introduced by 3a41bbcdbe
2025-04-22 18:59:37 +08:00
Tienson Qin
18c0762f6e chore: bump datascript 2025-04-22 16:29:27 +08:00
Tienson Qin
be66b5e6c0 chore: bump datascript 2025-04-22 09:56:45 +08:00
Tienson Qin
7d436cf5eb chore: bump datascript 2025-04-20 18:03:23 +08:00
Gabriel Horner
63403bd8c5 fix: remove unused workarounds from #11774
Previous commit fixed these issues
2025-04-18 12:33:51 -04:00
Tienson Qin
a70372ac88 enhance: unify page and block references 2025-04-18 10:24:09 +08:00
Tienson Qin
cb66a5ad7f fix: check and fix db schema 2025-04-17 20:26:40 +08:00
Gabriel Horner
2f4b40aa22 fix: property value blocks failing export+import
Property value blocks that were referenced elsewhere failed to export.
Property value blocks with ref-able properties are not supported yet
and failed import.
Fixes
https://test.logseq.com/#/page/67fe80a2-e7b3-44ab-aaad-1f365c5b2541
2025-04-16 15:23:20 -04:00
Gabriel Horner
b78edc1b59 fix: :build/property-classes for built-in classes 2025-04-16 15:18:30 -04:00
Tienson Qin
a1504e4d9e fix: sort order for references 2025-04-16 18:06:41 +08:00
Tienson Qin
62514b74d8 perf: page filter and search 2025-04-16 15:18:20 +08:00
Tienson Qin
c2fc1ba35d chore: remove outdated code 2025-04-16 14:17:02 +08:00
Tienson Qin
34b33c1682 fix: debug transit export 2025-04-16 14:01:45 +08:00
Gabriel Horner
04a93f6613 chore: mv db or file graph specific ldb fns to
db or file graph namespaces. Follow up to
https://github.com/logseq/logseq/pull/11774#discussion_r2035354875 to
help avoid bugs that are hard to spot b/c of no organization
2025-04-15 22:45:16 -04:00
Tienson Qin
c6f3b0deb3 fix: group by page for list views 2025-04-15 23:36:40 +08:00
Tienson Qin
fc06cbc33c debug 2025-04-15 22:59:24 +08:00
Tienson Qin
86d2adc4f0 fix: perf 2025-04-15 12:21:35 +08:00
Tienson Qin
22ca116f8a fix: somehow some pages don't have :block/title 2025-04-14 23:56:31 +08:00
Tienson Qin
876a33e4d7 fix: page titles shown as (()) 2025-04-14 23:35:13 +08:00
Tienson Qin
ff32bc9925 fix: lint 2025-04-14 18:13:03 +08:00
Tienson Qin
c13b259a55 add comment 2025-04-14 17:36:07 +08:00
Tienson Qin
f4848f0c57 fix: linked references do not group blocks by page in file graphs 2025-04-14 12:55:47 +08:00
Tienson Qin
044f3eb80a fix: load property description for initial data 2025-04-14 09:18:10 +08:00
Gabriel Horner
9c0bfda2c6 fix: query for :datetime value through query builder 2025-04-11 11:40:12 -04:00
Gabriel Horner
cd5385a0c3 chore: mv graph view ns to frontend ns
Graph view is fairly tied to the frontend, has styling concerns in the
ns and doesn't have use cases outside the app. frontend.common is
the parent ns for frontend code to reuse across UI threads.
Didn't move db-view because there are use cases for generating view
entities outside the app and there's no styling related code in it
2025-04-11 09:30:14 -04:00
Tienson Qin
f5342c3192 Merge branch 'feat/db' into perf/app-start 2025-04-11 09:19:13 +08:00
Tienson Qin
74886f9fab enhance(ux): show block metadata when hovering on bullet 2025-04-11 09:11:06 +08:00
rcmerci
ff40821994 feat(rtc): add property :logseq.property/created-by-ref 2025-04-10 19:22:16 +08:00
Gabriel Horner
d3ec345441 chore: update restore test to test against something
asserting nothing isn't a useful test
2025-04-09 13:22:50 -04:00
Tienson Qin
3d238d22fc fix: load whiteboard data for file graphs 2025-04-09 20:39:33 +08:00