Commit Graph

1107 Commits

Author SHA1 Message Date
Gabriel Horner
762b83a3c9 refactor: use less util/node-test? where possible
also add new ns to kondo lint
2025-04-23 10:30:00 -04:00
rcmerci
13d7061f7b Squashed commit of the following:
commit 0df1208ae6
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Sun Apr 20 19:32:24 2025 +0800

    fix: remove d/store calls

    There's a bug with `d/store`: it doesn't clear `tx-tail` in the conn atom.

commit 7d436cf5eb
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Sun Apr 20 18:03:23 2025 +0800

    chore: bump datascript

commit 878331c53e
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Sun Apr 20 12:30:11 2025 +0800

    fix: block title inline

commit 2a8461b41a
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Sun Apr 20 12:17:16 2025 +0800

    fix: no way to edit the query as the settings icon doesn't show up

commit f843df9482
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Apr 18 23:41:29 2025 +0800

    fix: empty data not trigger query view re-render

commit 6042c8b112
Author: Gabriel Horner <gabriel@logseq.com>
Date:   Fri Apr 18 09:44:27 2025 -0400

    refactor: keep testing concerns in tests

    Move testing requirement to relevant test to make production code easier
    to maintain. Where possible we should avoid helpers like util/node-test? as
    they couple testing concerns with production code

commit c9177abc9a
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Apr 18 15:20:22 2025 +0800

    fix: tests

commit b7c45f881c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Apr 18 13:19:37 2025 +0800

    fix: don't show query builder for non-query blocks

commit 46bdd1a366
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Apr 18 13:17:07 2025 +0800

    enhance: set query title && code

commit abf90fbb7d
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Apr 18 11:47:26 2025 +0800

    fix: queries don't automatically update

    Fix https://github.com/logseq/db-test/issues/237

    This commit also updates custom queries to only fetch :db/id to
    improve performance.

commit aa45b3fa6c
Author: Gabriel Horner <gabriel@logseq.com>
Date:   Fri Apr 18 14:31:00 2025 -0400

    fix(regression): paths of file graph exports

    markdown + opml exports had zipped files several
    directories deep because they used the full path of the graph

commit 63403bd8c5
Author: Gabriel Horner <gabriel@logseq.com>
Date:   Fri Apr 18 12:32:51 2025 -0400

    fix: remove unused workarounds from #11774

    Previous commit fixed these issues

commit 4ad4944b4e
Author: Gabriel Horner <gabriel@logseq.com>
Date:   Fri Apr 18 12:29:06 2025 -0400

    fix: for file graphs, tags with blank space in the namespace parent

    creates entities with nil :block/title to be created. This
    created unexpected bugs in the UI e.g. all pages and
    caused duplicate content to appear.
    Example from test graph: 'tags:: [[Some / Namespace ]]'
    Fixes
    https://test.logseq.com/#/page/68017fb5-7b9c-448a-9f64-6bb8d8669396
2025-04-20 22:22:26 +08:00
rcmerci
76b4affbde Merge remote-tracking branch 'origin/feat/db' into fix/multiple-tabs 2025-04-18 18:18:36 +08:00
Gabriel Horner
548971bdf4 chore: remove test :focus 2025-04-17 14:28:05 -04:00
Mega Yu
3a6888d48a command input tolerance threshold set to 2 2025-04-17 23:00:22 +08:00
Mega Yu
cfd5ea9d0b enhance the / input tolerance 2025-04-17 20:41:36 +08:00
Tienson Qin
47c2ed2bee fix: tests 2025-04-16 03:06:15 +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
Tienson Qin
8e21a3f5e6 fix: tests 2025-03-04 22:14:31 +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
Gabriel Horner
18db6b1937 chore: mv db namespaces common to both graphs to logseq.db.common 2025-02-19 16:29:26 -05:00
Gabriel Horner
f597f7c9c0 chore: mv handler.common.file to file-based
now that this ns is only used by file graph namespaces.
This is important as it then makes explicit that another 500+ lines
in the graph-parser are file-graph specific. Also added docs to most
graph-parser namespaces to make explicit which are file-graph specific
and not
2025-02-17 14:02:49 -05:00
Gabriel Horner
6848f98be9 fix: query builder not working for multi-word task values
Another fix for https://github.com/logseq/db-test/issues/215
2025-02-05 16:12:40 -05:00
Gabriel Horner
379752dc03 fix: tests broken by previous commit 2025-02-04 09:24:03 -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
455ccec296 chore: rename sqlite.build edn to remove mention
of schema. schema concept no longer exists and these old
names would be confusing
2025-01-21 14:22:16 -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
61a895fbd3 fix: tests 2025-01-13 16:31:39 +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
rcmerci
b65a2d5c0f refactor: consistent alias of clojure.string 2025-01-03 16:45:10 +08:00
rcmerci
f7815b487d fix: nbb test 2024-12-28 16:39:33 +08:00
rcmerci
26e2fad13d fix: move missionary_util to deps/common, fix some deps issue 2024-12-28 14:22:16 +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
Gabriel Horner
9d3b5a42bb fix: new property validation and test from previous commit 2024-12-17 21:29:11 -05:00
Gabriel Horner
fb2340c1a1 fix: new journals should only have #Journal
Redundant and confusing also be adding #Page, which is a parent of #Journal, to all journals. Also
remove unused option create!
2024-12-17 22:04:29 +08:00
Gabriel Horner
d624d5e7db fix: users cant change tags of built-in classes like Tag
Could cause all kinds of bugs. Also moved tags vars to db-class
to have a central ns like we do with properties and l.db.frontend.property
2024-12-17 22:04:29 +08:00
Tienson Qin
3a748c9975 fix: lint 2024-12-17 22:04:28 +08:00
Tienson Qin
f67d47a9db fix: tests 2024-12-17 22:04:28 +08:00
Tienson Qin
9b6d09bcfe fix: tests 2024-12-17 22:04:28 +08:00
Tienson Qin
0798f0b7f6 fix: page test 2024-12-17 22:04:28 +08:00
Tienson Qin
02d6bcf0a4 fix: rtc db listener tests 2024-12-17 22:04:28 +08:00