Tienson Qin
1d9fbc8a3d
perf: reduce :block/properties calls on db graphs
...
`:block.temp/property-keys` was added to get all the properties
for given entity.
2025-01-15 19:35:09 +08:00
charlie
029a3e07cb
enhance(apis): property prefix for the block property key
2025-01-15 15:30:18 +08:00
rcmerci
d14c4393f9
chore: update comment
2025-01-15 12:22:04 +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
charlie
03592a26b6
chore: typo
2025-01-14 17:51:53 +08:00
charlie
9224df59cc
enhance(apis): add remove property & types
2025-01-14 17:51:15 +08:00
charlie
ac3b643a11
chore(dev): react key warnings
2025-01-14 15:13:08 +08:00
charlie
0b7c9b4a26
chore(dev): patch console error for React
2025-01-14 15:02:50 +08:00
rcmerci
22fcaa2452
chore: update docstring
2025-01-14 14:59:43 +08:00
rcmerci
3e025dd311
enhance: add created-by prop to blocks
2025-01-14 14:57:33 +08:00
rcmerci
685e82502b
chore: remove prn
2025-01-14 13:01:50 +08:00
charlie
8d778aa1e9
enhance(api): upsert/get property entity with caller key from the plugin api call
2025-01-14 10:34:07 +08:00
charlie
b3d6744298
enhance(ui): broken line for the datetime label
2025-01-14 08:51:58 +08:00
Gabriel Horner
c87da72b95
enhance: allow a tag to be converted back to a page
...
People do sometimes accidentally tag a page like in
https://github.com/logseq/db-test/issues/201 and should have a way to
undo it
2025-01-13 17:43:21 -05: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
86807f5420
fix: frontend lint
2025-01-13 11:47:28 -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
charlie
c90ab6c090
fix(e2e): properties related apis
2025-01-13 17:14:30 +08:00
charlie
ba9b84c206
fix(e2e): plugin apis related tests
2025-01-13 12:07:47 +08:00
rcmerci
18d4afa482
fix: profile multi-arity fns
2025-01-12 23:08:15 +08:00
rcmerci
f485eeef3d
enhance: add prop :logseq.property/created-by
2025-01-12 16:12:08 +08:00
rcmerci
9764646d07
enhance: profiler now support multi-arity & variadic fns
2025-01-12 15:36:24 +08:00
charlie
4d0fbe11be
fix(pdf): incorrect styles for the external window pdf viewer
2025-01-11 15:47:11 +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
5ccb11aa0f
fix(regression): Can't distinguish between page and class properties
...
Without a visual indicator there's no way for a user to know what's a
page or class property for a class. Pretty confusing for anyone who's
using page properties on a class
2025-01-10 14:00:52 -05:00
Gabriel Horner
25d1243edd
chore: update docstrings in kv-entity
...
Also update other :import-type to be keywords like other values
2025-01-10 12:41:54 -05:00
Gabriel Horner
1adeaa3259
fix: migrate command throwing 'Unserializable return value' error
2025-01-10 10:20:16 -05:00
Gabriel Horner
18f2bd65c5
fix: validator incorrectly identifying hidden blocks
...
A page block that a user writes that starts with '$$$' isn't a hidden
block
2025-01-10 10:08:06 -05:00
Gabriel Horner
b113967c9c
enhance(dev): cli validation includes dispatch key
...
use dispatch-key to immediately find invalid schema
2025-01-10 10:06:43 -05:00
charlie
ccefc2ba77
fix(apis): missing exports
2025-01-10 16:29:41 +08:00
rcmerci
1c5761e279
enhance(rtc): ignore entities if possible when init upload/download
2025-01-10 16:04:21 +08:00
rcmerci
7e9edacf91
dev: parse-long redefine warning when compile test
2025-01-10 15:11:35 +08:00
rcmerci
72b736abd4
enhance(rtc): don't generate update-op if only :block/updated-at changed
2025-01-10 13:26:55 +08: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
Tienson Qin
68f758cdc9
fix: invalid data
...
/Validate current graph will try to fix those errors.
fixes https://github.com/logseq/db-test/issues/205 .
2025-01-09 21:15:12 +08:00
rcmerci
0fa7da9c08
fix(rtc): fix export-as-blocks when ignore-attr-set not nil
2025-01-09 18:25:10 +08:00
rcmerci
3a43a81bc5
enhance(rtc): client-ops generator ignore attrs if possible
2025-01-09 18:07:13 +08:00
rcmerci
9db946c605
enhance: apply defkeywords to built-in classes, add some rtc related keywords
2025-01-09 18:07:13 +08:00
charlie
99998e25e9
enhance(libs): utils apis
2025-01-09 17:35:55 +08:00
charlie
72c09e5c30
enhance(libs): types
2025-01-09 14:22:30 +08:00
charlie
e83cb0ff86
enhance(apis): empty page name crash for the push state
2025-01-09 12:34:41 +08:00
Gabriel Horner
e0b5dace85
fix: can't create page with tag from cmd-k
...
e.g. `Foo #Movie`. Also cleanup build-new-class which shouldn't allow
for db-ident overrides
2025-01-08 14:16:49 -05:00
Gabriel Horner
4a245b5f72
fix: opening new page in sidebar and clicking first block
...
displayed invalid warning
2025-01-08 12:08:18 -05:00
Gabriel Horner
e8659d6552
fix: remove unused check in class?
...
That check was used in an earlier version of #11634 when Tag didn't have
:block/tags
2025-01-08 11:55:00 -05:00
Gabriel Horner
0db34bc921
fix: debug check failing importer
...
Only failed in prod. Fixes https://github.com/logseq/db-test/issues/206
2025-01-08 10:58:50 -05:00
Gabriel Horner
b44d644aba
fix: deps tests failing to run due to missing var
2025-01-08 09:16:39 -05:00
Gabriel Horner
90924816f9
fix: common lints
2025-01-08 09:11:22 -05:00