Commit Graph

1069 Commits

Author SHA1 Message Date
Gabriel Horner
1d15e1f85d fix: rm file graph config from user config
Also remove unused helpers for file config keys and file graph code in
mobile.intent.  These removals also result in removing
frontend.common.file.util as it's no longer used
2026-01-22 13:19:57 -05:00
Gabriel Horner
37d9ebda1f chore: remove file-specific graph-parser code
Also removed file graph code for markdown export as a prereq
2026-01-22 13:19:57 -05:00
Gabriel Horner
6c876a0be2 chore: convert last of frontend tests to db graphs
Now able to remove unused frontend.test.* namespaces.
Also removed file-graph specific handling of old attrs like
:block/ref-pages
2026-01-22 13:19:57 -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
e01664bac4 chore: convert more frontend tests to db graph
Removed file graph specific tests in outliner.core-test and export-test.
Also fixed test for export-test as file graph exports didn't
reference pages in blocks
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
20cbb626a0 fix: frontend and graph-parser tests and lints
Removed file specific test
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
rcmerci
562a68e0e4 enhance(rtc): move rtc api schema to logseq/logseq-schema repo 2026-01-08 22:06:58 +08:00
Tienson Qin
00ccff81e7 more file-graph cleanup 2026-01-06 18:14:21 +08:00
rcmerci
1e61ae7dd7 fix: lint 2026-01-05 22:16:42 +08:00
rcmerci
4dc4e1be78 enhance(rtc): add :add op to replace :move + :update combo 2026-01-05 22:16:42 +08:00
Tienson Qin
41cbba3688 enhance(ux): flashcards (#12299)
Enhances the flashcard user experience by adding automatic query property management, fixing critical bugs, and improving the UI for managing card sets.

Key changes:

1. Automatic creation of query property blocks when tagging with #Query or subclasses via pipeline
2. Fixed critical bug in api-insert-new-block! where the end? parameter had inverted conditional logic
3. Added ability to create new #Cards blocks directly from the flashcard modal with a plus button
2026-01-05 22:12:13 +08:00
Tienson Qin
4b7d6c73c8 fix: remove rtc test on updated-at
Since :block/updated-at should only be overwritten, not retracted
2026-01-04 15:37:46 +08:00
Tienson Qin
3078f2a900 chore: remove outdated test 2025-12-31 23:59:36 +08:00
Tienson Qin
76ebafac6c enhance: preserve block collapsed state when publishing 2025-12-31 20:24:03 +08:00
Tienson Qin
56d3bd84d4 add publish test 2025-12-29 15:07:59 +08:00
Tienson Qin
910cd9514f fix: tests 2025-12-26 16:09:34 +08:00
Tienson Qin
ec7a325bcb more cleanup 2025-12-26 12:35:13 +08:00
Tienson Qin
467c5200d6 fix: lint 2025-12-26 11:00:41 +08:00
Tienson Qin
7d719623a1 refactor: prefer conn than repo for outliner core and rtc update 2025-12-26 00:05:43 +08:00
Tienson Qin
f6188b6cca cleanup more config/db-based-graph? usage 2025-12-25 22:51:05 +08:00
Tienson Qin
eceaa7396c more cleanup 2025-12-25 21:54:52 +08:00
Tienson Qin
d8d6e8b4b5 remove file based model 2025-12-25 18:10:51 +08:00
Tienson Qin
acbb03856b remove diff-merge 2025-12-25 17:53:01 +08:00
Tienson Qin
9f927137a3 remove file based handlers 2025-12-25 17:21:28 +08:00
Tienson Qin
32cbac5a52 remove file based page handler 2025-12-25 16:23:23 +08:00
Tienson Qin
bbe6fa861e remove file based commands 2025-12-25 15:59:59 +08:00
Tienson Qin
da06bc2db0 wip: separate og and new version apps 2025-12-25 13:59:44 +08:00
Tienson Qin
8541b7c79f perf: linked refs without filters 2025-12-17 18:13:04 +08:00
rcmerci
bcad78227f fix(rtc): lost first block's rtc-ops when paste multiple blocks (2)
- add more tests
- consider more cases
2025-12-16 00:48:46 +08:00
Tienson Qin
33db791ac0 fix: import Zotero pdf blocks (#12260)
fix: support zotero files when importing pdf annotations
2025-12-15 23:28:58 +08:00
rcmerci
208e3df662 fix(rtc): lost first block's rtc-ops when paste multiple blocks 2025-12-15 22:54:31 +08:00
rcmerci
ff7ecc4baa fix(rtc): carefully compare t when add-ops to client-ops 2025-12-13 02:16:29 +08:00
Tienson Qin
016e63c4a0 fix: ensure using :rename-db-idents to rename properties in migrate 2025-12-11 14:31:55 +08:00
Gabriel Horner
73f8dfc421 chore: mv db tests to correct project
Also tweak test so that errors aren't printed confusingly when tests
pass
2025-12-09 11:16:39 -05:00
Tienson Qin
f594e2034f fix(rtc): batch store and validate db (#12249)
* fix(rtc): batch store and validate db

* fix: logseq.db/transact! shouldn't distinct tx-data

since move-op include 2 steps:
1. insert-block
2. update-attrs

This results in db invalid after step 1.

* refactor: add transact-with-temp-conn!

* bump nbb-logseq and add tests for ldb/transact* fns

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-12-09 20:47:37 +08:00
rcmerci
e95dbe1096 test(rtc,e2ee): add frontend.common.crypt-test 2025-11-24 11:40:18 +08:00
Tienson Qin
a4ec889a5d fix: some built-in tags shouldn't be recognized as inline tags
related to https://github.com/logseq/db-test/issues/555
2025-11-05 04:23:50 +08:00
Tienson Qin
d8b1feb395 fix: some built-in tags such as #Journal shouldn't be extended
related to https://github.com/logseq/db-test/issues/555
2025-11-05 00:29:25 +08:00
Gabriel Horner
2c6f8101d7 fix: a test's global change to ldb/transact!
shouldn't affect other tests. This test changes transact-pipeline-fn
which could cause further tests to randomly depend on and fail from it
2025-11-04 10:12:18 -05:00
Tienson Qin
e4e8388588 fix: revert disallowed built-in block updates
1. built-in pages (non-classes) shouldn't be used as tags
2. some protected properties for built-in nodes shouldn't be updated,
e.g. db/ident, block/title, block/name, logseq.property/type
2025-11-04 21:49:26 +08:00
Tienson Qin
d809af8cef fix: page ref query uses UUID instead of name
To avoid name collisions.
2025-11-03 22:26:39 +08:00
rcmerci
adfc0a1341 fix: update remove-conflict-datoms 2025-10-24 21:57:26 +08:00
Tienson Qin
6addb7ac8e fix: rtc tests 2025-10-15 18:52:59 +08:00
Tienson Qin
4be34fb50e fix: rtc tests 2025-10-15 18:27:53 +08:00
Tienson Qin
8d0c2f9887 fix: tests 2025-10-15 17:25:46 +08:00
Tienson Qin
6b12299520 fix: lint 2025-10-15 16:32:46 +08:00
Tienson Qin
999618a406 refactor: compute pipeline tx-data before d/transact! 2025-10-15 15:31:42 +08:00