Gabriel Horner
a21b05e5ff
fix: all built-in props must start with 'block' or 'logseq'
...
Our idents should stay in their existing namespaces to leverage
clojure's namespaces for future functionality. Also capitalized
all built-in queryable property names to be consistent
2024-11-07 16:32:53 -05:00
Gabriel Horner
cc2d6df37b
fix: query builder can query private built-in properties
...
like before
2024-11-07 11:40:03 -05:00
Gabriel Horner
3755175bcb
fix(regression): property/has-property rules return
...
properties and not internal attributes like :block/title and
:block/created-at
2024-11-07 10:51:26 -05:00
Gabriel Horner
22ce2b8905
fix: disable more built-in attributes that shouldn't be
...
accessible to users as they are implementation details that could change
2024-11-06 18:04:16 -05:00
Gabriel Horner
0fcbe9fe89
fix(dev): import script's user options
2024-11-06 15:22:45 -05:00
Gabriel Horner
643ff63a10
fix: 3 user options defaulting to #{""} values
...
which could have caused subtle bugs. Also cleaned up user-options so
future changes don't require making so many changes
2024-11-06 11:13:03 -05:00
charlie
d6354529a0
enhance(ux): auto calculate popup side position for default option
2024-11-06 16:46:20 +08:00
Tienson Qin
3391ab2076
Merge branch 'feat/db' into refactor/dsl-query
2024-11-06 12:20:51 +08:00
Tienson Qin
1519d035b5
fix: graph-parser tests
2024-11-06 11:43:15 +08:00
Tienson Qin
94773db6f3
refactor: replace hidden type with public false
2024-11-05 18:08:34 +08:00
Tienson Qin
3851367229
enhance: limit part of db attributes to be queryable
...
1. add title for all built-in properties
2. hide all built-in properties including public ones in the query builder
3. hide private built-in properties in mod+p
2024-11-05 17:48:56 +08:00
Gabriel Horner
a3fde2a9f4
enhance: add import option to remove-inline-tags
...
Part of LOG-3235. Now with the ability to import all tags, Some users
will want to keep inline tags
2024-11-04 17:27:00 -05:00
Tienson Qin
d8dd15f13c
fix: :logseq.property/order-list-type kept using existing values
...
It needs to be updated to closed values
2024-11-05 00:46:16 +08:00
Tienson Qin
a7b0e58c83
fix: tests
2024-11-05 00:46:16 +08:00
Tienson Qin
3a9bd3086c
fix: lint
2024-11-05 00:46:16 +08:00
Tienson Qin
3b25d8f47f
enhance: store url property value in :block/title
...
So that url can be written using the block editor.
2024-11-05 00:46:15 +08:00
Tienson Qin
0e65f04517
fix: always create a new block if :default property is not closed
2024-11-05 00:45:18 +08:00
Tienson Qin
3f232ce6c7
fix: :logseq.property/order-list-type kept using existing values
...
It needs to be updated to closed values
2024-11-05 00:23:40 +08:00
Tienson Qin
d0c7160118
fix: tests
2024-11-05 00:18:35 +08:00
Tienson Qin
be27e3e2d8
fix: lint
2024-11-04 23:15:35 +08:00
Tienson Qin
385b4937e1
enhance: store url property value in :block/title
...
So that url can be written using the block editor.
2024-11-04 23:11:48 +08:00
Tienson Qin
98967ecede
fix: always create a new block if :default property is not closed
2024-11-04 20:09:04 +08:00
Tienson Qin
53a7b92b3c
fix: tests
2024-11-04 19:54:06 +08:00
Tienson Qin
e086c4d621
fix: tests
2024-11-04 19:51:23 +08:00
Tienson Qin
0e5e07efe6
Merge branch 'feat/db' into refactor/dsl-query
2024-11-04 19:44:19 +08:00
Tienson Qin
245b342654
refactor: hl-color updates to closed values
...
hl-page changes to :raw-number
2024-11-04 19:35:21 +08:00
Tienson Qin
04eaea43fd
feat: add option to hide empty value for properties
2024-11-04 15:47:30 +08:00
Tienson Qin
38b0e1bfe3
Merge branch 'feat/db' into refactor/dsl-query
2024-11-04 12:43:36 +08:00
Gabriel Horner
2232fc8a1d
fix: removing tags from content
...
when two tags have same prefix e.g. foo and foo-bar.
Similar issue to b34325be77 .
Also tweaked import wording
2024-11-01 16:50:47 -04:00
Gabriel Horner
0f5faf7b40
enhance: user can optionally import all tags as classes in UI
...
Part of LOG-3235 and part of logseq/db-test#7
2024-11-01 14:19:39 -04:00
Tienson Qin
9354c95ef6
fix: both :block/parent and :block/page shouldn't counted as refs
2024-11-01 17:22:18 +08:00
Tienson Qin
88a7602bda
fix: graph parser tests
2024-11-01 15:51:04 +08:00
Tienson Qin
ba3a8b84fb
fix: query dsl tests
2024-11-01 09:47:21 +08:00
Gabriel Horner
1dd3aacb5f
fix: assets of published db graphs
2024-10-31 16:50:46 -04:00
Gabriel Horner
0036a5d9de
fix: invalid throws and remove unused values
...
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
Gabriel Horner
92cc1ce38c
fix: publishing build failing b/c there are no source maps
...
See
https://github.com/logseq/publish-spa/actions/runs/11614252492/job/32341972020 .
Decided to build and include source maps on release as it won't affect
initial load and improves debuggability
2024-10-31 12:08:09 -04:00
Tienson Qin
b1516bb219
fix: db dep tests
2024-10-31 22:39:09 +08:00
Tienson Qin
d3fc6c9a77
fix: property query
2024-10-31 21:34:51 +08:00
Tienson Qin
03b3291486
Merge branch 'feat/db' into refactor/dsl-query
2024-10-31 20:57:40 +08:00
Tienson Qin
beb8c46b21
fix: hidden columns can't be toggled back
2024-10-31 13:25:41 +08:00
Gabriel Horner
2cab93b354
fix: loading private published db graphs
...
Initial All Pages view failed to load as did most public pages.
private db graph was also leaking datoms it shouldn't
2024-10-30 15:49:05 -04:00
Gabriel Horner
e157e818cb
chore: mv publishing.cljs to deps/publishing
...
allows for faster publishing dev as publishing-backend workflow
works against latest deps/publishing instead of cached version in .nbb
2024-10-30 12:37:02 -04:00
Tienson Qin
7d084abc5e
fix: publishing app fails to load initial and then user data
...
fixes https://linear.app/logseq/issue/LOG-3257/publishing-app-fails-to-load-initial-and-then-user-data
2024-10-30 15:51:58 +08:00
Gabriel Horner
379b7768ce
enhance: add optional support for importing all tags as classes
...
Part of LOG-3235 and fixes part of logseq/db-test#7 . Not enabled in UI yet as need to test more
2024-10-29 16:17:01 -04:00
Gabriel Horner
a6238233c5
chore: cleanup on namespace import support
...
namespace modifications should happen with other modify fn instead of
in arbitrary property fn. Fixes LOG-3230
2024-10-18 14:32:49 -04: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
3e05347379
fix: db import failing on namespace pages with built-in name
...
e.g. term/alias in docs graph. Also added some basic namespace import
tests. Part of logseq/db-test#136 and part of LOG-3230
2024-10-18 11:46:05 -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
Tienson Qin
2e3c269375
fix: :checkbox type properties should be specified with position to
...
be used as positioned properties.
2024-10-18 17:36:58 +08:00
Tienson Qin
07a5187e30
enhance: show empty left && right positioned properties
...
Also fixed the issue that positioned property value can't be selected.
2024-10-18 17:24:52 +08:00