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
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
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
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
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
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
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
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
Tienson Qin
3acbed2731
chore: remove properties :file and :file-path from db graphs
...
The db version uses :logseq.property/asset.
2024-10-08 22:55:06 +08:00
Tienson Qin
550bf9d40a
fix: delete asset
2024-10-08 21:24:44 +08:00
Tienson Qin
d06eb5f8d4
fix: pdf area annotation
2024-10-08 18:51:17 +08:00
Tienson Qin
fe8345499a
fix: load pdf annotations and storing last visit page
2024-10-08 16:48:54 +08:00
Tienson Qin
7a7e22efdb
fix: pdf annotation navigation
2024-10-08 15:53:34 +08:00
Tienson Qin
6d093927b9
fix: use existing asset if checksum matches
2024-10-08 14:21:50 +08:00
Tienson Qin
998fc66132
Merge branch 'feat/db' into refactor/assets
2024-10-08 11:54:31 +08:00
Gabriel Horner
830c275d54
chore: use internal-page? helper
2024-10-03 11:52:23 -04:00
Gabriel Horner
f898fb5cca
fix: disallow more strange parent child relationships
...
when setting Parent property. property and journal shouldn't be a parent
of any page right now, especially with pages of other types. Maybe
property and whiteboard can have hierarchies later
2024-10-03 10:01:06 -04:00
Tienson Qin
deb3507bb0
enhance: copy code block
...
1. search and store code lang instead of mode
2. select uses frontend.components.select instead of shui input + auto-complete
2024-10-02 12:58:15 +08:00
Gabriel Horner
15fa327aec
fix: block attrs for db advanced queries
...
db graph advanced queries were fetching file graph attributes
2024-09-30 12:39:33 -04:00
Gabriel Horner
939dd23f79
chore: use test helpers across db tests
...
instead of copied and pasted versions
2024-09-27 14:54:03 -04:00
Tienson Qin
879a30593a
fix: slow query ux ( #11548 )
...
* enhance: intuitive query input
* fix: Manually editing Query property doesn't update its results
fix https://linear.app/logseq/issue/LOG-3249/manually-editing-query-property-doesnt-update-its-results
* fix: don't close popup when editing hidden property
* enhance: display query setting icon when hovering title
* Use block's title as query if its query is still empty
* enhance: display both simple and advanced query as below when not collapsed
2024-09-28 02:52:06 +08:00
Gabriel Horner
2b782c601b
chore: add db tests and start a logseq.db testing ns
...
Add acceptance test for newer validations and some useful unit tests for
untested fns at different layers
2024-09-27 14:28:30 -04:00
Gabriel Horner
476e641c1a
chore: rename property node/type to node/display-type
...
node can be a block or page and type is a general enough word that
it could refer to one of those. Use a more specific name so we
don't confuse ourselves or our users
2024-09-26 22:24:26 -04:00
Tienson Qin
17e808989a
wip: store assets as blocks
2024-09-26 22:50:58 +08:00
Tienson Qin
54f191c6c6
feat: code/quote/math block ( #11545 )
...
Add code, quote and math block
2024-09-26 14:14:20 +08:00
Tienson Qin
d9cd07bc2e
fix: logseq.property/query supports both dsl and datalog query
2024-09-25 06:37:49 +08:00
Gabriel Horner
0c9c34d367
chore: consistently capitalize new class
2024-09-24 16:10:46 -04:00
Tienson Qin
fb2cc14444
fix: don't parse parent from namespace pages
2024-09-25 01:54:42 +08:00
Gabriel Horner
a3ead39156
fix: parent ordering in page ref completion
...
Likely affected other features
2024-09-24 13:42:31 -04:00
Gabriel Horner
5167523521
fix: db tests and frontend+db lints
2024-09-24 13:10:32 -04:00
Tienson Qin
cfae1a8715
fix: inline namespace tag
2024-09-25 00:31:30 +08:00