Commit Graph

3732 Commits

Author SHA1 Message Date
Tienson Qin
7893ece5e9 fix: dialog title accepts string or react component 2025-04-25 16:13:47 +08:00
charlie
7183bbd2b4 fix(shui): dialog content warning 2025-04-25 14:33:00 +08:00
Charlie
d9bc7fb61b refactor(ui): remove the radix primitives (#11832)
* refactor(ui): remove cloned radix primitives

* fix(ui): radix dialog warning

* fix(ui): remove radix toast warning
2025-04-25 13:02:10 +08:00
charlie
5edbcfc6ae Merge branch 'feat/db' into feat/capacitor-new 2025-04-25 10:36:05 +08:00
Tienson Qin
bec0dc7c30 Revert "chore: debug"
This reverts commit a6fb2bb4e5.
2025-04-24 23:51:19 +08:00
Tienson Qin
27d93663f3 fix: allow pages to be appears in unlinked refs 2025-04-24 23:20:51 +08:00
Tienson Qin
a6fb2bb4e5 chore: debug 2025-04-24 23:10:21 +08:00
Gabriel Horner
e0cb4e786f chore: bump nbb-logseq with datascript changes 2025-04-24 10:38:04 -04:00
Tienson Qin
118c8c59b6 fix: remove table rows scrollbar
It happended because there're multiple rows share the same react key.
2025-04-24 20:48:58 +08:00
Tienson Qin
e78b1afa76 fix: include proprety values when loading page entity 2025-04-24 18:43:31 +08:00
charlie
e024857d1e Merge branch 'feat/db' into feat/capacitor-new 2025-04-24 10:43:02 +08:00
Tienson Qin
b6bff46979 fix: add object on private tags crashed 2025-04-24 04:24:47 +08:00
Mega Yu
5f8f5b037c fix table view selection bug 2025-04-24 00:53:04 +08:00
Tienson Qin
cdb7c17a8e Merge branch 'feat/db' into fix/multiple-tabs 2025-04-23 22:28:58 +08:00
charlie
ce0c76b2a5 Merge branch 'feat/db' into feat/capacitor-new 2025-04-23 10:38:06 +08:00
Tienson Qin
85479ad337 fix: delete empty page error 2025-04-23 10:30:06 +08:00
charlie
dc8b1ebe71 Merge branch 'feat/db' into feat/capacitor-new 2025-04-23 09:29:12 +08:00
Tienson Qin
8071c97ae2 Merge branch 'feat/db' into fix/multiple-tabs 2025-04-23 07:32:05 +08:00
Gabriel Horner
8cb5fecb91 fix: user can't reverse a class parent decision
Class parent defaults to Root but user can't select it later. This
should be reversible, especially given how much functionality this
affects. Fixes #256
2025-04-22 09:50:51 -04:00
Tienson Qin
1c9c129394 Merge branch 'feat/db' into fix/multiple-tabs 2025-04-22 20:30:04 +08:00
Tienson Qin
7f9517c7d8 fix: (rseq nil) throws error 2025-04-22 19:02:28 +08:00
Tienson Qin
c6560231d3 fix: cardinality one property get multiple values in db
The bug was introduced by 3a41bbcdbe
2025-04-22 18:59:37 +08:00
rcmerci
90865bf6a6 Squashed commit of the following:
commit 18c0762f6e
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Apr 22 16:29:27 2025 +0800

    chore: bump datascript

commit be66b5e6c0
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Apr 22 09:56:45 2025 +0800

    chore: bump datascript

commit 6788818aec
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Apr 21 23:22:48 2025 +0800

    enhance: property keyboard navigation (#11825)

    Keyboard enhancements:

    1. UP/DOWN to navigate between blocks and properties, the property value will be focused and highlighted
    2. Backspace/Delete to delete a property value and move it to the nearest property or block above
    3. Enter/Space to open datetime and select type property value

commit 727391fe7a
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Apr 21 18:01:05 2025 +0800

    fix: don't show breadcrumb for pages when tagging

commit 615e2a392e
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Apr 21 17:55:51 2025 +0800

    enhance(ux): display existing choices when choosing node property

commit 30d230380f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Sun Apr 20 23:21:50 2025 +0800

    perf: skip db persistent for previous actions in pipeline

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-22 16:39:24 +08:00
rcmerci
8f63f78bd9 Squashed commit of the following:
commit be66b5e6c0
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Apr 22 09:56:45 2025 +0800

    chore: bump datascript

commit 6788818aec
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Apr 21 23:22:48 2025 +0800

    enhance: property keyboard navigation (#11825)

    Keyboard enhancements:

    1. UP/DOWN to navigate between blocks and properties, the property value will be focused and highlighted
    2. Backspace/Delete to delete a property value and move it to the nearest property or block above
    3. Enter/Space to open datetime and select type property value

commit 727391fe7a
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Apr 21 18:01:05 2025 +0800

    fix: don't show breadcrumb for pages when tagging

commit 615e2a392e
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Apr 21 17:55:51 2025 +0800

    enhance(ux): display existing choices when choosing node property

commit 30d230380f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Sun Apr 20 23:21:50 2025 +0800

    perf: skip db persistent for previous actions in pipeline

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-22 16:36:58 +08:00
Tienson Qin
18c0762f6e chore: bump datascript 2025-04-22 16:29:27 +08:00
Tienson Qin
be66b5e6c0 chore: bump datascript 2025-04-22 09:56:45 +08:00
charlie
fefa0e9958 Merge branch 'feat/db' into feat/capacitor-new 2025-04-22 08:54:01 +08:00
rcmerci
e56d531f13 fix: use broadcast-to-clients! to postmessage to clients 2025-04-22 02:20:07 +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
Tienson Qin
7d436cf5eb chore: bump datascript 2025-04-20 18:03:23 +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
Gabriel Horner
63403bd8c5 fix: remove unused workarounds from #11774
Previous commit fixed these issues
2025-04-18 12:33:51 -04:00
Gabriel Horner
4ad4944b4e 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-18 12:29:06 -04:00
charlie
e7f0a8ceab Merge branch 'feat/db' into feat/capacitor-new 2025-04-18 20:52:13 +08:00
Tienson Qin
a70372ac88 enhance: unify page and block references 2025-04-18 10:24:09 +08:00
charlie
573f2ce145 Merge branch 'feat/db' into feat/capacitor-new 2025-04-18 08:51:18 +08:00
charlie
f7997bee24 enhance(capacitor): dev scripts 2025-04-18 08:48:28 +08:00
Tienson Qin
cb66a5ad7f fix: check and fix db schema 2025-04-17 20:26:40 +08:00
Charlie
21c58e8912 refactor(ui): remove react tippy (#11822)
* refactor: remove all react tippy stuff
2025-04-17 18:32:06 +08:00
Gabriel Horner
2f4b40aa22 fix: property value blocks failing export+import
Property value blocks that were referenced elsewhere failed to export.
Property value blocks with ref-able properties are not supported yet
and failed import.
Fixes
https://test.logseq.com/#/page/67fe80a2-e7b3-44ab-aaad-1f365c5b2541
2025-04-16 15:23:20 -04:00
Gabriel Horner
b78edc1b59 fix: :build/property-classes for built-in classes 2025-04-16 15:18:30 -04:00
Tienson Qin
a1504e4d9e fix: sort order for references 2025-04-16 18:06:41 +08:00
Tienson Qin
d378c7e754 enhance: don't update :block/updated-at when collapsing or expanding 2025-04-16 17:57:29 +08:00
Tienson Qin
62514b74d8 perf: page filter and search 2025-04-16 15:18:20 +08:00
Tienson Qin
c2fc1ba35d chore: remove outdated code 2025-04-16 14:17:02 +08:00
Tienson Qin
34b33c1682 fix: debug transit export 2025-04-16 14:01:45 +08:00
Gabriel Horner
04a93f6613 chore: mv db or file graph specific ldb fns to
db or file graph namespaces. Follow up to
https://github.com/logseq/logseq/pull/11774#discussion_r2035354875 to
help avoid bugs that are hard to spot b/c of no organization
2025-04-15 22:45:16 -04:00
Tienson Qin
c6f3b0deb3 fix: group by page for list views 2025-04-15 23:36:40 +08:00
Tienson Qin
fc06cbc33c debug 2025-04-15 22:59:24 +08:00
Tienson Qin
86d2adc4f0 fix: perf 2025-04-15 12:21:35 +08:00