Commit Graph

180 Commits

Author SHA1 Message Date
Tienson Qin
63c9c65c95 fix: no need to broadcast online users when updating presence 2026-01-30 17:16:59 +08:00
Tienson Qin
667e0d7f05 fix: undo && redo shouldn't write invalid data to server 2026-01-28 16:00:31 +08:00
Tienson Qin
143a548f04 fix: more lint error 2026-01-26 20:00:31 +08:00
Tienson Qin
729ca7fcbf Merge branch 'master' into feat/worker-sync 2026-01-26 18:52:12 +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
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
Tienson Qin
1f71f9e78e e2ee 2026-01-22 18:50:05 +08:00
Tienson Qin
83a3a7cdf9 use R2 for both graph upload/download 2026-01-21 22:43:09 +08:00
Tienson Qin
36c5afeece enhance(ux): editing user avatar presence 2026-01-21 19:29:34 +08:00
Tienson Qin
cc95768288 Switched API-facing map keys to hyphenated keywords 2026-01-21 18:21:00 +08:00
Tienson Qin
d181b1bfa9 online user presense 2026-01-21 15:55:10 +08:00
Tienson Qin
9bbba502ff remove state machine from protocol 2026-01-12 17:22:56 +08:00
rcmerci
88d1b56222 doc(db-sync): update fix-blocks-cycle.md 2026-01-12 00:54:52 +08:00
rcmerci
9356782168 fix(db-sync): worker server unit-tests 2026-01-11 23:57:33 +08:00
rcmerci
b949f707ed fix(db-sync): recv 'changed' when in tx/batch-wait 2026-01-11 22:39:07 +08:00
rcmerci
f23ab5c5b5 refactor(db-sync): add state machine doc & refactor 2026-01-11 22:25:58 +08:00
rcmerci
2bc5783b78 enhance(db-sync): update doc and align with codebase 2026-01-11 18:02:53 +08:00
rcmerci
611a52443e enhance(db-sync): fail fast when encounter bugs 2026-01-11 17:24:25 +08:00
rcmerci
32945f6443 fix(db-sync): fix blocks-cycle, add doc docs/agent-guide/db-sync/fix-blocks-cycle.md 2026-01-11 17:18:12 +08:00
rcmerci
1b79d7d0d8 doc(db-sync): sync db-sync docs and codebase again 2026-01-10 23:41:40 +08:00
rcmerci
9f530799b6 enhance(db-sync): protocol.md add http endpoints
fix: make t_before mandatory
2026-01-10 21:45:41 +08:00
rcmerci
0864b485f4 refactor(db-sync): rename worker-sync to db-sync 2026-01-10 17:52:33 +08:00
rcmerci
5219d928d1 docs(worker-sync): add guide and protocol 2026-01-10 16:41:59 +08:00
Thiago O. Maciel
8a51a8a7bd fix mobile docs 2026-01-10 16:02:27 +08:00
rcmerci
a54ecc7d28 docs(worker-sync): add accuracy note 2026-01-09 22:28:33 +08:00
rcmerci
01fc791cd6 docs(worker-sync): expand dev start note 2026-01-09 22:23:44 +08:00
rcmerci
965f93de70 update agents.md and docs/agent-guide/worker-sync.md 2026-01-09 21:05:24 +08:00
Gabriel Horner
fe55fdf817 chore: add dev cli task for easier cli testing 2025-12-15 12:59:41 -05:00
Gabriel Horner
ef96a8d031 chore: remove db scripts made redundant by CLI 2025-12-12 10:17:12 -05:00
Kidy Lee
9f7cc8e17c chore: update development setup for Intellij IDEA/Cursive-ide. 2025-09-23 21:29:12 +08:00
Tienson Qin
248d8c33f2 refactor: remove block/path-refs (#12081)
1. refactor: use :block/refs and has-ref rule instead of path-refs
2. remove block/path-refs
3. removes :block-parent rule since there's already :parent
4. enhance: skip pipeline calculation for rtc initial download tx
5. refactor(rtc): remove memoize

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-09-03 20:33:33 +08:00
Gabriel Horner
f736895b1b fix: remove unused e2e-test namespace
workflow step and docs for tests deleted in #11903
2025-07-08 08:53:27 -04:00
Gabriel Horner
ac975766ad chore: update doc links and remove feat\/db mentions 2025-05-30 08:41:57 -04:00
Gabriel Horner
44fa4c03b2 chore: add docs for dev import tasks 2025-01-23 14:38:37 -05:00
Gabriel Horner
1bba10c266 fix: graph counts after validation are wrong
after type->tags migration. Also update recommended validate cli options
to default to true. Also clean up graph counts spread across two
validators and importer. The property-pairs count in the UI were way off
because they were only counting pairs that are validated by malli-schema
2025-01-04 02:14:39 -05:00
Tienson Qin
665d7a817c fix: tests 2024-11-30 17:12:15 +08:00
Gabriel Horner
7d729804b0 enhance(dev): add lang --fix support for linting non-default langs
Useful for deleting no longer valid keys after merging master to feat/db
2024-10-29 21:49:41 -04:00
Gabriel Horner
29c8a4fc4a chore: remove remaining references of old tutorials
Follow up to 8b470dd455.
New tutorials will be written for db version
2024-08-22 15:06:15 -04:00
Gabriel Horner
bc18661c90 enhance(dev): Add fast kondo lint for dev 2024-08-21 13:33:01 -04:00
Gabriel Horner
14a507f4cd enhance(dev): run lint fix with an option
Linters are read only by default. Lang lint can be fixed by passing
`--fix`. We don't want CI or inexperienced contributors fixing files accidentally.
Also move deps to bb.edn as putting them inline leads to quirky/buggy
tasks listing and autocompleting as they pause when fetching an inlined dep
2024-08-20 10:17:23 -04:00
Gabriel Horner
261118d4dc refactor: finish frontend independence from worker and add lint
Remaining fixes worker all file related. Fixes LOG-3717
2024-08-09 12:16:20 -04:00
Gabriel Horner
7a40761eca refactor: organize worker namespaces and lint them
Organize them to live under src/main/frontend/worker and add a lint to ensure
that common code with frontend is only under frontend/common/.
Add a linter to ensure that worker doesn't depend on frontend.
Motivated to fix after recent worker breakage fixed by
75463c4df4
2024-08-08 23:01:57 -04:00
Tienson Qin
d847023dc1 Refactor: rename :block/content to :block/title 2024-07-10 22:33:44 +08:00
Gabriel Horner
56063ed2bf fix: tweak message and update docs for updated replace cmd flow 2024-06-14 14:22:44 -04:00
Gabriel Horner
03f797fde3 fix: outliner lint and doc formatting 2024-06-12 15:24:04 -04:00
Gabriel Horner
0e1ada2ef6 enhance: bb task for creating graphs from EDN file
Converted inferred graph to an EDN file now that this task exists. Also
merge last of tasks.create-graph to relevant ns so that external users
can also create such tasks
2024-06-11 10:09:37 -04:00
Tienson Qin
1ec4796eff refactor: replace :block/left with :block/order
Finally no need to worry about parent-left conflicts and broken chain.
With :block/order, we only need to re-compute new orders for siblings
with same order (it can happens if there're bugs in our code, or
updates from rtc), but it doesn't break UI.

Another huge potential benefit after discussing with Zhiyuan is:
Ee might be able to simplify both RTC and undo/redo, currently, we
need to handle each new op for both of them, with recently
refactorings like properties being db attributes, :block/order
is a string instead of a ref, we can handle most property value
conflicts using last-write-wins, and others (e.g. :block/parent,
property with :default type) specifically.

I haven't fixed the issues of using :block/left in RTC and undo/redo,
because we might change both soon.
2024-05-02 01:12:22 +08:00
charlie
2ba9f28026 Merge branch 'master' into feat/db 2024-04-15 07:58:14 +08:00
sty
7341b27c03 docs/develop-logseq.md: specify that dependencies in /static also exist 2024-04-11 12:07:48 +08:00