Commit Graph

19346 Commits

Author SHA1 Message Date
Tienson Qin
d3c0ecc257 fix: copy unloaded blocks
This commit also fixs:
1. load block when clicking at bullet
2. copy linked block as markdown
2025-04-04 10:03:15 +08:00
rcmerci
1abb857232 enhance: add more cancelable use-effect setup-fns (2) 2025-04-04 00:17:18 +08:00
rcmerci
672cc8c3ae enhance: add more cancelable use-effect setup-fns 2025-04-03 23:46:15 +08:00
rcmerci
d05a8ac07f enhance: replace atom blocks-ast-cache by lrucache 2025-04-03 22:14:27 +08:00
rcmerci
1c24fff543 fix: mem leak in *key->atom 2025-04-03 21:18:20 +08:00
rcmerci
bbe5764a0e fix: make (fn? cancel) => true, otherwise react won't treat it as cleanup fn 2025-04-03 19:01:56 +08:00
Tienson Qin
38c3cfd0c2 enhance(ux): set persistent row height 2025-04-03 17:23:13 +08:00
rcmerci
0bcb860c0f enhance: make use-effect's handler cancelable 2025-04-03 16:46:44 +08:00
Tienson Qin
053e5a2702 chore: remove unused :block-only? 2025-04-03 16:29:12 +08:00
rcmerci
eea0cb6a7e fix: remove *block-cache in ui-thread 2025-04-03 16:14:33 +08:00
Tienson Qin
633b0518dc fix :sidebar block loading 2025-04-03 16:13:17 +08:00
Tienson Qin
f66627c280 fix: page auto-complete in query builder
This commit also adds `loading?` to ui/select to display a spinner
when it's loading data from the worker db.
2025-04-03 14:52:52 +08:00
Tienson Qin
d9b915a538 fix: query 2025-04-03 13:13:55 +08:00
Tienson Qin
d2eeab49fe fix: typo 2025-04-03 00:18:14 +08:00
rcmerci
2b482ee941 perf: add cached :thread-api/get-blocks 2025-04-02 23:57:11 +08:00
Tienson Qin
59ef4e14d2 fix: property values on table 2025-04-02 23:50:48 +08:00
rcmerci
435667a170 perf: add frontend.common.cache/cache-fn 2025-04-02 22:30:03 +08:00
Tienson Qin
ad0cf4dace fix: all pages backlinks count 2025-04-02 20:52:47 +08:00
Tienson Qin
822f8fc1a1 fix: run get-view-data twice 2025-04-02 19:30:47 +08:00
Tienson Qin
cce31ab597 fix: search in list view 2025-04-02 17:07:51 +08:00
Tienson Qin
005cfeeebb perf: don't load block children if collapsed 2025-04-02 16:47:00 +08:00
rcmerci
b711a1694c enhance: use faster eq-fn in hotpath 2025-04-02 15:06:54 +08:00
Tienson Qin
ecba29e9f9 fix: default collapse state 2025-04-02 09:57:56 +08:00
Tienson Qin
d34a10fa5d perf: list view 2025-04-02 00:21:43 +08:00
Tienson Qin
031c0ecc51 fix: query result not shown when rendering the block 2025-04-01 21:45:29 +08:00
Tienson Qin
2f9db90303 fix: console error of zero-sized element 2025-04-01 20:39:29 +08:00
Tienson Qin
5b1b4cda71 fix: reactive journals 2025-04-01 20:30:59 +08:00
Tienson Qin
cf31f1b9fa fix: display items count only for the current view 2025-04-01 17:14:53 +08:00
Tienson Qin
4706a33b3b fix: journal border 2025-04-01 16:35:13 +08:00
Tienson Qin
b836bde0a3 enhance: hide references view when there's no ref 2025-04-01 15:50:14 +08:00
Tienson Qin
032c6b9fb2 fix: references 2025-04-01 15:31:01 +08:00
Tienson Qin
5923f24f56 fix: lint and test 2025-03-31 22:38:34 +08:00
Tienson Qin
1aca680ae4 Merge branch 'feat/db' into perf/app-start 2025-03-31 21:53:37 +08:00
Tienson Qin
4c54427640 move graph view data handler to deps/db 2025-03-31 19:38:02 +08:00
Tienson Qin
f8ea0f94a4 fix: view ops for queries 2025-03-31 17:53:54 +08:00
rcmerci
f38b09f51f Merge pull request #11795 from logseq/refactor/remove-deftype-main
refactor: remove deftype Main
2025-03-29 14:15:15 +08:00
Gabriel Horner
6209bd0ae2 fix: block/collapsed? not built for properties 2025-03-28 11:16:06 -04:00
Gabriel Horner
dd4b68a140 fix: export for overlapping property+class
overlapping entity with blocks was exporting duplicate blocks
2025-03-28 10:39:20 -04:00
rcmerci
12e6284bbe refactor: add <invoke-main-thread 2025-03-28 21:49:05 +08:00
rcmerci
0f1ceef31c refactor: add thread-apis for ui-thread 2025-03-28 21:11:08 +08:00
rcmerci
631fdcafee feat(rtc): add rtc-add-migration-client-ops for debug&fix 2025-03-28 18:29:37 +08:00
Gabriel Horner
872b130eec fix: export of class + property aliases 2025-03-27 17:27:47 -04:00
Gabriel Horner
9dfb6713ca enhance: export+import supports properties
that double/overlap as classes
2025-03-27 17:02:32 -04:00
Tienson Qin
b9c385d2e3 fix: set parent page 2025-03-27 21:40:18 +08:00
Gabriel Horner
e5061f1504 enhance: add export option to exclude-files
Useful for demo graphs as it's noisy and not useful to include since
imported graphs already have it. Also added descriptions for properties
graph to share it
2025-03-27 09:13:14 -04:00
Gabriel Horner
144ad2623c enhance: export+import of class + property page blocks 2025-03-27 09:13:14 -04:00
Tienson Qin
2bb667fe91 fix: avoid changing recent pages position 2025-03-27 21:11:02 +08:00
rcmerci
df858e1fb4 fix(rtc): ignore :retract when merge update-client-ops 2025-03-27 21:07:05 +08:00
Tienson Qin
591c5e391f fix: make table row reactive 2025-03-27 20:50:19 +08:00
Tienson Qin
5305460694 perf: avoid transacting both blocks and properties to UI db
when displayed in table view
2025-03-27 18:35:40 +08:00