Commit Graph

18661 Commits

Author SHA1 Message Date
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
rcmerci
8470da1786 enhance: defkeywords all built-in-properties 2025-01-08 22:00:08 +08:00
rcmerci
7b9ae93982 enhance: add logseq.common.defkeywords 2025-01-08 21:22:22 +08:00
rcmerci
f5ffcf1d04 chore: update docstring of defkeyword 2025-01-08 21:22:22 +08:00
charlie
e7bb904c9d chore(libs): build libs core 2025-01-08 15:19:21 +08:00
rcmerci
73e51a88b2 refactor: split rtc malli-schema into its own ns 2025-01-08 14:31:12 +08:00
rcmerci
61054768c1 refactor: replace all rum/use-effect!, add kondo :discouraged-var config 2025-01-08 13:57:28 +08:00
charlie
d0cd4c2e1e enhance(plugin): auto updates for web plugins 2025-01-08 13:15:26 +08:00
charlie
1110e81741 chore(dev): remove debug 2025-01-08 09:01:34 +08:00
Gabriel Horner
cadb00279c fix: exporter :datetime tests failing locally
caused by e522c73fe2
2025-01-07 17:11:51 -05:00
Gabriel Horner
b2a3559df8 chore: add block/format to file linter
follow up to #11667
2025-01-07 16:42:11 -05:00
Gabriel Horner
8e2f0c9888 fix: property history still exists when property is deleted
No need to leave partial history around
2025-01-07 14:33:28 -05:00
Gabriel Horner
c6f3eb67c1 fix: history/scalar-value schema
wrong type and didn't handle false
2025-01-07 14:12:45 -05:00
Gabriel Horner
cf4de2f5fa chore: update lint to check for two very common db namespaces 2025-01-07 14:11:07 -05:00
Gabriel Horner
5ac24abf41 fix: property history schema not specifying used properties
property history would be buggy if it was missing its properties
2025-01-07 12:48:30 -05:00
Gabriel Horner
9050b88138 fix: node level property config mixed with property-level config
There was no UI indicator that the config applied at property or block
level so updated wording and moved it down to other node-level actions
2025-01-07 11:12:35 -05:00
Gabriel Horner
671bc93017 fix: describe table header which confused me and another user 2025-01-07 09:35:09 -05:00
Gabriel Horner
a91d1d9f94 fix: db test 2025-01-07 09:34:32 -05:00
rcmerci
6518fd948e Merge pull request #11674 from logseq/refactor/custom-react-hooks
Refactor: custom react hooks
2025-01-07 22:16:20 +08:00
Tienson Qin
cdbe7b2d55 fix: forget to add scheduled to #Task 2025-01-07 22:02:35 +08:00
rcmerci
051cadaf6a refactor: add memo-deps to wrap hook-deps 2025-01-07 21:59:03 +08:00
rcmerci
2248e5ef5a chore: fix lint 2025-01-07 20:34:18 +08:00