Gabriel Horner
5c8b23febd
fix: don't run rtc task in publishing
...
Also forgot to commit better binding name for #11731
2025-02-12 13:11:50 -05:00
Tienson Qin
e7e4294088
Feat: view group by ( #11731 )
...
* wip: view group by
* feat: view group by rendering
* enhance: use current group's value when creating new block
* enhance: add icons for view layouts
* fix: group rows selection
* fix: property type migration from #11695
* refactor: use namespaced keyword for block export
instead of confusing :build/block. Also improved related tests,
simplified import steps, added some missing sqlite.build docs,
and fixed :build/uuid not working for some existing journals.
* fix: remove export+imports invalid
when uuids are kept and when journals are created.
Also removed :logseq.class/Journal from export as its needless noise
* fix(ux): incorrect behavior for the sub menu content within the table header popup
* fix: group rows delete
* fix: lint
* fix: group block delete
* fix: bump version
* fix: group by titles not correct for :checkbox
Also enable group-by for :date as they just work
* fix: disable nonsensical and unreadable groupings for :many properties
* fix: grouping not working for :default property type
and sometimes :number or :url.
Was grouping by entity and not what user reads. If there are
2 :default values with 'text ha', this seemed buggy
* fix: icons not showing for grouping by status
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
Co-authored-by: charlie <xyhp915@qq.com >
2025-02-12 12:56:55 -05:00
rcmerci
7703887c99
fix: db-worker API does not currently support parameters of the UUID type
2025-02-12 23:29:24 +08:00
rcmerci
0533377e0f
Merge remote-tracking branch 'origin/feat/db' into enhance/rtc-migrate-graph-schema
2025-02-12 15:05:36 +08:00
rcmerci
4195d40241
refactor: remove defrecord SchemaVersion, use a simple map for better compatible with nbb
2025-02-12 15:02:41 +08:00
Gabriel Horner
b6159b7a18
fix: typo
2025-02-11 15:37:42 -05:00
Gabriel Horner
4ed5897e4e
chore: enable export+import edn commands
...
for any user. Better to get feedback early and iterate.
Easy to reverse this as needed
2025-02-11 15:31:29 -05:00
Gabriel Horner
4517f666c9
fix: frontend lint
2025-02-11 10:15:26 -05:00
Gabriel Horner
aae1bb04f2
fix: export commands return partial results
...
Use worker db to get full results. Using render db only returned
what had been lazy loaded
2025-02-11 10:11:58 -05:00
charlie
8d3dbaa0eb
fix(ux): incorrect behavior for the sub menu content within the table header popup
2025-02-11 11:43:31 +08:00
Gabriel Horner
8b8055dd72
refactor: use namespaced keyword for block export
...
instead of confusing :build/block. Also improved related tests,
simplified import steps, added some missing sqlite.build docs,
and fixed :build/uuid not working for some existing journals.
2025-02-10 15:18:45 -05:00
Gabriel Horner
d9121cd344
fix: property type migration from #11695
2025-02-10 10:21:09 -05:00
Tienson Qin
f5c227e7ae
feat: match all/any filters suport ( #11695 )
2025-02-10 13:56:12 +08:00
Tienson Qin
8140ba7937
fix: sort
2025-02-10 13:54:01 +08:00
Tienson Qin
38a197eec4
feat: match all/any filters suport ( #11695 )
2025-02-10 13:32:44 +08:00
Tienson Qin
5a64e6359f
fix: sort
2025-02-10 13:15:17 +08:00
rcmerci
49658d8d67
fix: refresh local repos as well
2025-02-08 17:32:11 +08:00
rcmerci
1ad5422acf
enhance(rtc): more precise malli-schema for :schema-version
2025-02-08 17:32:11 +08:00
rcmerci
597e83e2c4
chore: fix lint
2025-02-08 17:32:11 +08:00
rcmerci
dfdd55a972
chore: add docstring
2025-02-08 17:32:11 +08:00
rcmerci
9309b4f3ca
fix: fix combine-local-&-remote-graphs
2025-02-08 17:32:11 +08:00
rcmerci
08a45dcea8
fix: use transit instead of ->clj&->js
...
to avoid some data serialization issues.
e.g. uuid becomes a map
2025-02-08 17:32:11 +08:00
rcmerci
3dddc4323a
enhance(rtc): show more info in debug-ui
2025-02-08 17:32:11 +08:00
rcmerci
5143d7467d
feat: introduce SchemaVersion to replace current schema-version using a plain number
2025-02-08 17:32:11 +08:00
rcmerci
4b4c3c87c3
enhance(rtc): update rtc malli-schema
2025-02-08 17:32:11 +08:00
rcmerci
54cb6a2e54
enhance(rtc): update malli-schema for api response
2025-02-08 17:32:11 +08:00
rcmerci
9c8696ce21
enhance(rtc): print ex-data when major-schema-version mismatch
2025-02-08 17:32:11 +08:00
rcmerci
1c7ab05541
fix(rtc): fix rtc-log type
2025-02-08 17:32:11 +08:00
rcmerci
0f55ab4a76
enhance(rtc): create new graph branch when major-schema-version changed
2025-02-08 17:32:11 +08:00
rcmerci
0e9f090a35
enhance(rtc): add db-worker rtc api rtc-async-branch-graph
2025-02-08 17:32:11 +08:00
rcmerci
7961696b0c
enhance(rtc): update fn reset-client-op-conn
2025-02-08 17:32:11 +08:00
rcmerci
5f57708680
enhance(rtc): option to reset rtc-data in conn when upload-graph
2025-02-08 17:32:11 +08:00
rcmerci
9a54d2a4b4
enhance(rtc): notify when need to upload/download higher schema graphs
2025-02-08 17:32:11 +08:00
rcmerci
c721f4c64d
enhance(rtc): simplify rtc-apis in db-worker
2025-02-08 17:32:11 +08:00
rcmerci
452c6787f2
enhance(rtc): transact :logseq.kv/remote-schema-version when upload/download graphs
2025-02-08 17:32:11 +08:00
rcmerci
b1774950c8
enhance(rtc): add background-task to notify client to upgrade
2025-02-08 17:32:11 +08:00
rcmerci
bec7835783
enhance(rtc): add schema-version arg to related apis
2025-02-08 17:32:11 +08:00
rcmerci
42afa2f02b
enhance(rtc): add schema-version when calling register-graph-updates
2025-02-08 17:32:11 +08:00
rcmerci
5ab04c5bec
refactor(db-sync): update rtc-log types
2025-02-08 17:32:11 +08:00
rcmerci
ebbb3222d5
enhance(rtc): validate major-schema-version before rtc
2025-02-08 17:32:11 +08:00
rcmerci
215f86a777
enhance(rtc): rename ns frontend.worker.rtc.branch-graph, fix rtc malli-schema
2025-02-08 17:32:11 +08:00
rcmerci
2d802e3446
enhance(rtc): add ns frontend.worker.rtc.migrate
2025-02-08 17:32:11 +08:00
Tienson Qin
3dcb1e57ba
fix: db migrate
2025-02-08 15:11:38 +08:00
charlie
09ddf31a8e
enhance(ux): force hide table header action popup for the pointer outside event
2025-02-06 16:54:28 +08: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
38aff834f5
fix: export+import of blocks with built-in property closed values
...
e.g. Status. Also tweak class-parent to not needlessly emit Root
which is the default
2025-02-05 15:22:44 -05:00
Gabriel Horner
ca011c980e
enhance: add command to export/import graph's ontology
2025-02-05 14:47:12 -05:00
Gabriel Horner
f02687b184
fix: task query for "In Review" status
...
Affected this status or any user ones with spaces in name.
Fixes https://github.com/logseq/db-test/issues/215
2025-02-05 09:59:45 -05:00
Gabriel Horner
d91b509715
fix: import textarea not scrolling
2025-02-03 16:07:43 -05:00
Gabriel Horner
f66f3100e1
fix: imported page not showing up
...
root needed to be re-rendered like with file graph import
2025-02-03 14:42:40 -05:00