Commit Graph

11637 Commits

Author SHA1 Message Date
rcmerci
90fe19fa82 update frontend.util.property-edit 2023-06-16 12:56:52 +08:00
Tienson Qin
8746a373ae Replace special [[id]] with [[page name]] when reading block content 2023-06-15 22:59:55 +08:00
Tienson Qin
06e8bae3c5 Save id instead of page name for page refs 2023-06-15 18:40:20 +08:00
rcmerci
5fb3cfd7a5 add property_edit.clj(s) 2023-06-15 12:56:14 +08:00
Tienson Qin
32173ff95e fix: new page doesn't have block/uuid 2023-06-14 17:29:55 +08:00
Tienson Qin
0f1cbb3bc7 fix: autopair failed 2023-06-14 16:52:31 +08:00
Tienson Qin
ca34564c61 fix: db wrap-parse-block 2023-06-14 16:20:56 +08:00
Tienson Qin
3a20a147e6 fix: parse block 2023-06-14 15:40:13 +08:00
Tienson Qin
55ff7584b7 wrap-parse-block impl for db && file 2023-06-14 15:13:22 +08:00
rcmerci
bd80235f02 add comment 2023-06-14 13:08:14 +08:00
rcmerci
d38afc9b71 better func names to differentiate between 2 types of graphs
- local file based
- db based (sqlite for now)
2023-06-14 13:03:08 +08:00
Tienson Qin
41aea60d94 Disable lazy when there're fewer blocks 2023-06-13 21:08:50 +08:00
Tienson Qin
996817149f chore: no need for blocks infinite list 2023-06-13 18:40:05 +08:00
Tienson Qin
7dc22e4c30 fix: clear selection 2023-06-13 18:23:41 +08:00
Tienson Qin
88496ac8f5 enhance: flicker cursor when editing 2023-06-07 02:09:44 +08:00
Tienson Qin
444a8cf446 enhance: don't lazy invisible blocks above 2023-06-06 23:21:57 +08:00
Tienson Qin
e3afa1fff3 fix: query 2023-06-06 14:27:18 +08:00
Tienson Qin
ed3b063575 perf: using :block/_parent instead of blocks->vec-tree 2023-06-06 02:00:45 +08:00
Tienson Qin
c85d224e75 fix: no need to query for other attributes in pagination 2023-06-05 17:26:21 +08:00
Tienson Qin
5b29a2e358 Overwrite default clj->js behaviour for datascript Entity 2023-06-05 17:17:26 +08:00
Tienson Qin
e7dae7728a fix: paginated blocks 2023-06-05 16:45:14 +08:00
Tienson Qin
e2af2e5f2c entity plus 2023-06-05 10:34:33 +08:00
rcmerci
9b66c75f20 replace more state var as atom 2023-06-01 18:18:20 +08:00
Tienson Qin
5b74080d3f perf experiment: lazy load every block 2023-06-01 01:04:41 +08:00
rcmerci
628a8b3826 use atom to replace some high frequency used state vars 2023-06-01 00:14:52 +08:00
Tienson Qin
d0d56cc65a Restore back performance enhancements 2023-06-01 00:09:47 +08:00
Tienson Qin
997da82b50 fix: pagination blocks 2023-06-01 00:05:19 +08:00
Tienson Qin
b008503e40 fix: page loading 2023-05-31 18:01:41 +08:00
Tienson Qin
49944dc30e fix: db-only graph unlink 2023-05-31 17:25:48 +08:00
Tienson Qin
dcb37064c5 fix: list db-only graphs in the graph switch 2023-05-31 17:17:51 +08:00
rcmerci
6dd7cf8b55 remove unused requires 2023-05-31 12:15:27 +08:00
rcmerci
1f3c89bb8c perf: skip block/uuid datoms when load other datoms 2023-05-31 12:10:06 +08:00
Tienson Qin
4b3d9ea16b perf: remove allocations from eav->datom 2023-05-31 04:33:14 +08:00
Tienson Qin
bbaab64241 code cleanup 2023-05-31 03:52:37 +08:00
Tienson Qin
a81b425ef4 perf: init db instead of db transact! 2023-05-31 03:21:14 +08:00
Tienson Qin
467e91b0b0 fix: set loading per-length to 1000 to make UI responsive 2023-05-31 01:46:09 +08:00
rcmerci
4613a1e3ee store datoms to sqlite as transit 2023-05-31 01:17:55 +08:00
rcmerci
20618afaa7 add bb task: validate sqlite data 2023-05-30 00:39:22 +08:00
Tienson Qin
c06cfb8157 Wait shorter 2023-05-29 18:21:16 +08:00
Tienson Qin
e01846188a refactor: add frontend.db.listener 2023-05-29 17:56:35 +08:00
Tienson Qin
fe107ae8fc perf: transact datoms instead of db/add 2023-05-29 17:15:40 +08:00
Tienson Qin
c0f749b55b enhance: separate high priority pages from unloaded-pages 2023-05-29 12:33:17 +08:00
Tienson Qin
07510adb16 add debug 2023-05-29 12:00:41 +08:00
Tienson Qin
2ac5be3cb7 enhance: load high priority pages 2023-05-29 11:48:39 +08:00
Tienson Qin
357a2de3e0 enhance: disable editing while loading page/block 2023-05-28 23:01:12 +08:00
Tienson Qin
542d28c6a9 Merge branch 'master' into feat/db 2023-05-27 11:59:27 +08:00
Tienson Qin
0a37f24aea fix: small batches to keep the app responsive 2023-05-27 11:50:17 +08:00
Gabriel Horner
cb0d52fb1c Merge pull request #9480 from logseq/fix/whiteboards-issues
Fix (Whiteboards): Various issues
2023-05-26 10:09:08 -04:00
Gabriel Horner
df2edd44ac Rename temp :block keys to be explicit about their use
:block is a heavily used namespace. We should at least
be explicit about keys that aren't being transacted
2023-05-26 09:13:38 -04:00
Gabriel Horner
33285a354d Fix table and view properties not hidden on display
fix #9489
2023-05-26 09:10:46 -04:00