Commit Graph

13996 Commits

Author SHA1 Message Date
Tienson Qin
77bcd70a2a fix: slow performance for block delete 2024-01-16 13:24:55 +08:00
Tienson Qin
a3d5fc699d fix: don't run transact! macro if db requests are not finished yet 2024-01-16 13:24:55 +08:00
Tienson Qin
9b344e12f7 remove hacks 2024-01-16 13:24:55 +08:00
Tienson Qin
8419afe007 Remove unused state 2024-01-16 13:24:55 +08:00
Tienson Qin
1249b26b4c Edit block earlier to not slow down editing when deleting a block 2024-01-16 13:24:55 +08:00
Tienson Qin
d69c7ab66c enhance(perf): delete block 2024-01-16 13:24:55 +08:00
Gabriel Horner
34222b3436 chore: bump nbb-logseq that points to upstream nbb 2024-01-15 18:07:49 -05:00
Gabriel Horner
2305d09cc8 chore: DRY up duplicated vars and needless/confusing aliases 2024-01-15 16:51:27 -05:00
Gabriel Horner
ca020fcdb3 fix: loading all new deps namespaces in nbb
- bb test:load-all-namespaces-with-nbb now passes for all deps
- Updated nbb-logseq to support cljs.core/Atom
- Adjusted datascript.impl.entity with previous datascript.db require
  so that correct loading occurs in nbb
- fixed missing deps in logseq.outliner
- Converted a minor cljs.spec to malli since malli is nbb compatible
- Changed exists? to some? since they are functionally equivalent for
  the given arg and some? is nbb compatible
2024-01-15 12:43:16 -05:00
rcmerci
34c1471462 enhance(rtc): update <upload-client-op-loop 2024-01-16 00:46:50 +08:00
Tienson Qin
6fd20c0638 fix: more tests 2024-01-16 00:40:56 +08:00
Tienson Qin
af895d68c9 fix: editor e2e tests 2024-01-15 23:04:49 +08:00
Tienson Qin
23561e3701 fix: headings 2024-01-15 19:45:29 +08:00
Tienson Qin
33f9ec2b00 fix: remove unused ns import 2024-01-15 19:09:04 +08:00
Tienson Qin
819c8614d3 fix: fs e2e tests and page rename 2024-01-15 18:50:48 +08:00
Tienson Qin
d2b6f17af3 fix: page search e2e-tests 2024-01-15 17:41:26 +08:00
Tienson Qin
1d5a8b5c27 fix: current page 2024-01-15 17:37:41 +08:00
rcmerci
d9691ab113 fix lint 2024-01-15 17:02:27 +08:00
rcmerci
6b435dda25 enhance(rtc): update-asset handler 2024-01-15 17:02:27 +08:00
Tienson Qin
20a06f820d fix: page rename e2e test 2024-01-15 16:04:57 +08:00
Tienson Qin
4a3a164c99 fix: url e2e tests 2024-01-15 16:03:01 +08:00
Tienson Qin
af8478a6ec fix: editor e2e tests 2024-01-15 15:35:34 +08:00
Tienson Qin
774a159451 fix: history e2e tests 2024-01-14 16:55:07 +08:00
Tienson Qin
029ed109b9 fix: page rename undo/redo 2024-01-14 16:33:50 +08:00
Tienson Qin
54106610cb fix: heading e2e tests 2024-01-14 16:00:14 +08:00
Tienson Qin
732b87a63f fix: code block e2e test 2024-01-14 15:33:06 +08:00
Tienson Qin
d13cc0c120 clean code 2024-01-14 14:38:57 +08:00
Tienson Qin
9886a4d63c fix: dissoc page write if something bad happens
So that the app can continue save db writes to files.
2024-01-14 14:22:32 +08:00
Tienson Qin
b55e4e7380 fix: db requests could be dropped if some requests not finished yet 2024-01-14 12:55:55 +08:00
Gabriel Horner
74a76f0365 chore: dry up db-based vars and update related lint 2024-01-12 17:25:21 -05:00
Gabriel Horner
951e7cc841 fix: ns-docstring and large-var deps lints
Also fixed db-and-file-graphs-separate lint and moved gp-property tests
that should be moved since their source code has moved from frontend
to gp-property
2024-01-12 17:03:09 -05:00
Gabriel Horner
66f57104ab fix: fail-invalid? option on in-app db validation
alert can't be called in a worker
2024-01-12 15:12:18 -05:00
Gabriel Horner
690764aa52 fix: unused time dep and duplicated time-ms fns
cljs-time shouldn't be added to nbb.edn since it's already included in
nbb-logseq (since parts of it aren't nbb compatible). duplicated
time-ms fns can now be removed since they are available to all deps
from common dep
2024-01-12 10:41:22 -05:00
charlie
ece3b6df69 fix: tests 2024-01-12 12:48:16 +08:00
charlie
628153a76b fix(e2e): tests 2024-01-12 12:47:45 +08:00
Tienson Qin
db118de59b fix: can't zoom in/out 2024-01-12 07:16:25 +08:00
Tienson Qin
302d8b649a fix: can't expand/collapse on publishing graphs 2024-01-12 06:41:51 +08:00
Gabriel Horner
98dd1c2b5c fix: published graphs failing on class pages
Bring back get-namespace-pages impl that doesn't add :block/file
to db graphs. :block/file isn't used in db graphs.
Also got kondo lint back to green
2024-01-11 16:40:13 -05:00
Tienson Qin
e22effacf2 Disable graph switch if files are not saved yet 2024-01-12 05:13:46 +08:00
Tienson Qin
d5e62ae21f fix: ensure linear sequential transactions for the db worker 2024-01-12 04:14:22 +08:00
Gabriel Horner
cdddce0120 fix deps db test and most lints
Also deleted duplicated gp-util.{page-ref,block-ref} files that were moved to common
and moved a related test to common dep
2024-01-11 14:35:04 -05:00
Tienson Qin
b514dbe4f7 fix: undo/redo debugger ui 2024-01-12 02:51:28 +08:00
Tienson Qin
3d2a7c22b8 add more delay 2024-01-12 02:51:28 +08:00
Gabriel Horner
a81e18e9a6 fix: update nbb-logseq and make entity-plus nbb compatible
deps can now load in nbb and all nbb tests pass except for db
2024-01-11 13:10:06 -05:00
Tienson Qin
b9646d5cd0 fix: blockref e2e tests 2024-01-12 02:03:19 +08:00
Tienson Qin
6173879ca0 fix: test 2024-01-12 00:41:03 +08:00
Tienson Qin
7cc0b15d04 fix: journal file name 2024-01-12 00:18:36 +08:00
Tienson Qin
a9074f74f4 fix: outdent 2024-01-11 23:43:23 +08:00
charlie
dddd937b53 fix: tests 2024-01-11 21:28:52 +08:00
Tienson Qin
96c9e8d7d5 simplify pipeline 2024-01-11 20:18:40 +08:00