Commit Graph

23051 Commits

Author SHA1 Message Date
Tienson Qin
cdc1bc1d32 fix: get-bidirectional-properties perf
Root cause:
get-bidirectional-properties was recomputing
bidirectional-property-attr? for every [e a] match, repeatedly calling
d/entity for the same property attr keyword. That made cost scale with
datom count, not unique properties.

Fix:
Added per-call memoization for property-attr bidirectional checks
using a local volatile! cache, so each attr is resolved once per
invocation.
2026-02-26 14:13:31 +08:00
Tienson Qin
2e78d8be40 fix: ci tests 2026-02-26 13:09:00 +08:00
Tienson Qin
560ce3ca4f enhance: sync startup latency
1. Removes startup dependency on remote-graphs fetch for initial sync start.
2. Removes unnecessary restart churn.
3. Shaves trigger scheduling delay.
2026-02-26 12:15:28 +08:00
Tienson Qin
a1cbcf8aaa fix: mobile sync indicator latency 2026-02-26 11:51:56 +08:00
Tienson Qin
7e565aeeeb fix: reject stale pull resp 2026-02-26 11:35:55 +08:00
Tienson Qin
ae9a37c889 fix: sync missing :block/title 2026-02-26 10:32:25 +08:00
Gabriel Horner
b18056c910 enhance: export-edn exports property history
also ensure that it is idempotent
2026-02-25 14:52:16 -05:00
Tienson Qin
8d48e93ccb fix(sync): malformed remote tx can include a temp entity id
without :block/uuid.
2026-02-25 09:21:31 +08:00
Tienson Qin
bbec923a6c add e2e tests for afe21733a2 2026-02-25 08:32:24 +08:00
Tienson Qin
afe21733a2 fix(regression): drag and drop creates a blank asset 2026-02-25 08:20:23 +08:00
Tienson Qin
25d0a44681 fix: preserve the original :block/page ref when missing page details 2026-02-25 07:41:13 +08:00
Gabriel Horner
8b5407a91d fix: db and frontend lint 2026-02-24 15:05:18 -05:00
Gabriel Horner
f0f5911ca7 enhance: export-edn is idempotent for 3 more keys
For keys with non-ordered collections, use sets to consistently produce
idempotent values. Users can still author with vectors for these keys.
This affects :build/tags, :build/property-classes and
:build/class-extends.  Also remove any hacks around making their values
consistent across import->export cycles
2026-02-24 14:26:02 -05:00
Tienson Qin
e6e61e235a fix: cleanup to process all retracted entities (including pages)
related to https://github.com/logseq/db-test/issues/726
related to https://github.com/logseq/db-test/issues/752
2026-02-24 23:00:35 +08:00
Tienson Qin
3c9dee98da fix: invalid data when deleting closed value
fixes https://github.com/logseq/db-test/issues/729
2026-02-24 22:39:15 +08:00
Tienson Qin
99fb07586e fix: notify when no microphone permission 2026-02-24 21:57:30 +08:00
Tienson Qin
108098dd4d fix: show camera warning when no permission 2026-02-24 21:49:45 +08:00
jariji
c0bc5525ac Don't auto-export if user is typing 2026-02-24 17:42:20 +08:00
charlie
9994f7b70d fix(assets): set correct MIME type for Blob based on file extension https://github.com/logseq/db-test/issues/750 2026-02-24 14:57:45 +08:00
Gabriel Horner
97835eeeb7 enhance: export-edn :build/class-properties sorts properties
both when building and exporting
2026-02-23 17:04:29 -05:00
Gabriel Horner
cbf67bffc8 chore: bump cli 0.4.3 2026-02-23 10:05:36 -05:00
Gabriel Horner
b484b072a3 chore: bump cli startup time test 2026-02-20 13:55:21 -05:00
Gabriel Horner
5e43f89af2 enhance: export-edn supports :build/properties in property values
no matter how many levels deep a property value has properties
2026-02-20 13:49:10 -05:00
Gabriel Horner
991e38419a enhance: export edn handles assets
Addresses https://github.com/logseq/db-test/issues/656.
Should also address most :entity built in properties
2026-02-19 20:24:23 -05:00
Gabriel Horner
df70a52bba fix: two bug with using --roundtrip
Fails hard when db is invalid and doesn't respect
--catch-validation-errors
2026-02-19 20:24:23 -05:00
Gabriel Horner
3e1745dca7 chore: DRY up export tests with new test fn 2026-02-18 15:23:41 -05:00
Gabriel Horner
16beb18c92 fix: export tests with large graph have duplicate built-in pages
Fixed the setup of these tests and then was able to confirm that
built-in pages are idempotent with import-export process. Also fixed
related docstrings
2026-02-18 15:23:41 -05:00
Gabriel Horner
f28e001b5a enhance: ensure export EDN is idempotent across import and export
An EDN export should consistently produce the same EDN when imported
into a new graph and re-exported. This adds initial fn, cli option and
test to ensure this. There are some known TODOs. diff-graphs script was
removed as it was being used as a subset of the workflow provided by the
--roundtrip option
2026-02-18 15:23:41 -05:00
Gabriel Horner
1ff8a12d35 fix: export-edn shouldn't add empty :build/properties
This results in exports that aren't repeatable across exports a.k.a. roundtripable
2026-02-17 16:27:24 -05:00
Gabriel Horner
9bac0416a4 chore: bump to latest bb (#12398)
Also bump related setup-clojure action
2026-02-17 09:10:36 -05:00
Gabriel Horner
3d88cd1fd6 fix: import of multi word tags
Also fixes quirky editor bug for inline multi word tags. Both bugs
reported in https://github.com/logseq/db-test/issues/724
2026-02-16 14:35:53 -05:00
Gabriel Horner
6acf799b68 fix: UI import of example graph is invalid
With #12313, we introduced relative paths which fail to create
assets and then cause invalid blocks that are unable to reference those
assets. Any user graphs that have relative paths like this will also
have their invalid blocks fixed
2026-02-13 15:03:24 -05:00
Tienson Qin
322a522be0 enhance: remove warning on multiple blocks 2026-02-13 05:20:51 +08:00
Tienson Qin
ed240ac01e fix: today journal created-at/updated-at keep updating 2026-02-13 05:04:08 +08:00
Tienson Qin
ea42e7595b fix: collapse button should be aligned right on mobile 2026-02-13 02:56:34 +08:00
Tienson Qin
c52349dae4 fix: fastlane version number 2026-02-13 02:00:43 +08:00
Tienson Qin
0d0d8b7f32 bump to 2.0.1 2026-02-13 01:53:13 +08:00
Tienson Qin
b07996f5f7 Revert "update ios bundle version"
This reverts commit de44fad853.
2026-02-13 01:51:47 +08:00
Tienson Qin
de44fad853 update ios bundle version 2026-02-13 01:37:02 +08:00
Tienson Qin
75ff633380 Merge pull request #12315 from logseq/feat/worker-sync
Sync with Cloudflare DO
2026-02-12 23:06:38 +08:00
Tienson Qin
daf7fc1475 enhance: p r to add emoji reaction 2026-02-12 23:03:28 +08:00
Tienson Qin
7bd7892635 Merge branch 'master' into feat/worker-sync 2026-02-12 22:54:32 +08:00
Tienson Qin
ae3fea3ab3 fix: don't compute refs for reactions 2026-02-12 22:52:25 +08:00
Tienson Qin
a895e33aeb fix: reaction validate 2026-02-12 22:50:32 +08:00
Tienson Qin
4a104ec0aa fix: error log 2026-02-12 20:33:00 +08:00
Tienson Qin
64b218896a code cleanup suggested by gabriel 2026-02-12 20:08:20 +08:00
Tienson Qin
084b5193c3 fix: sync doesn't work on node adapter 2026-02-12 19:31:24 +08:00
Tienson Qin
fa141f5e08 fix: asset zip import 2026-02-12 18:45:11 +08:00
Tienson Qin
58a44bfd0b fix gradlew.bat 2026-02-12 18:38:50 +08:00
charlie
2394c72d5a enhance(ui): simplify plugin property check in sorting logic 2026-02-12 09:43:49 +08:00