Commit Graph

1026 Commits

Author SHA1 Message Date
Tienson Qin
141bf4c3ab fix: can not change URL type property value
fixes https://github.com/logseq/db-test/issues/159
2024-11-08 09:23:22 +08:00
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
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
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
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
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
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
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
0036a5d9de fix: invalid throws and remove unused values
Caught by updating to latest kondo
2024-10-31 14:12: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
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
Tienson Qin
284c2c23ce perf: all pages 2024-10-18 12:33:05 +08:00
Gabriel Horner
e231192cda enhance: add import metadata
Useful for debugging different types of imports and knowing
when import was done, especially since it can differ from when
graph was created
2024-10-17 13:23:30 -04:00
Gabriel Horner
4214885b7c chore: mv remaining pdf properties to be in logseq.property.pdf 2024-10-16 11:10:15 -04:00
Tienson Qin
47524fda15 Merge branch 'feat/db' into refactor/dsl-query 2024-10-16 17:48:49 +08:00
Gabriel Horner
c592b39707 fix: capitalize pdf-annotation ident
Only class ident that isn't capitalized
2024-10-15 11:14:53 -04:00
Tienson Qin
c1be7c9105 enhance: add :logseq.class/pdf-annotation 2024-10-15 17:11:46 +08:00
Gabriel Horner
41a05097c7 enhance: Asset page defaults to gallery view
Also remove unnecessary hack for property.view/type
2024-10-14 16:23:42 -04:00
Gabriel Horner
53556d9230 fix: rename Card View to Gallery View
Don't overload 'Card' to mean multiple things.
Also improved migration docstrings
2024-10-14 15:41:10 -04:00
Tienson Qin
0567d4d14f fix: built-in-classes should be ordered map
Because some classes depend on others.
2024-10-14 21:44:50 +08:00
Tienson Qin
c215f7e496 fix: worker add missing class or properties to typed display blocks 2024-10-14 21:23:58 +08:00
Tienson Qin
36ce75c58a enhance: add #Code, #Math and #Quote 2024-10-14 19:59:22 +08:00
Tienson Qin
e0e1bac8d9 fix: block references not rendering on first load
fix https://github.com/logseq/db-test/issues/140
2024-10-14 15:04:45 +08:00
Tienson Qin
38f0abd9a8 property db ident update to the format user.property/name-nanoid
nanoid is limited to 8 chars which should be enough.
2024-10-14 05:53:36 +08:00
Tienson Qin
e3555f524d fix: order 2024-10-14 04:23:25 +08:00
Tienson Qin
7785655062 Add existing db attributes to properties
To bring more power to dsl query `(property db-attribute value)`.
2024-10-14 04:13:54 +08:00
Tienson Qin
e85b05336d perf: table search
1. cache :block/title calculation
2. sort rows if only sorting changed
3. use string/includes? instead of fuzzy search
2024-10-13 02:38:13 +08:00
Gabriel Horner
a9213c6fae enhance: validate asset block has required properties
Unlike other built-in tagged nodes, this node has required properties
when it's first created
2024-10-11 10:20:13 -04:00
Tienson Qin
639e4770c9 fix: text-format asset displayed as downloadable link 2024-10-11 13:37:53 +08:00
Gabriel Horner
d675f6ce1f fix: new assets have invalid schema
Follow up to #11563. Fix by relying on required asset property rather
than making :block/type more inconsistent. :block/type is mostly a page
type except for tech debt with "hidden" and "closed value"
2024-10-10 22:06:04 -04:00
Tienson Qin
6ce66e6f09 Merge branch 'feat/db' into refactor/dsl-query 2024-10-10 16:00:34 +08:00
Tienson Qin
9f0e3443c1 fix: db property rule return pages
Built-in properties can be queried too.
2024-10-10 15:49:59 +08:00
Tienson Qin
bb08621fea enhance: support tags in query dsl 2024-10-09 21:17:49 +08:00
Tienson Qin
26df66e5ff add card view migration 2024-10-09 15:34:02 +08:00
Tienson Qin
27de657f02 feat: card view 2024-10-09 12:17:20 +08:00
Tienson Qin
bb422e75a4 feat: bring back image resize 2024-10-09 08:30:24 +08:00