Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
6f0885b374 fix: importing a class via :parent that is then used
in :type property fails
2024-11-22 15:01:08 -05:00
Gabriel Horner
b5203fa4d3 fix: db-import of property-classes option fails on docs graph
Fixed by ensuring that tag names and namespace names don't conflict
when making class idents. The specific bug was a conflict between
Tool class and Whiteboard/Tool. Interestingly the bug didn't appear
if the Tool's description property wasn't present.

Also fixed some importer tests not parsing namespaces correctly
or taking :verbose option
2024-11-19 16:43:23 -05:00
Gabriel Horner
90d1b7261f fix: import bug with aliased namespace pages
Was also failing docs graph. Part of logseq/db-test#136 and part of
LOG-3230
2024-10-18 11:54:39 -04:00
Gabriel Horner
28457cd02b enhance: import namespaces to db graph
Working for basic graph but failing on edge case for docs graph.
Part of logseq/db-test#136 and part of LOG-3230
2024-10-18 08:24:45 -04:00
Gabriel Horner
bc4f121572 enhance: add import support for linked ref filters
Fixes LOG-3201. Also refactor and fix page-names-to-uuids to include
all existing user page names, not just ones from current file
2024-10-09 14:54:46 -04:00
Gabriel Horner
27c5d120ef fix: import fails hard on page names with '#'
Follow up to c3f0cc1953
2024-09-19 14:57:18 -04:00
Gabriel Horner
55ce311173 fix: type page failing for docs graph
Looks like the introduction of :logseq.property.view/type
triggered a bug with new pages having the same name as a built-in
and having a page property. This is a followup fix to LOG-3039
2024-09-18 16:26:56 -04:00
Gabriel Horner
4a69e75e88 fix: import doesn't fail if it has a page with new class name
fixes LOG-3039
2024-08-08 15:16:21 -04:00
Gabriel Horner
3411f344e3 fix: db import with property-parent-classes option
Also fixes some bugs with docs graph having classes split into more than
one db/ident. Part of LOG-3176
2024-07-24 14:55:06 -04:00
Gabriel Horner
879e07b2f4 fix: db import of aliases
Also ignore :filters for now so they don't make graphs invalid and
add more tests for tags. Part of LOG-3176
2024-07-11 23:13:08 -04:00
Gabriel Horner
7ce983df24 refactor: move ignored properties page to its own test
Moved it to ignored/ so that frontend import of test-exporter-graph isn't
always displaying warnings. Part of LOG-3092
2024-07-10 15:05:38 -04:00
Gabriel Horner
13048a901c chore: add more property tests for db import
Part of LOG-3092
2024-07-08 15:59:33 -04:00
Gabriel Horner
057d6b459f fix: :url property values with macros
Macros in :url are useful for having urls with a common hostname that
can be configured once. Without this fix, docs graph is invalid
2024-07-08 13:34:28 -04:00
Gabriel Horner
8008ae4a76 fix: db import of tagged pages and blocks
using :property-classes option. Part of LOG-3176
2024-07-06 17:13:44 -04:00
Tienson Qin
31305e1904 Merge branch 'feat/db' into feat/tables 2024-07-04 14:48:55 +08:00
Gabriel Horner
e268f2a719 chore: add test for db import of icon
part of LOG-3092
2024-07-03 17:08:02 -04:00
Gabriel Horner
96b6763d22 fix: db import of pre-block children
Caused by :block/name no longer being unique. Also created helper
for common lookup of page-names-to-uuids. Part of LOG-3176
2024-07-03 16:37:33 -04:00
Gabriel Horner
4fb25ff269 fix: incorrect properties warning for empty pages in db import
Also remove unused macros and tweaked test assertions from last import
commit
2024-07-03 12:48:10 -04:00
Gabriel Horner
f0ecf03c4a fix: db import of tagged page with pageTags
Part of LOG-3176
2024-07-02 16:50:00 -04:00
Gabriel Horner
d4f691f54c fix: db import of page properties
For new and existing pages. Part of LOG-3176
2024-07-02 20:17:02 +08:00
Gabriel Horner
71b1586df6 fix: db import of page properties
For new and existing pages. Part of LOG-3176
2024-07-01 12:35:07 -04:00