Commit Graph

197 Commits

Author SHA1 Message Date
Tienson Qin
8c402676a9 fix: page references with same name in one block (#12017)
* fix: page references with the same name in one block

* fix: empty :block/name for Library pages

* fix: invalid call to uuid-string?

trace suddenly showing up in multiple CLI calls

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2025-08-01 00:09:31 +08:00
Tienson Qin
9bede53a34 fix: tests 2025-06-29 15:21:09 +08:00
Tienson Qin
e443bbca9c fix: lint 2025-06-25 18:41:34 +08:00
Tienson Qin
53e0d1a4ca enhance: put library page name to config to make it easier to rename 2025-06-18 08:25:47 +08:00
Tienson Qin
3759046885 Merge branch 'master' into refactor/page-parent 2025-06-17 08:09:57 +08:00
Gabriel Horner
b48dfce552 fix: migrated properties not migrating :logseq.property/type or
most of the property-only properties that a user could have set
2025-06-17 06:29:01 +08:00
Tienson Qin
d775a3dba9 fix: test 2025-06-17 06:29:01 +08:00
Tienson Qin
db18543383 Add migration test 2025-06-17 06:29:01 +08:00
Tienson Qin
92ec65d61d Merge branch 'master' into refactor/page-parent 2025-06-15 08:27:33 +08:00
Tienson Qin
00f6662f73 fix: lint 2025-06-12 03:06:17 +08:00
Tienson Qin
4abbdd0fce fix: lint 2025-06-12 02:59:44 +08:00
Tienson Qin
3605a82483 Add repeat task get-next-time tests 2025-06-12 02:50:00 +08:00
Tienson Qin
8eee397b45 fix: rtc creates duplicated first blocks for new journal pages (#11913)
* fix: rtc creates duplicated first blocks for new journal pages

The root cause is that those blocks from different clients have
different ids. Instead of using persistent block id, this fix avoids
generating the first block until users really start editing it.

* fix: add button not displayed when the last block is not empty

* fix: e2e tests

* enhance: remove dummy block

* fix: open-last-block
2025-06-02 14:19:19 +08:00
Gabriel Horner
b55c55831f chore: add test for migration bug
in f4d3dca19c. Put the fix in feat/db
since it should be deploy asap and test in this branch
since only this branch has the ability to test migrations
2025-05-21 16:11:53 -04:00
Gabriel Horner
a350aa4cc3 fix: remove unused :node-class? option on fn
Only classes will use this fn so it's no longer needed. The option was
also missing on a couple fns which could've lead to buggy behavior
2025-05-21 10:05:20 -04:00
Tienson Qin
42163df4b3 Merge branch 'feat/db' into refactor/page-parent 2025-05-17 05:36:58 +08:00
Tienson Qin
337db306c8 fix: tests 2025-05-17 01:07:08 +08:00
Tienson Qin
c0e3a5f81c fix: lint 2025-05-16 23:34:14 +08:00
Gabriel Horner
28675be54b enhance(dev): cljs tests can run with or without repeatable idents 2025-05-16 11:29:22 -04:00
Tienson Qin
baa615f463 Add migration test 2025-05-16 23:15:45 +08:00
Tienson Qin
0822e455f8 Add tests for namespaces in Library 2025-05-16 16:27:28 +08:00
Tienson Qin
407154d537 fix: tests 2025-05-16 15:01:13 +08:00
Tienson Qin
99e816e9de chore: rename get-page-parents to get-class-extends 2025-05-16 14:45:44 +08:00
Tienson Qin
61d5aa3605 Rename :logseq.property/parent to :logseq.property.class/extends 2025-05-14 17:56:35 +08:00
Gabriel Horner
4f65a00c68 refactor: rename :logseq.task properties to :logseq.property
These are the only built-in properties that don't start with
:logseq.property
2025-05-06 12:29:09 +08:00
Tienson Qin
d1557a0599 fix: lint 2025-04-16 01:12:55 +08:00
Tienson Qin
f969537bc5 fix: lint 2025-04-14 18:02:40 +08:00
Tienson Qin
a9e38f0e0d Merge branch 'feat/db' into perf/app-start 2025-04-14 17:48:32 +08:00
rcmerci
4036a36f46 test(rtc): add ut for remote-op-value->tx-data 2025-03-26 01:18:43 +08:00
rcmerci
58dd5a8f19 fix(rtc): ignore pre-configured attrs when remote-op-value->tx-data 2025-03-26 01:18:43 +08:00
rcmerci
6306e3f46f fix test 2025-03-11 23:18:11 +08:00
rcmerci
eac17d4a74 enhance(rtc): generate migration new classes client-ops when rtc-start 2025-03-11 23:18:11 +08:00
rcmerci
ac1f0c89b5 enhance(rtc): generate migration client-ops when rtc-start 2025-03-11 23:18:11 +08:00
rcmerci
27b381fdc1 enhance(rtc): split ns frontend.worker.rtc.db-listener 2025-03-11 23:18:11 +08:00
Gabriel Horner
73cff9db44 chore: mv file-specific vars in db dep
to their own file-based.* namespaces. logseq.db.frontend
can now be linted
2025-02-19 16:29:26 -05:00
Tienson Qin
926d05c185 feat: table columns pinning (#11693)
* Add property :logseq.property.table/pinned-columns

* feat: table column pinning

* enhance: hide :id column by default

---------

Co-authored-by: charlie <xyhp915@qq.com>
2025-01-24 11:17:09 +08:00
Gabriel Horner
6170ba10d4 chore: disable test since its unused per rcmerci 2025-01-23 17:03:27 -05:00
Gabriel Horner
961f6ec241 fix: tests and incorrect schema property detection after rename 2025-01-16 16:41:55 -05:00
Tienson Qin
a7e9d073cd chore: rename :property/* to :logseq.property/* 2025-01-15 14:59:08 +08:00
Tienson Qin
911d45616a fix: tests 2025-01-13 16:58:53 +08:00
Tienson Qin
93a7034249 Remove more cases of :block/schema 2025-01-13 10:00:00 +08:00
Tienson Qin
e318e0d6c1 Merge branch 'feat/db' into refactor/block-schema 2025-01-12 16:48:19 +08:00
rcmerci
3a43a81bc5 enhance(rtc): client-ops generator ignore attrs if possible 2025-01-09 18:07:13 +08:00
rcmerci
73e51a88b2 refactor: split rtc malli-schema into its own ns 2025-01-08 14:31:12 +08:00
Tienson Qin
8a0a05183e refactor: remove :block/format for db graphs (#11667) 2025-01-05 12:10:47 +08:00
Gabriel Horner
dbb84f0327 Merge branch 'feat/db' into refactor/tag-as-type 2024-12-19 15:29:25 -05:00
Gabriel Horner
2767e7bb8a fix: frontend lint 2024-12-19 12:07:29 -05:00
Tienson Qin
2599b45768 Merge branch 'feat/db' into refactor/tag-as-type 2024-12-19 15:09:02 +08:00
rcmerci
32e4563d17 fix(rtc): update patch-remote-attr-map-by-local-av-coll 2024-12-18 18:27:30 +08:00
rcmerci
96b3073057 test(rtc): fix some :fix-me testcases 2024-12-18 17:05:48 +08:00