Tienson Qin
60d4fca0ba
wip: remove :block/name uniqueness for db based graphs
...
This PR also remove supports for:
1. merge pages when renaming a page to existing page
2. namespaces such as a/b/c
3. nested page such as [[a [[nested page]]]]
Pages merge might be added back depends on RTC, but it should be
decoupled from renaming, otherwise it's too complex.
Namespaces and nested pages have been contributed some critical bugs
that lead data-loss, they're so complex together with page alias,
it's just impossible to have a good test coverage and ensure the app
is stable, especially when page rename and RTC.
2024-04-04 15:57:48 +08:00
Gabriel Horner
12c667fabb
Update nbb-logseq to latest datascript
2024-04-02 09:36:28 -04:00
Tienson Qin
1987c455e7
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-01 15:47:43 +08:00
Gabriel Horner
f728b7b9f6
fix: multiple bugs with built-in pages, fixes LOG-3046
...
- file graph wasn't creating built in pages
- 3 places where db graphs were incorrectly using file graph built in
page names
- file graphs creating default pages with incorrect format
2024-03-29 16:21:19 -04:00
Tienson Qin
98d2b92ab1
fix: schema && built-in properties
2024-03-25 10:59:09 +08:00
Gabriel Horner
67a7a0a3e9
enhance: Add default namespace of :logseq.property
...
for db/ident of built-in-properties. Namespacing block identities will
be important for future features. Adding namespacing also fixed some
hidden coupling between identity and name. Also converted a couple more
related :block/name queries to use :db/ident to slowly get us closer to
named blocks
2024-03-15 18:37:15 -04:00
Gabriel Horner
96b35c0252
Update nbb-logseq to stub in cljs-bean.transit
2024-03-11 15:19:50 -04:00
Gabriel Horner
c6e358c983
fix: outliner test failing b/c not nbb compatible
...
bumped to latest nbb-logseq which is
2024-03-06 11:06:18 -05:00
Gabriel Horner
b55fe07768
Merge branch 'master' into feat/db
2024-01-24 09:08:41 -05:00
Gabriel Horner
dc5127b48a
enhance: publishing --dev also watches frontend
...
also provide a dedicated backend command for simpler
rebuilding of backend
2024-01-24 08:53:48 -05:00
Gabriel Horner
3cd7b2d762
enhance: add a --dev mode to publishing that pairs with shadow's watch
2024-01-24 08:53:48 -05:00
Gabriel Horner
ce2341506d
fix: publishing not loading correctly
...
Caused by pulling in the new component system. Fixes #10893
2024-01-24 08:53:48 -05:00
Gabriel Horner
77bc1d5d6b
chore: update better-sqlite3 and mldoc in deps to match app
2024-01-23 11:36:32 -05:00
Gabriel Horner
689cf34cc3
fix: lints and a test
...
nbb test was failing b/c outliner had graph-parser as a dependency
but we hadn't manually added the npm dependency
2024-01-23 09:38:16 -05:00
Gabriel Horner
cc1b8445a8
fix: published graphs that don't have any public pages
...
This was failing hard but now it shows a blank graph
like before. Fix LOG-3017
2024-01-23 09:18:23 -05:00
Gabriel Horner
7831476c70
enhance: add a --dev mode to publishing that pairs with shadow's watch
2024-01-22 14:35:36 -05:00
Gabriel Horner
73cbcc5a1c
fix: publishing not building again
...
caused by new ui script changes
2024-01-22 12:05:01 -05:00
Gabriel Horner
a80a182a8f
fix: update publishing setup since there are 2 more assets
...
Also add compilation flag for code splitting bug
2024-01-19 15:27:02 -05:00
Gabriel Horner
34222b3436
chore: bump nbb-logseq that points to upstream nbb
2024-01-15 18:07:49 -05:00
Gabriel Horner
ca020fcdb3
fix: loading all new deps namespaces in nbb
...
- bb test:load-all-namespaces-with-nbb now passes for all deps
- Updated nbb-logseq to support cljs.core/Atom
- Adjusted datascript.impl.entity with previous datascript.db require
so that correct loading occurs in nbb
- fixed missing deps in logseq.outliner
- Converted a minor cljs.spec to malli since malli is nbb compatible
- Changed exists? to some? since they are functionally equivalent for
the given arg and some? is nbb compatible
2024-01-15 12:43:16 -05:00
Gabriel Horner
a81e18e9a6
fix: update nbb-logseq and make entity-plus nbb compatible
...
deps can now load in nbb and all nbb tests pass except for db
2024-01-11 13:10:06 -05:00
Gabriel Horner
4fd0b65639
bump nbb-logseq to use datascript with dirty flag fix
2024-01-02 17:07:11 -05:00
Tienson Qin
822001aace
Merge branch 'feat/db' into refactor/worker-search
2023-12-22 21:33:53 +08:00
Gabriel Horner
d4f438f228
bump nbb-logseq for latest datascript
2023-12-21 13:00:44 -05:00
Tienson Qin
0e11226d01
fix: remove old transit file when unlink repo
...
Also, rename demo repo from "local" to "Logseq demo"
2023-12-21 23:41:45 +08:00
Gabriel Horner
52f7afa18f
bump nbb-logseq to latest datascript with another storage delete fix
...
part of LOG-2974
2023-12-19 13:42:13 -05:00
Gabriel Horner
de3d82baba
bump to latest nbb-logseq with datascript.storage delete fix
2023-12-18 11:10:59 -05:00
Gabriel Horner
0f4cdbbadf
bump outdated nbb-logseq and fix lint
2023-12-11 15:55:38 -05:00
Gabriel Horner
e0901b9d04
bump nbb-logseq to first version
...
that works for forked datascript. Deps tests pass locally
without needing to rely on local builds
2023-12-11 13:52:15 -05:00
Gabriel Horner
548fa98605
enhance: allow CLI and github action to set color accent
2023-11-28 22:32:34 +08:00
Gabriel Horner
5e547a1663
fix: open db graph urls
...
Also introduced var for logseq_db_ in deps
2023-11-27 10:55:22 -05:00
Gabriel Horner
d43fb23ef0
enhance: allow CLI and github action to set color accent
2023-11-15 16:37:03 -05:00
Gabriel Horner
edaf9b286a
chore: move frontend db namespaces to a dedicated parent ns
...
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Gabriel Horner
358987d7b3
Fix icon property and update property related fixmes
2023-09-21 16:34:06 -04:00
Gabriel Horner
71060a847e
fix publishing lint
2023-09-20 10:45:12 -04:00
Gabriel Horner
6cf19c60f8
fix: exclude-from-graph-view and public properties
...
Hide them as no need to see them by default but still need to be
accessible to modify. public's queries hadn't been updated to work with db graph yet
2023-09-20 09:26:37 -04:00
Gabriel Horner
3e9c536818
fix: publishing lints that have been broken for awhile
...
just removing unused code
2023-09-08 12:11:10 -04:00
Gabriel Horner
bcc37eb298
Update publishing to optionally work with db graphs
...
Also updated commandline script
2023-08-15 16:35:03 -04:00
Tienson Qin
15cb78fbf7
fix: add pre-configured properties when creating a new db graph
2023-08-02 01:49:23 +08:00
Gabriel Horner
791bd90d88
Fix frontend code breaking a deps library again
...
Please run `yarn test` in a dep to ensure it still works /cc
@tiensonqin. See 84b80e8b76
for previous
examples
2023-08-01 11:18:10 -04:00
Tienson Qin
db5e0a6571
handle pdf annotation properties
2023-08-01 21:23:00 +08:00
Konstantinos Kaloutas
fb63c32a56
Revert "defer loading html2canvas"
...
This reverts commit 16e0c3713f
.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
b7710e570c
Revert "defer loading code-editor"
...
This reverts commit 4f067f4003
.
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
20c54c82e3
defer loading code-editor
2023-07-10 00:54:54 +08:00
Konstantinos Kaloutas
1e30a2030f
defer loading html2canvas
2023-07-10 00:54:54 +08:00
Gabriel Horner
4e99e21642
Fix commandline publishing not working e.g. bb dev:publishing
...
Also fix db dep having a circular dependency. frontend.* namespaces depend on deps/ dependencies
so we can't have frontend namespaces in deps/
2023-06-23 16:52:54 -04:00
Tienson Qin
fd6b587235
Merge branch 'master' into feat/db
2023-06-21 14:09:16 +08:00
rcmerci
8a1c54173b
[wip] property edit
2023-06-20 18:08:40 +08:00
Gabriel Horner
3f1d32dd6c
Update clj-kondo and bb-tasks for deps projects
2023-06-13 14:48:50 +08:00
Gabriel Horner
480429ad23
Fix alias not included in published subgraph
...
Fixes #4143
2023-06-07 13:47:29 +08:00