Commit Graph

14521 Commits

Author SHA1 Message Date
Gabriel Horner
ce4df797dd fix: user can right click delete private tags
resulting in invalid states. Also catch this at outliner level
2025-05-09 09:36:16 -04:00
Tienson Qin
3d9cb9238c fix: mutual block reference
Also, :block/title shouldn't replace non-page block id references
because it could be recursive.
2025-05-09 21:23:50 +08:00
Gabriel Horner
74689edb0e fix: remove unused/invalid attr for file graph var
caught by linter
2025-05-09 02:51:54 +08:00
Gabriel Horner
5be0d024ae fix: model lint and remove unused fns and frontend.db
bindings
2025-05-09 02:51:54 +08:00
Gabriel Horner
b985020d1f refactor: mv file graph model fns to their own ns
All these fns are only used by file graphs. Most only act on file only
attributes e.g. :block/file, :block/pre-block? and :block/namespace
2025-05-09 02:51:54 +08:00
Gabriel Horner
0b2c1d4a0a fix: view-context :block not working for properties 2025-05-08 13:57:21 -04:00
Tienson Qin
6101ecd785 enhance: display type block editing check
`state/get-edit-block` returns the block when it's going to be edited,
we need to get the current block value to determine whether it's a
display type block, because adding #quote/math/query can happen during
the editing phase.
2025-05-08 22:58:47 +08:00
Gabriel Horner
121312b8ef fix: journals toggle still displayed journals
A regression probably from aa2bf82b08.
Also fix journals still showing up in left sidebar
2025-05-08 10:44:11 -04:00
Gabriel Horner
d4f34ddfba fix: paste multi lines to math block 2025-05-08 10:09:16 -04:00
rcmerci
7212086fee fix(editor): paste multi-lines text to quote-block 2025-05-08 17:57:12 +08:00
Gabriel Horner
4c30aa2904 chore: remove unused batch-delete option
orphaned-pages? deletion from #3006 is no longer used
2025-05-07 16:04:59 -04:00
Gabriel Horner
87c3e4be86 fix: advanced query fails app
Non-string was failing to render in backup error component.
Fixes logseq/db-test#275
2025-05-07 15:37:07 -04:00
charlie
fe6417407e fix(ui): incorrect select blocks behavior for the block editing mode 2025-05-08 00:07:50 +08:00
Tienson Qin
3dcd6a2699 Add the last two migrations to fix-db 2025-05-07 23:52:56 +08:00
charlie
fb5c50ebda fix(ui): alignments for the sidebar page items 2025-05-07 16:05:51 +08:00
Tienson Qin
8a8d855094 enhance: shift+click to select table rows 2025-05-07 15:03:04 +08:00
Tienson Qin
73a8708b1b fix: rebuild from datoms when db migration failed 2025-05-07 04:52:31 +08:00
Gabriel Horner
a5a4d23958 fix: lint 2025-05-06 15:24:35 -04:00
Tienson Qin
2795bd3000 fix: db migrate error 2025-05-07 03:12:05 +08:00
Gabriel Horner
7319e1541c enhance: deprecate :journal/file-name-format for db graphs
Confirmed all uses of it are file only and fixed a case where db graph
could've accidentally used it (by having org-mode configured)
2025-05-06 14:44:58 -04:00
Tienson Qin
8f7cd930d9 fix: db migrate 2025-05-07 02:18:49 +08:00
Tienson Qin
200e06fdba fix: rebuild-db-from-datoms only for missing addresses error 2025-05-07 00:46:09 +08:00
Tienson Qin
bf67373525 fix: log db migrate error 2025-05-07 00:34:33 +08:00
Gabriel Horner
584faf2f48 enhance: deprecate :default-templates config for db graphs
Db graph no longer invoke file graph config and queries for today
journal and on journal page load
2025-05-06 12:18:10 -04:00
Gabriel Horner
8dd1f1b7af chore: remove property condition that is no longer used 2025-05-06 10:47:20 -04:00
Tienson Qin
4115457e13 fix: click on table property value opens two popups 2025-05-06 22:36:47 +08:00
Tienson Qin
39c8a9752c fix(perf): don't refresh kv and custom queries when loading blocks
Both kv and custom queries should be refreshed only if there're new
db transactions.
2025-05-06 22:02:39 +08:00
rcmerci
312a77b479 fix(editor): slow recur-replace-uuid-in-block-title
Forgot to convert next-refs to a set, leading to a large amount of redundant computation
2025-05-06 21:48:11 +08:00
Tienson Qin
8ba98a32a8 fix: can't select values from view filter 2025-05-06 12:51:46 +08:00
Tienson Qin
2149a98406 fix: migrate status/priority values in view filters 2025-05-06 12:29:09 +08:00
Tienson Qin
9b50bb4220 fix: handle other cases when renaming properties 2025-05-06 12:29:09 +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
Gabriel Horner
499392cae0 chore: mv file asset upload to file-based ns
Noticed that this feature was the only use of get-pages-directory
that wasn't in a file specific ns
2025-05-05 17:59:13 -04:00
Gabriel Horner
6fa20a4853 fix: deprecate more file graph only :config 2025-05-05 16:51:05 -04:00
Gabriel Horner
6137d477ee fix(regression): new db graph doesn't have config.edn
Fixes https://github.com/logseq/db-test/issues/273. Looks like this was introduced in #11819
2025-05-05 15:00:13 -04:00
Tienson Qin
62b654319f add template and calculator tests 2025-05-05 21:18:38 +08:00
Tienson Qin
2193e3bae1 chore: remove query function for db graphs 2025-05-05 20:37:32 +08:00
Tienson Qin
70040cd351 fix: don't convert queries when exporting debug transit 2025-05-05 20:34:27 +08:00
Tienson Qin
cead4f1c88 add query tests 2025-05-05 20:31:13 +08:00
Tienson Qin
5f8dc07638 fix: calc result position 2025-05-05 12:25:15 +08:00
Tienson Qin
2d6fa2f400 fix: lint 2025-05-05 12:20:39 +08:00
Tienson Qin
5c15cf5df1 enhance(ux): sidebar polish 2025-05-04 17:57:28 +08:00
Tienson Qin
0683dd6a56 enhance: use tabler icons instead of our own extensions 2025-05-04 17:31:27 +08:00
Tienson Qin
5ce4935c51 fix: can't create new page or rename page if same page with
different parent exists.

fixes https://github.com/logseq/db-test/issues/272
2025-05-04 16:52:59 +08:00
Tienson Qin
230a512ccf enhance(ux): open tag page in sidebar after creating in cmdk 2025-05-04 16:00:13 +08:00
Tienson Qin
221e49581b fix: can't create new page with command + k if same name page
with different tag exists.
2025-05-04 15:56:10 +08:00
Tienson Qin
b697b7d3c9 fix: heading formatting shifts Query gear shift to new line
fixes https://github.com/logseq/db-test/issues/267
2025-05-04 12:47:23 +08:00
Tienson Qin
bca0d5106f fix: can toggle group by page for references 2025-05-04 12:32:21 +08:00
charlie
98ac6e573b enhance(electron): add confirm dialog for the custom protocol links 2025-05-04 12:07:52 +08:00
Tienson Qin
b865abef53 fix: unable to edit broken query
fixes https://github.com/logseq/db-test/issues/225
2025-05-04 11:56:02 +08:00