Commit Graph

19595 Commits

Author SHA1 Message Date
Tienson Qin
1aa30bf1cb fix: create new graph result in NoModificationAllowedError 2025-04-22 13:16:28 +08:00
rcmerci
e56d531f13 fix: use broadcast-to-clients! to postmessage to clients 2025-04-22 02:20:07 +08:00
rcmerci
d2f78ae875 refactor: allow adding new broadcast data types 2025-04-21 23:57:40 +08:00
rcmerci
0ccb2a84e5 enhance: broadcast-to-clients! works for both master&slave clients 2025-04-20 23:40:09 +08: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
780d40f05c refactor: update new-task--rtc-start
allow it to be used conveniently when switching the master-client in a multi-tabs environment
2025-04-20 00:29:46 +08:00
rcmerci
501b5f0fe4 Squashed commit of the following:
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-19 22:06:16 +08:00
rcmerci
254c77a7a3 fix: thread-api calls before shared-service inited
chore: better fns naming
enhance: add do-not-wait
2025-04-18 23:03:06 +08:00
rcmerci
d6b85f10a4 enhance: trigger master-re-check by another atom(instead of reuse *master-client?) 2025-04-18 22:22:57 +08:00
rcmerci
76b4affbde Merge remote-tracking branch 'origin/feat/db' into fix/multiple-tabs 2025-04-18 18:18:36 +08:00
rcmerci
0b02cdfead fix: do not wait for js/navigator.locks.request to finish. 2025-04-18 17:39:30 +08:00
rcmerci
36e63e05a8 fix: *requests-in-flight use sorted-map 2025-04-18 17:05:45 +08:00
rcmerci
6ab81ac7df fix: don't repeatedly watch the master-client 2025-04-18 16:48:23 +08:00
Tienson Qin
bc534793cc fix: don't show file sync graphs on web 2025-04-18 15:34:55 +08:00
rcmerci
73924499b0 fix: prevent client-channel's event-listener leaks (2) 2025-04-18 14:45:28 +08:00
rcmerci
e889051cf3 fix: prevent client-channel's event-listener leaks (1) 2025-04-18 13:02:58 +08:00
rcmerci
2a978065f0 fix: prevent event-listener leaks 2025-04-18 12:09:08 +08:00
Tienson Qin
7583e6c00b chore: remove debug 2025-04-18 10:29:43 +08:00
Tienson Qin
a70372ac88 enhance: unify page and block references 2025-04-18 10:24:09 +08:00
Gabriel Horner
548971bdf4 chore: remove test :focus 2025-04-17 14:28:05 -04:00
Gabriel Horner
a4ff003263 Merge pull request #11823 from megayu/enhance/command-input
enhance:  / command input tolerance
2025-04-17 14:26:17 -04:00
Gabriel Horner
c56f3312df fix: resizing image breaks validity of :url blocks
db graphs should storing this in properties, not text.
Fixes https://github.com/logseq/db-test/issues/241
2025-04-17 13:43:20 -04:00
rcmerci
7365058717 enhance: reduce transit-write when sending data from master->slave->ui 2025-04-18 01:13:04 +08:00
rcmerci
3d30be2086 refactor: simplify on-become-master 2025-04-18 01:01:23 +08:00
rcmerci
29c90ab331 refactor: add on-become-master 2025-04-18 00:56:33 +08:00
rcmerci
b5613455de refactor: replace 'provider' by 'master, slave' 2025-04-18 00:45:11 +08:00
rcmerci
345edeacdc refactor: add on-slave-client, simplify create-service 2025-04-18 00:19:28 +08:00
Tienson Qin
08fc2560a4 Merge branch 'feat/db' into fix/multiple-tabs 2025-04-17 23:20:07 +08:00
Tienson Qin
cb43e4025e Merge branch 'feat/db' into enhance/command-input 2025-04-17 23:08:28 +08:00
Mega Yu
3a6888d48a command input tolerance threshold set to 2 2025-04-17 23:00:22 +08:00
Tienson Qin
2f5625818c resolve conflicts 2025-04-17 22:52:51 +08:00
Tienson Qin
9a94698917 fix: fuzzy search on commands returns wrong result 2025-04-17 22:50:46 +08:00
Gabriel Horner
76c60b59c9 fix: backspace on block with property deletes prev children
Fixes https://github.com/logseq/db-test/issues/249
2025-04-17 22:50:46 +08:00
Tienson Qin
031ab92709 fix: can't set status in page reference 2025-04-17 22:50:46 +08:00
rcmerci
abe565cf99 refactor: remove *ready-resolve in shared_service.cljs 2025-04-17 22:46:44 +08:00
rcmerci
efdb4d9d88 refactor: update get-client-id, simplify create-service 2025-04-17 22:21:38 +08:00
Tienson Qin
1d4c6a100f enhance: hide group when user already input some command text 2025-04-17 21:53:25 +08:00
Tienson Qin
5bd127b101 fix: fuzzy search on commands returns wrong result 2025-04-17 21:42:20 +08:00
Gabriel Horner
424dfce32c fix: backspace on block with property deletes prev children
Fixes https://github.com/logseq/db-test/issues/249
2025-04-17 09:40:08 -04:00
Tienson Qin
05d87883bb fix: can't set status in page reference 2025-04-17 21:08:03 +08:00
Tienson Qin
86be0ac83e Merge branch 'feat/db' into enhance/command-input 2025-04-17 20:48:58 +08:00
Tienson Qin
b30f679eef fix: lint 2025-04-17 20:48:39 +08:00
Mega Yu
cfd5ea9d0b enhance the / input tolerance 2025-04-17 20:41:36 +08:00
Tienson Qin
813d18402f fix: lint 2025-04-17 20:38:29 +08:00
Tienson Qin
cb66a5ad7f fix: check and fix db schema 2025-04-17 20:26:40 +08:00
Tienson Qin
0baaadadeb chore: remove react-tippy css 2025-04-17 18:34:26 +08:00
Charlie
21c58e8912 refactor(ui): remove react tippy (#11822)
* refactor: remove all react tippy stuff
2025-04-17 18:32:06 +08:00
Tienson Qin
5f37276fed fix: lint 2025-04-17 18:28:49 +08:00
Tienson Qin
7f6fa2dbd9 refactor: separate ui/file graph events from handler.events 2025-04-17 18:20:28 +08:00
rcmerci
9168a56b97 fix: do not use 'resolve' as it conflicts with the macro in cljs.core 2025-04-17 16:11:22 +08:00