Commit Graph

184 Commits

Author SHA1 Message Date
Tienson Qin
6ba05ad2cc add e2e-test for isolated scope poroperties 2026-01-05 22:59:07 +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
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
charlie
ce5017fca5 fix(tests): update tag properties in create tag test 2026-01-03 22:27:18 +08:00
charlie
baff8a4cc1 enhance(apis): add support for tag properties in createTag API 2026-01-03 21:51:23 +08:00
rcmerci
ed11330956 test(e2e,rtc): add test for https://github.com/logseq/db-test/issues/683 (2) 2026-01-01 16:55:19 +08:00
rcmerci
76224da1b6 test(e2e,rtc): add test for https://github.com/logseq/db-test/issues/683 2026-01-01 16:48:16 +08:00
Tienson Qin
bcc478b5f7 refactor: separate og and db version (#12276)
separate og and new version apps

remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
Charlie
fbe6b998b6 enhance(plugins): apis related improvements (#12266) 2025-12-25 13:25:12 +08:00
Tienson Qin
9df740c797 fix: multi-tabs e2e tests 2025-12-25 11:03:46 +08:00
Tienson Qin
43d483d350 fix: rtc e2e tests 2025-12-24 18:13:59 +08:00
rcmerci
8d7ce39897 test(e2e): add asset-blocks-validate-after-init-downloaded-test 2025-12-19 01:49:40 +08:00
rcmerci
5918429db1 test(rtc,e2e): add paste-multiple-blocks-test 2025-12-18 18:27:00 +08:00
rcmerci
fa7c9f1025 ci: add rtc-extra-part2-test to github ci and run in parallel 2025-12-12 22:04:24 +08:00
rcmerci
73ee1bbc16 test(rtc): add logseq.e2e.rtc-extra-part2-test (1) 2025-12-12 20:23:28 +08: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
21cf99c1ab test(rtc,e2e): add long-block-title-test 2025-12-06 21:14:18 +08:00
rcmerci
c196448e94 test(e2e): retry new-block 2025-12-06 21:14:18 +08:00
Gabriel Horner
a9231a4751 Revert "chore: disable intermittently failing test"
This reverts commit a8468fdf23.
2025-12-03 08:29:50 -05:00
Gabriel Horner
a8468fdf23 chore: disable intermittently failing test 2025-12-02 13:53:42 -05:00
rcmerci
748690b16d fix(test): fix rtc-basic-test 2025-12-03 00:01:26 +08:00
Gabriel Horner
17cc2603a7 chore: add flag to skip intermittenly failing e2e test
This has been failing intermittently for awhile with the latest being
https://github.com/logseq/logseq/actions/runs/19863440926/job/56919481889
2025-12-02 10:42:24 -05:00
rcmerci
ef79016156 test(rtc,e2e): fix rtc-basic-test for e2ee case 2025-11-24 11:40:18 +08:00
Tienson Qin
5d8c9a4f81 Add rtc e2e tests for page references 2025-11-14 18:46:42 +08:00
Tienson Qin
079c8944b8 fix: can't undo pasting at empty block 2025-11-10 08:48:47 +08:00
Gabriel Horner
a3b2ac98f0 fix: test from recent tag made private 2025-11-04 13:27:34 -05:00
Tienson Qin
6844292dec add e2e test for nested pages in Library 2025-11-04 15:18:38 +08:00
Tienson Qin
1736691224 fix: get_all_pages api 2025-10-16 15:55:26 +08:00
Tienson Qin
4249c9e908 fix: can't set block property with closed value 2025-10-16 15:35:40 +08:00
Tienson Qin
bbb6d8aeb3 Add e2e tests for get_all_tags|properties|tag_objects 2025-10-16 14:29:08 +08:00
Tienson Qin
7ed7fb4f31 enhance: prefer ldb/transact! than d/transact! 2025-10-13 19:03:11 +08:00
Tienson Qin
787372c174 add create tag test 2025-10-13 16:55:04 +08:00
Tienson Qin
a92f2865d2 add more property-related tests 2025-10-13 16:33:09 +08:00
Tienson Qin
6871463d26 fix: plugins api e2e tests 2025-10-13 14:14:21 +08:00
Tienson Qin
3abf1475c0 add property-upsert-test 2025-10-11 19:27:13 +08:00
Tienson Qin
0933c9cae0 enhance: test all property types 2025-10-11 18:49:00 +08:00
Tienson Qin
4cc44a5ac9 fix: e2e tests 2025-10-10 18:31:35 +08:00
Tienson Qin
dbd15f7ed4 enhance: pre-validate when setting block property values 2025-10-10 16:20:53 +08:00
rcmerci
8c968464fb dev: update agents.md, add bb e2e-test cmds 2025-09-26 22:11:13 +08:00
Tienson Qin
dd9a32d4de refactor: RTC reuse :db/id for deleted blocks when undo/redo (#12101)
1. reuse old eids for block/uuid when apply-remote-ops

2. enhance: clear undo history when failed to validate db

Also, throw transact error from db worker
3. test(rtc): add timeout for wait-for cloud-idle
4. fix: rtc extra tests
5.  enhance(test): retry new-block once when assert timeout
---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-09-15 22:29:45 +08:00
rcmerci
d9b2ca977a chore(clj-e2e): add alias :dev-run-rtc-extra-test 2025-09-11 13:41:51 +08:00
Tienson Qin
3eab751feb fix: delete an empty block doesn't preserve properties for the next
related to https://github.com/logseq/db-test/issues/470
2025-09-10 22:30:49 +08:00
charlie
28850387a1 enhance(android): update color definitions 2025-09-08 11:21:28 +08:00
charlie
2236f3fc14 enhance(api): add get_page_properties function and update related tests 2025-09-05 11:48:42 +08:00
Tienson Qin
ebfcf3c5f4 fix: e2e-tests 2025-09-03 19:40:40 +08:00
charlie
bc46cf7d14 enhance(api): improve append_block_in_page to handle current page context 2025-08-26 11:27:34 -04:00
Tienson Qin
c279d0e3b7 fix: e2e tests 2025-08-25 21:00:10 +08:00
Tienson Qin
099affdb9a fix: e2e tests 2025-08-20 21:15:53 +08:00
Tienson Qin
d84d3f9652 enhance(ux): set/unset #Page to convert between page and block (#11970)
* enhance(ux): add/remove #Page to toggle page/block

* enhance(ux): "p t" to set tags for selected blocks

Updated "p a" to toggle displaying all properties including hidden ones.

* feat: cmd+k move blocks

* fix: block could be converted to page and create invalid nodes

Pages with block namespace parents is nonsensical and pages in
property values led to multiple validation errors. Also guard
against class and property pages as namespace parents

* fix: warn on failed cut+paste or indent/outdent of page blocks. Better to warn than silent failure which leaves user confused on
what happened. 

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2025-08-05 17:45:57 +08:00
Tienson Qin
67a0f7cd8c Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-31 20:08:29 +08:00