Commit Graph

20343 Commits

Author SHA1 Message Date
Gabriel Horner
929ae21d21 enhance: only run export patch for initial version up to 64.8
One less postwalk for large graphs. Dunno how long this patch will be
in. For https://github.com/logseq/db-test/issues/278
2025-05-19 10:02:51 -04:00
Tienson Qin
b8a831b38c fix: recursively replace ref ids with title for search/prop value 2025-05-19 21:54:10 +08:00
Tienson Qin
9ceefde5b7 fix: show deep reference title instead of id when searching blocks 2025-05-19 21:54:10 +08:00
Gabriel Horner
19ad493852 fix: new dev cmd inconsistently appearing in cmd list
Db only cmds should use :db-graph? not :inactive. Using :inactive
doesn't work for specific graph types. For example if the app loads with
a file graph, the dev cmd is marked as inactive and after switching to
db graph it is still inactive
2025-05-19 08:55:39 -04:00
Gabriel Horner
5b7fba1bcb fix: catch typo 2025-05-19 08:33:56 -04:00
Tienson Qin
60f2b3eea2 fix: mod+enter can't open search in sidebar 2025-05-19 18:26:10 +08:00
Tienson Qin
b473a20874 fix: can't remove hidden property pages 2025-05-19 17:57:38 +08:00
charlie
0e71cd9f2f enhance(capacitor): switch graphs 2025-05-19 17:07:17 +08:00
Tienson Qin
87d2a56b63 fix: remove blocks of hidden pages from search 2025-05-19 16:21:11 +08:00
Tienson Qin
26b8ce2370 enhance(ux): display blocks refs as page refs for db graphs 2025-05-19 16:03:17 +08:00
charlie
cc2d4ece15 Merge branch 'feat/db' into feat/capacitor-new 2025-05-19 15:39:28 +08:00
Tienson Qin
8b1984e408 fix: wrong breadcrumb when selecting nodes 2025-05-19 15:35:52 +08:00
Tienson Qin
28d42907c9 fix: re-ask permission for backup filehandle when expired
fix https://github.com/logseq/db-test/issues/276
2025-05-19 15:15:23 +08:00
charlie
c05164955b enhance(capacitor): native datepicker for Android 2025-05-19 11:09:22 +08:00
rcmerci
c7271304e1 test(e2e): add exit-0 back 2025-05-18 23:47:33 +08:00
rcmerci
3491381877 test(e2e): divide test-ns into '-basic-test' and '-extra-test' 2025-05-18 23:21:59 +08:00
Tienson Qin
1ac6ff9121 fix: ensure editor is table before fill
https://playwright.dev/java/docs/actionability#stable
2025-05-18 18:18:55 +08:00
rcmerci
b5a73b9b72 test(e2e): wait before fill (2) 2025-05-18 17:55:19 +08:00
rcmerci
35fc120056 test(e2e): wait before fill 2025-05-18 17:41:32 +08:00
Tienson Qin
9b5d55d005 fix: send current db schema-version to sentry when missing addrs 2025-05-18 16:45:45 +08:00
Tienson Qin
6602b814ae feat: add command fix broken graph 2025-05-18 16:37:30 +08:00
rcmerci
f5715abfa5 fix lint 2025-05-18 16:36:43 +08:00
rcmerci
ddf977bf52 enhance(rtc): show upload logs when init uploading graph 2025-05-18 16:35:01 +08:00
rcmerci
2d67629276 enhance(rtc): show download logs when init downloading graph 2025-05-18 01:56:00 +08:00
charlie
834310ed6e fix(capactior): fs 2025-05-17 18:36:38 +08:00
charlie
1bc07f1010 enhance(capacitor): blocks container for journals list 2025-05-17 15:36:04 +08:00
Gabriel Horner
b9c771fe7a fix: lint 2025-05-16 15:54:08 -04:00
Gabriel Horner
1f685deff7 fix: graph export for invalid keywords
Fixes https://github.com/logseq/db-test/issues/278.
Can remove later if there's a migration
2025-05-16 15:52:07 -04:00
Gabriel Horner
6c07d8838e fix: invalid keywords can be created by user
In https://github.com/logseq/db-test/issues/278, user has graph that
contains invalid edn keyword caused by name part of keyword starting
with a number e.g. :user.property/2ndsomething. Added thorough tests
based on reference doc for both nbb and cljs versions of buggy fn. For
cljs version, allowed a few more special characters in as they've
all been confirmed to be valid edn
2025-05-16 14:02:17 -04:00
Gabriel Horner
a16eb2eb10 chore: bump exporter test time
exporter taking little longer on docs graph with recent
change where advanced query rewrite is included in test
2025-05-16 13:46:26 -04:00
Gabriel Horner
edae0853a3 fix: app failing on creating properties
:cljs conditional still needs process check for web
2025-05-16 12:56:47 -04:00
Gabriel Horner
a0ee41ca86 fix: db graph cljs tests need repeatable idents
Also remove unused ldb fn
2025-05-16 11:44:16 -04:00
Gabriel Horner
28675be54b enhance(dev): cljs tests can run with or without repeatable idents 2025-05-16 11:29:22 -04:00
Tienson Qin
1b3ce6fa4d fix: don't count block created-by as refs 2025-05-16 23:23:54 +08:00
Gabriel Horner
6cddee4f5a chore: bump nbb test runner to latest feature
now that PR is merged
2025-05-16 08:48:44 -04:00
charlie
c98603b14d enhance(capacitor): journals home 2025-05-16 17:24:48 +08:00
charlie
ed8e7d9daf enhance(capacitor): add native datepicker 2025-05-16 17:08:42 +08:00
Tienson Qin
e06b2c910c fix: sentry capture expects primitive values for schema version 2025-05-16 16:33:55 +08:00
charlie
5cbd2a4ae5 Merge branch 'feat/db' into feat/capacitor-new 2025-05-16 15:40:05 +08:00
Gabriel Horner
120730a8dc enhance: enable counts for linked references
This was previous behavior and is helpful for getting overview of linked
refs and seeing that filters are roughly working
2025-05-15 17:53:57 -04:00
Gabriel Horner
c308e04b93 refactor: Ensure all ::sqlite-export keys aren't passed to sqlite.build
Enumerating each namespaced key was error prone and too tightly coupled
2025-05-15 17:35:33 -04:00
Gabriel Horner
bd115eef0f enhance: add import option to allow existing pages to keep properties 2025-05-15 17:25:18 -04:00
Gabriel Horner
f896a774ed enhance(dev): CLI built db graphs
have same config.edn as UI ones. Also improve over hack to add
additional config now that rewrite-clj is available
2025-05-15 14:06:54 -04:00
Gabriel Horner
8f23966a72 fix: remove duplicate conversion of config.edn from UI
Conversion of config.edn was moved to exporter in previous commit
2025-05-15 12:18:56 -04:00
Gabriel Horner
dda13d61b9 enhance: improved config.edn for new db graphs
New db config.edn don't include any of the file graph keys or comments.
Previously all comments were confusingly left lying around.
Also moved conversion of imported config.edn so that CLI can use it.
Also temporarily moved one dep to
https://github.com/nextjournal/nbb-test-runner/pull/2 until the PR is
merged
2025-05-15 12:14:46 -04:00
Gabriel Horner
a83285f705 Revert "enhance: move :block/title to page-or-block-attrs"
This commit causing graph invalid errors and failing tests.
This reverts commit a02e842ea3.
2025-05-15 12:11:01 -04:00
Tienson Qin
765568bd4e enhance: filter recently updated when input
Also, don't show new page for built-in files
2025-05-16 00:07:43 +08:00
Tienson Qin
09b333a5c3 fix: pages displayed as invalid ref in table view 2025-05-15 23:49:02 +08:00
Tienson Qin
693b2c166d enhance: add db schema versions to error capture 2025-05-15 23:13:04 +08:00
Tienson Qin
a02e842ea3 enhance: move :block/title to page-or-block-attrs
Because both page and block require `:block/title`.
2025-05-15 22:46:19 +08:00