Commit Graph

3732 Commits

Author SHA1 Message Date
Tienson Qin
365823abc0 fix: tests 2025-03-04 21:58:29 +08:00
Tienson Qin
aff24f2de1 fix: create new text block when invoking /template 2025-03-04 21:32:31 +08:00
Tienson Qin
2d98a84079 fix: create new property text blocks when insert templates
or pasting copied blocks.
2025-03-04 20:39:49 +08:00
Tienson Qin
ce40c39933 fix: block linked refs 2025-03-04 17:24:33 +08:00
Gabriel Horner
7e5d8ed686 fix: export+import of property values
that are internal entities. Don't reference internal ents
with uuids as it is not graph agnostic and causes failure on import
2025-03-03 17:45:05 -05:00
Tienson Qin
64bfb7bc4c fix: add missing reference for template blocks 2025-03-04 06:44:23 +08:00
Gabriel Horner
16930aa23c enhance: add :block/link support for export+import edn 2025-03-03 16:20:42 -05:00
Gabriel Horner
6af5720535 chore: remove unnecessary keep-uuid? option 2025-03-03 13:43:40 -05:00
Gabriel Horner
0852dec984 chore: Add optional verbose test runner for db deps
Also adjust one test which made verbose mode unreadable by printing a
large data structure where an assertion should go
2025-03-03 09:55:35 -05:00
Tienson Qin
b7e81afd84 feat: auto apply templates to object when adding a tag 2025-03-03 18:59:42 +08:00
Tienson Qin
ff5e8e6748 enhance: add :logseq.property/used-template to group template blocks 2025-03-03 18:03:55 +08:00
Tienson Qin
7d1dda44e1 Merge branch 'feat/db' into feat/text-template 2025-03-03 16:12:46 +08:00
Tienson Qin
fa6bccd1e7 fix: lint 2025-03-02 16:15:18 +08:00
Tienson Qin
0a29d32c65 fix: embed self in property value 2025-03-02 16:09:21 +08:00
Tienson Qin
1aeef85e4a feat: /template command 2025-03-02 15:23:13 +08:00
Tienson Qin
c84eb9b0bb Add :logseq.class/Template 2025-03-02 14:48:40 +08:00
Tienson Qin
02a3c407fb Merge branch 'feat/db' into feat/blocks-action-bar 2025-02-28 19:25:24 +08:00
Tienson Qin
3ba14c6051 enhance: show selection action bar on mouse up 2025-02-28 17:01:09 +08:00
charlie
4dca58ff00 chore(dev): ignored errors 2025-02-28 10:55:20 +08:00
Gabriel Horner
0fc8af5686 refactor: remove db-graph behavior from file-graph gp-extract
Makes importer easier to maintain as there's less confusion with unused
checks in gp-extract
2025-02-27 11:20:24 -05:00
charlie
40f84e1dde enhance(ui): polish property dropdown editor 2025-02-27 11:42:31 +08:00
Gabriel Horner
3d34224143 fix: remove a few more file-graph fns in db graph only namespaces
Found by configuring separate linter for most of remaining deps
2025-02-26 18:02:22 -05:00
Gabriel Horner
1d855d012f enhance: add EDN export for any view 2025-02-26 16:43:23 -05:00
Tienson Qin
82ca4bc9e5 wip: add action bar for selected blocks
New UI component: ButtonGroup.
2025-02-27 00:07:58 +08:00
charlie
a51b26c161 fix(ui): sticky columns for the pin table header 2025-02-26 17:33:00 +08:00
charlie
290616c14e enhance(ux): disable sticky table header for the list journals 2025-02-26 16:02:57 +08:00
Tienson Qin
ab5f81123b feat: cmd-k shows recently updated pages
Also increases nodes group limit to 10, it's 5 previously.
2025-02-25 15:55:00 +08:00
Gabriel Horner
aa5080b331 fix: intermittent failure with :build-existing-tx?
Would only happen on imports where a complex set of added page property
values failed. Turns out these tx issues were caused by split-blocks-tx
2025-02-24 15:24:00 -05:00
Gabriel Horner
841fbdcdf6 enhance: export+import handles nested :build/page
property values
2025-02-24 14:48:38 -05:00
Gabriel Horner
87c09dc2c0 fix(dev): sqlite.build doesn't detect :build/page prop values
correctly. Also add :date property inferencing
2025-02-24 14:15:25 -05:00
Tienson Qin
d11bdc44d9 fix: File graphs repeatedly add collapsed properties 2025-02-24 17:20:44 +08:00
Tienson Qin
38c74161a3 Merge branch 'feat/db' into enhance/reference-view 2025-02-24 14:53:27 +08:00
Tienson Qin
3761194ff4 Rename view/identity to view/feature-type 2025-02-24 14:51:40 +08:00
charlie
2d1c3bf050 chore: remove debug 2025-02-24 14:42:07 +08:00
charlie
4e629ddaa6 enhance(ui): set active state for the popup trigger 2025-02-24 14:41:16 +08:00
Gabriel Horner
12c17f220a fix: misplaced docstring + outdated ignore 2025-02-21 16:30:52 -05:00
Gabriel Horner
05037c456e Merge branch 'feat/db' into enhance/reference-view 2025-02-21 15:33:40 -05:00
Gabriel Horner
054c8c42d2 fix: importing more than once created duplicate pages
for property values with :build/page
2025-02-21 12:42:56 -05:00
Gabriel Horner
a483a41aff fix: import blocks with :build/page property values
more than once. Was failing on tx ordering
2025-02-21 11:12:45 -05:00
Tienson Qin
38664c7d73 fix: tests 2025-02-21 16:18:33 +08:00
Tienson Qin
dc078b5ec4 fix: wrong check with has-tag? 2025-02-21 16:08:32 +08:00
rcmerci
819b1775a7 fix: unable to delete first child block 2025-02-21 15:27:00 +08:00
Gabriel Horner
0ccb59a2ad fix: merging exports for same journal
or page and their blocks. Also fix lint
2025-02-20 17:18:16 -05:00
Gabriel Horner
cdf6183852 enhance: export+import refs in property values 2025-02-20 15:58:18 -05:00
Gabriel Horner
04b832f5cb chore: mv file graph specific fns out ldb 2025-02-20 12:37:13 -05:00
Tienson Qin
2346df237c fix(regression): Query tables look smushed together
fixes LOG-3220
2025-02-20 22:05:10 +08:00
Tienson Qin
69f2f49cea fix: lint 2025-02-20 18:07:39 +08:00
Tienson Qin
bd779e3007 Merge branch 'feat/db' into enhance/reference-view 2025-02-20 18:04:58 +08:00
rcmerci
d567261e61 enhance: make build-db-initial-data idempotent (#11750)
* enhance: make build-db-initial-data idempotent (1)

handle logseq/{config.edn,custom.css,custom.js}

* test: add build-db-initial-data-test
2025-02-20 18:02:37 +08:00
Tienson Qin
20d483fa30 Merge branch 'feat/db' into enhance/reference-view 2025-02-20 17:39:46 +08:00