Commit Graph

1926 Commits

Author SHA1 Message Date
Tienson Qin
dd27a85a5a chore: remove db-graph? check 2026-01-23 17:37:54 +08:00
Gabriel Horner
ed805f039f chore: cleanup bb tasks after file graph removal
Remove needless 'db-' prefix for several dev tasks. Remove linter for
file and db graph separation. It served us well :)
2026-01-22 13:19:58 -05:00
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
173898240e fix: remove most file graph uses in deps
except for graph-parser and publish deps

- Removed most mentions of 'repo' in deps, which cleaned up a lot related
  to export cli and worker
- Removed db-based-graph? checks in deps except for unknown use
  in entity-plus?
- Removing db-based-graph? checks resulted in deleting unused file graph
  code paths e.g. get-pid
- Removed file graph handling in cli list command
- Remove file-based-graph? checks from deps
2026-01-22 13:19:58 -05:00
Gabriel Horner
37af8f690e fix: remove remaining uses of file graph specific attributes
Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
2026-01-22 13:19:58 -05:00
Gabriel Horner
96a9f95622 fix: remove file graph code from query-dsl
Allows removing unused file-rules and common.marker. Also remove
any incorrect or unused references to file graph markers like NOW
2026-01-22 13:19:57 -05:00
Gabriel Horner
e07ff6dd88 chore: convert query-dsl tests to db graphs
Able to remove some dead code and add :build.test/title which
is reusable for future tests
2026-01-22 13:19:57 -05:00
Gabriel Horner
e5778093a6 fix: convert model tests to use db graphs
Tweaked sqlite.build to allow :block/alias. Also modified
one test's assertions since there aren't pre-blocks anymore.
model tests are running as DB_GRAPH=1 with a hack for now
2026-01-22 13:19:57 -05:00
Gabriel Horner
2bcc331916 fix: remove gp-db ns, especially since it's unused
or incorrect in case of graph-view. Removed file graph
specific tests that depended on gp-db
2026-01-22 13:19:57 -05:00
Gabriel Horner
3e0d57bc32 chore: prefix deps workflows with 'deps-'
to organize workflow files better
2026-01-21 14:16:38 -05:00
Gabriel Horner
7ca5c1de64 fix: unpublish not working for a local graph 2026-01-21 12:26:59 -05:00
Gabriel Horner
094b65336a chore: rename new property to be feature specific
and encourage for more varied use
2026-01-22 00:52:47 +08:00
Tienson Qin
1e5026aa3f Update deps/db/src/logseq/db/frontend/property.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2026-01-22 00:52:47 +08:00
Tienson Qin
772bd04bda Update deps/db/src/logseq/db/frontend/property.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2026-01-22 00:52:47 +08:00
Tienson Qin
cbece9e29f fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
6d51d33f15 cljs port of pluralize.js 2026-01-22 00:52:47 +08:00
Tienson Qin
ada37adbf1 fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
bc5984e1a3 Update deps/db/src/logseq/db/frontend/property.cljs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 00:52:47 +08:00
Tienson Qin
bcb9f84469 add tests 2026-01-22 00:52:47 +08:00
Tienson Qin
e5521da233 enhance: able to edit property value of :string type
able to set plural form for tags
2026-01-22 00:52:47 +08:00
Tienson Qin
164d1c908c fix: async query bidirectional properties 2026-01-22 00:52:47 +08:00
Tienson Qin
ce3f0a6d94 ux enhancements 2026-01-22 00:52:47 +08:00
Tienson Qin
b5f8ed266a fix: bi-directional property should have classes specified 2026-01-22 00:52:47 +08:00
Tienson Qin
3f8c6cde92 feat: Bi-directional property 2026-01-22 00:52:47 +08:00
Tienson Qin
a13c9a2818 add 3 clients simulate test 2026-01-21 01:14:21 +08:00
Tienson Qin
75a326a83e fix: never delete today page itself because it'll be auto-generated 2026-01-20 18:24:54 +08:00
Tienson Qin
d0cd12a034 fix: remove datoms when uploading if eid or value ref deleted 2026-01-20 17:22:02 +08:00
Tienson Qin
4ec99c8f17 fix: reversed data 2026-01-20 16:59:14 +08:00
Tienson Qin
52b690b6a5 fix: normalize reversed tx-data 2026-01-19 21:11:50 +08:00
Tienson Qin
d27a492f2e fix: include t when persist tx-data log 2026-01-19 17:47:26 +08:00
Tienson Qin
556af5581b fix: put fix after rebase 2026-01-16 19:35:05 +08:00
Tienson Qin
29f3f41ab5 fix: repeated tx data 2026-01-16 12:11:17 +08:00
Tienson Qin
63fb758e37 fix: view blocks not deleted 2026-01-16 11:46:52 +08:00
Tienson Qin
2f1b70b865 fix: offline conflicts with deleted nodes 2026-01-14 22:03:13 +08:00
Tienson Qin
c91187070a wip: initial checksum works when online 2026-01-14 00:36:56 +08:00
Tienson Qin
ee1089f671 Add sync offline tests 2026-01-13 20:58:04 +08:00
Tienson Qin
8c8ca9ce45 rebase 2026-01-13 16:19:03 +08:00
Tienson Qin
c03a5183df refactor: fix data in server instead of client 2026-01-12 23:56:50 +08:00
Tienson Qin
b0309307f7 wip: missing parent && order conflicts 2026-01-11 11:18:57 +08:00
Tienson Qin
6606162080 fix: property db attrs need to be at the beginning of tx-data 2026-01-10 16:00:07 +08:00
Tienson Qin
7aee601c3e no need for de-normalize 2026-01-10 13:12:18 +08:00
Tienson Qin
2dde10531f move retract handler to normalize 2026-01-10 10:57:34 +08:00
Tienson Qin
7bbc5af848 fix: replace :db/retract datoms with :db.fn/retractEntity 2026-01-10 10:57:34 +08:00
Tienson Qin
b8ff7b5265 re-use normalization fns 2026-01-08 04:55:11 +08:00
Tienson Qin
c2582d3c24 fix: available choices still shows other tags' scoped choices 2026-01-06 08:52:57 +08:00
Gabriel Horner
5748905057 fix ref-property tests pointing to property rule
Also add back property tests as it is still a useful rule
2026-01-05 14:44:49 -05:00
Tienson Qin
a9a9905b05 feat: tag-scoped property choices (#12295)
* feat: tag-scoped property choices

* Able to hide global choices per tag

* add e2e tests
2026-01-04 13:42:27 +08:00
Tienson Qin
aafa50dcc7 fix: :block/warning value should be keyword 2026-01-01 17:09:56 +08:00
Tienson Qin
0f949b739c fix: tests 2026-01-01 14:20:33 +08:00