Commit Graph

23218 Commits

Author SHA1 Message Date
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
Tienson Qin
cb3183637d fix: db tests 2025-05-17 00:05:25 +08:00
Tienson Qin
8411a1e91b fix: db query tests 2025-05-16 23:56:59 +08:00
Tienson Qin
92d8e9ea73 fix: db export test 2025-05-16 23:48:32 +08: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
Tienson Qin
c0e3a5f81c fix: lint 2025-05-16 23:34:14 +08: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
42778d36ae Merge branch 'feat/db' into refactor/page-parent 2025-05-16 23:27:20 +08:00
Tienson Qin
1b3ce6fa4d fix: don't count block created-by as refs 2025-05-16 23:23:54 +08:00
Tienson Qin
baa615f463 Add migration test 2025-05-16 23:15:45 +08:00
Tienson Qin
1e089224c9 fix: breadcrumb style 2025-05-16 22:18:11 +08:00
Tienson Qin
4ee5e68560 fix: breadcrumbs 2025-05-16 22:11:12 +08:00
Tienson Qin
dca6ef95ee add migration 2025-05-16 21:31:06 +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
Tienson Qin
0822e455f8 Add tests for namespaces in Library 2025-05-16 16:27:28 +08:00
Tienson Qin
b9fedf2eb9 fix: use ldb/get-built-in-page to get Library
To avoid get another page with the same title.
2025-05-16 16:03:42 +08:00
charlie
5cbd2a4ae5 Merge branch 'feat/db' into feat/capacitor-new 2025-05-16 15:40:05 +08:00
Tienson Qin
407154d537 fix: tests 2025-05-16 15:01:13 +08:00
Tienson Qin
99e816e9de chore: rename get-page-parents to get-class-extends 2025-05-16 14:45:44 +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
Tienson Qin
f5efa2d638 fix: remove invalid blocks that have no dispatch key 2025-05-15 22:36:00 +08:00
Tienson Qin
42fb68ff6e fix: invalidate blocks with table filters but not title 2025-05-15 21:51:00 +08:00
Tienson Qin
38267ece78 chore: remove debug 2025-05-15 21:30:43 +08:00
Tienson Qin
b5bf3ff27a chore: remove new-sqlite-client-ops-storage 2025-05-15 20:41:51 +08:00
Tienson Qin
f0a00acf75 enhance: fail fast when there're missing addresses 2025-05-15 18:40:39 +08:00
Tienson Qin
12c6928ba0 fix: can't switch to another graph if failed to open current one 2025-05-15 17:59:22 +08:00
charlie
bf040e07db Merge branch 'feat/db' into feat/capacitor-new 2025-05-15 17:36:29 +08:00
Tienson Qin
f17eb64457 enhance: better report on missing addresses error 2025-05-15 17:17:54 +08:00
Tienson Qin
4d7e286006 chore: update comment 2025-05-15 17:13:19 +08:00
Tienson Qin
767f86344b enhance: check missing addresses on dev 2025-05-15 17:10:03 +08:00
Tienson Qin
ddf45c94ae fix: rebuild db for file based graphs too when missing addresses 2025-05-15 16:03:12 +08:00
Tienson Qin
c096f9fb39 Style tweaks 2025-05-15 16:02:06 +08:00
Tienson Qin
568db4a759 enhance(ux): show block breadcrumbs on header 2025-05-15 15:52:31 +08:00
charlie
b1a20b0f55 fix(ui): color for the plugin toolbar buttons 2025-05-15 14:39:13 +08:00
Tienson Qin
ee1005baf5 fix: breadcrumbs 2025-05-15 05:41:19 +08:00
Tienson Qin
c010df2548 Style tweaks 2025-05-15 05:32:45 +08:00
Tienson Qin
1c01931234 enhance: disable node preview in editing mode 2025-05-15 05:25:53 +08:00