Tienson Qin
4169f20a28
Merge branch 'feat/db' into perf/app-start
2025-04-07 20:06:45 +08:00
Gabriel Horner
f4c5e6b0bb
Add time assertion on largest test import to prevent regression
2025-04-04 08:34:31 -04:00
Gabriel Horner
26cbd74cd1
enhance(perf): speed up db graph importer for larger graphs
...
Use atom cache based on tx instead of full db lookup to create
all-existing-page-uuids
2025-04-04 08:34:31 -04:00
Gabriel Horner
a3dfa00ccf
chore: Add optional verbose test runner for graph-parser dep
2025-04-02 12:12:31 -04:00
Tienson Qin
1aca680ae4
Merge branch 'feat/db' into perf/app-start
2025-03-31 21:53:37 +08:00
Tienson Qin
4c54427640
move graph view data handler to deps/db
2025-03-31 19:38:02 +08:00
Gabriel Horner
fecb42f49d
fix(dev): deps scripts not handling relative and absolute paths for graphs
...
transact and create didn't handle relative paths. All scripts except
import didn't handle absolute paths
2025-03-17 11:09:44 -04:00
Gabriel Horner
99c89ec3be
chore: bump nbb-logseq to include tc/to-date
2025-03-10 15:32:29 -04:00
Tienson Qin
22743b4952
Merge branch 'feat/db' into feat/text-template
2025-03-08 07:03:02 +08:00
Gabriel Horner
7917afaa45
chore: update nbb scripts to be repl friendly
...
With https://github.com/babashka/nbb/issues/95 done, this allows
all nbb script namespaces to required or used from a repl
2025-03-07 11:49:28 -05:00
Tienson Qin
1aeef85e4a
feat: /template command
2025-03-02 15:23:13 +08:00
Gabriel Horner
0fc8af5686
refactor: remove db-graph behavior from file-graph gp-extract
...
Makes importer easier to maintain as there's less confusion with unused
checks in gp-extract
2025-02-27 11:20:24 -05:00
Tienson Qin
d11bdc44d9
fix: File graphs repeatedly add collapsed properties
2025-02-24 17:20:44 +08:00
Gabriel Horner
05037c456e
Merge branch 'feat/db' into enhance/reference-view
2025-02-21 15:33:40 -05:00
Tienson Qin
2346df237c
fix(regression): Query tables look smushed together
...
fixes LOG-3220
2025-02-20 22:05:10 +08:00
Tienson Qin
20d483fa30
Merge branch 'feat/db' into enhance/reference-view
2025-02-20 17:39:46 +08:00
Gabriel Horner
73cff9db44
chore: mv file-specific vars in db dep
...
to their own file-based.* namespaces. logseq.db.frontend
can now be linted
2025-02-19 16:29:26 -05:00
Gabriel Horner
18db6b1937
chore: mv db namespaces common to both graphs to logseq.db.common
2025-02-19 16:29:26 -05:00
Gabriel Horner
753abd2732
fix: importer failing when property-pages/* config present
...
Fixes https://github.com/logseq/db-test/issues/220 . Also removed
unused :extract-refs-from-property-value-fn
2025-02-19 10:03:53 -05:00
Gabriel Horner
f597f7c9c0
chore: mv handler.common.file to file-based
...
now that this ns is only used by file graph namespaces.
This is important as it then makes explicit that another 500+ lines
in the graph-parser are file-graph specific. Also added docs to most
graph-parser namespaces to make explicit which are file-graph specific
and not
2025-02-17 14:02:49 -05:00
Gabriel Horner
a4aacf022d
chore: use medley/dissoc-in instead of copied version
...
Can rely on medley as it is nbb compatible
2025-02-13 17:50:20 -05:00
Gabriel Horner
8550b48f17
enhance(dev): add test helper for ent properties
...
Was using them across namespaces and they were needlessly different
2025-01-28 16:00:38 -05:00
Gabriel Horner
ef93609df0
enhance(dev): build EDN supports logseq idents for :build/tags
...
Also cleanup more more tests that have been simplified by recent test
helper improvement
2025-01-27 17:03:26 -05:00
Gabriel Horner
63184bc3cc
fix: lint and test broken by previous commit
2025-01-27 16:28:51 -05:00
Gabriel Horner
57b4376425
enhance(dev): test helper returns entity
...
instead of harder to inspect and use d/q results
2025-01-27 15:48:12 -05:00
Gabriel Horner
9b223be0a8
enhance(dev): add util for logseq class idents
2025-01-27 14:28:44 -05:00
Tienson Qin
926d05c185
feat: table columns pinning ( #11693 )
...
* Add property :logseq.property.table/pinned-columns
* feat: table column pinning
* enhance: hide :id column by default
---------
Co-authored-by: charlie <xyhp915@qq.com >
2025-01-24 11:17:09 +08:00
Gabriel Horner
6c58af2605
enhance(dev): importing cli debug option prints all tx
...
related to a failing path. Helpfully provides more context
and also doesn't misleadingly print tx when it's not related to an
import failure with another path
2025-01-23 16:15:53 -05:00
Gabriel Horner
88d74cb71f
fix: importing namespaced tags with spaces
...
Fixes https://github.com/logseq/db-test/issues/210 . Also fix invalid
EDN class db-ident related to this
2025-01-23 14:21:26 -05:00
Gabriel Horner
9ca0ca1523
chore: cleanup schema mapping spread across the app
...
Now that schema is no longer a persisted concept there is no need
to spread built-in-properties keyword mappings across the app.
Doing so makes built-in-properties more rigid as it would be
needlessly coupled to the frontend, exporter and migrations.
With this cleanup it'll be easy to deprecate :schema from
built-in-properties when we need to
2025-01-21 12:57:51 -05:00
Gabriel Horner
878f0f869b
fix: logseq.property/value isn't a schema property
...
Was mistakenly put in because it started with 'property' previously.
Also cleaned up get-property-schema since it overlaps with
schema-properties and removed an unnecessary use of get-property-schema
2025-01-21 09:53:34 -05:00
Gabriel Horner
0181a332ab
Merge branch 'feat/db' into refactor/block-schema
2025-01-17 15:50:50 -05:00
Gabriel Horner
3a62177082
chore: rename public property to publishing-public?
...
Since #11673 will provide a lower level public? property,
made sense to rename to avoid confusion between public and public?.
Also start deprecating :name config in built-in-properties as it
is barely used and is somewhat confusing
2025-01-17 15:29:20 -05:00
Gabriel Horner
961f6ec241
fix: tests and incorrect schema property detection after rename
2025-01-16 16:41:55 -05:00
Tienson Qin
20fad17f5d
Merge branch 'feat/db' into refactor/block-schema
2025-01-16 01:01:06 +08:00
Tienson Qin
a7e9d073cd
chore: rename :property/* to :logseq.property/*
2025-01-15 14:59:08 +08:00
Gabriel Horner
04aa88b43e
fix: importer fails when misconfigure journal ref is a property value
...
Fixes failure Ramses graph is seeing. Also fix typo in test graph
causing blank journal ref
2025-01-14 11:58:37 -05:00
Gabriel Horner
2a4f49e541
enhance: importer can import :logseq.task/scheduled
...
Follow up to #11654 . Fixes
https://test.logseq.com/#/page/677d36f0-5d8f-4b82-85ad-486d81a46e7e
2025-01-14 08:43:21 -05:00
Tienson Qin
f05cb555fe
Merge branch 'feat/db' into refactor/block-schema
2025-01-14 15:43:39 +08:00
rcmerci
3e025dd311
enhance: add created-by prop to blocks
2025-01-14 14:57:33 +08:00
Tienson Qin
2e12918d5c
Merge branch 'feat/db' into refactor/block-schema
2025-01-14 14:17:24 +08:00
Gabriel Horner
63eaacdbe1
enhance(dev): import cli and tests print original error's ex-data
2025-01-13 13:27:39 -05:00
Gabriel Horner
1ab621069d
enhance: importer displays one notification about ignored files
...
rather than one notification per file. Also ignore pdf highlight pages
as user graphs shouldn't fail hard on features that aren't imported yet.
This allowed the user graph in
https://github.com/logseq/db-test/issues/191 to import without errors
2025-01-13 11:44:02 -05:00
Tienson Qin
93a7034249
Remove more cases of :block/schema
2025-01-13 10:00:00 +08:00
Tienson Qin
e318e0d6c1
Merge branch 'feat/db' into refactor/block-schema
2025-01-12 16:48:19 +08:00
Gabriel Horner
0cffd64d44
fix: importer failing hard on page ref when
...
page name has same name as a task. Importer failed because of invalid
refs coming from gp-block/with-page-refs-and-tags which were caused
by get-first-page-by-title returning blocks. In 4f368d5c79 ,
get-first-page-by-title started returning blocks instead of only pages
so this was undone. Fixes part of logseq/db-test#191
2025-01-10 16:41:25 -05:00
Gabriel Horner
2782eea315
enhance(dev): CLI import prints last tx
...
since most import failures are due to a failing tx
2025-01-10 15:22:37 -05:00
Gabriel Horner
b8c569f1c4
fix: importer failing and invalid on two page to class conversion cases
...
Failed for edge case when page converts to class via -p or -P. Page to
class conversions sometimes resulted in invalid :block/tags. Also
cleaned up last of class or page tx that were embedded in db attributes
2025-01-09 20:57:40 -05:00
Gabriel Horner
697147540f
fix: importer fails to find classes with property-parent-classes option
...
when on pages that have the same name as a built-in
2025-01-09 14:51:24 -05:00
Gabriel Horner
cadb00279c
fix: exporter :datetime tests failing locally
...
caused by e522c73fe2
2025-01-07 17:11:51 -05:00