Tienson Qin
c1a15c0708
Merge branch 'feat/db' into perf/lazy-load-data
2024-02-01 03:58:04 +08:00
Tienson Qin
fd306bf127
refactor: reindex graph equals delete and re-add the same graph
2024-02-01 03:46:26 +08:00
Tienson Qin
1b99388f54
fix: can't save file
2024-02-01 02:57:28 +08:00
Gabriel Horner
a68c5eea52
fix: file/name-format is file graph only
...
Confirmed this with the last refactor. Also remove references to
setting that was removed in eb6e5942f8
2024-01-31 13:34:12 -05:00
Tienson Qin
a4431d8f5a
fix: unit tests
2024-02-01 02:03:16 +08:00
Tienson Qin
9355520a8a
fix: lint warnings
2024-02-01 01:26:18 +08:00
Tienson Qin
ff77698083
fix: async query for scheduled and deadlines
2024-02-01 01:22:41 +08:00
Tienson Qin
85f6b3dce7
fix: plugin api calls
2024-02-01 00:33:43 +08:00
Gabriel Horner
bf56cd3252
chore: move legacy fns to legacy ns
...
title property is for file graphs and should be kept with its ns
to avoid confusion
2024-01-31 11:11:14 -05:00
rcmerci
0b52f8ad58
enhance: make ui reactive when favorites updated
2024-01-31 23:51:24 +08:00
Tienson Qin
44dca4f506
wip: plugin api calls
...
Also avoid calls to worker if a block has been fully loaded
2024-01-31 21:51:52 +08:00
Gabriel Horner
f6e9e2630f
fix: deprecate :favorites for db config
...
related to LOG-3031. Also comment all known
file graph only config keys
2024-01-30 15:26:19 -05:00
Gabriel Horner
9db7cd3be9
fix: new db graph shouldn't have deprecated config.edn warnings
2024-01-30 15:12:51 -05:00
Tienson Qin
12263ed19d
Raise it to 30k pages
2024-01-31 03:26:13 +08:00
Tienson Qin
7f6cb9bb92
partition load initial pages data
...
Also, add a script to build a test graph
2024-01-31 03:05:45 +08:00
Tienson Qin
420e361381
fix: async <get-file and <get-files
2024-01-30 21:17:18 +08:00
Tienson Qin
46f210696d
fix: wrong kv? check
2024-01-30 20:42:53 +08:00
Tienson Qin
99b6d543f0
fix: more async queries and export to roam
2024-01-30 20:03:06 +08:00
charlie
faa5e43966
enhance(ui): accent color for the property status icon
2024-01-30 19:45:29 +08:00
Tienson Qin
96dcdd979a
chore: code cleanup
2024-01-30 18:55:18 +08:00
Tienson Qin
b8c9206bc4
chore: code cleanup
2024-01-30 18:33:07 +08:00
rcmerci
09dcf654c7
fix(rtc): fix :block/link sync
2024-01-30 18:32:50 +08:00
Tienson Qin
7b754c672f
fix: page unlinked refs
...
Use search indice to search first and then filter the result by the
db worker. This avoids using `d/datoms` which loads all the blocks to
the memory.
2024-01-30 18:31:06 +08:00
Tienson Qin
694e9d046b
fix: page not full loaded
2024-01-30 17:26:41 +08:00
Tienson Qin
1e6daf6563
fix: page/block refs and refs count
2024-01-30 17:10:38 +08:00
Tienson Qin
ebc801241d
chore: remove repeated get-title-and-pagename calls
2024-01-30 15:58:10 +08:00
rcmerci
00cb045dc1
chore: clean-ns
2024-01-30 15:53:22 +08:00
rcmerci
b020be6047
feat: import favorites from config-edn
2024-01-30 15:51:06 +08:00
Tienson Qin
3fd30736b5
fix: can't open block on cmdk
2024-01-30 15:29:30 +08:00
Gabriel Horner
28e637e855
chore: merge 2 new property fns together
...
refactor possible since page-name-sanity-lc in common-util
2024-01-29 09:55:34 -05:00
Tienson Qin
26d46485a0
wip: async custom query
2024-01-29 21:56:54 +08:00
Gabriel Horner
8f736e82c7
fix lint
2024-01-29 08:50:42 -05:00
Gabriel Horner
e9c3fe90a3
Merge branch 'master' into feat/db
2024-01-29 08:46:45 -05:00
Tienson Qin
059e8a8948
Remove block loading placeholder
2024-01-29 18:56:30 +08:00
Tienson Qin
b5b85dd44d
fix: lazy load whiteboards
2024-01-29 18:54:52 +08:00
Tienson Qin
0a5ca160f9
fix: lazy load contents
2024-01-29 18:40:24 +08:00
Tienson Qin
21c1f4f54c
Lazy load page/block references and embeds
2024-01-29 18:23:55 +08:00
Andelf
03d4b272b2
fix(android): blur input when composing
2024-01-29 15:41:10 +08:00
Andelf
7bad07d2bf
fix(mobile): commit composing text before cycle todo
...
Close #10879
Close #8503
Close #10013
2024-01-29 15:41:10 +08:00
Tienson Qin
eba0fe9545
Lazy load block container
2024-01-29 15:25:42 +08:00
Tienson Qin
752f88de19
Async get block and children
2024-01-29 14:48:41 +08:00
Andelf
402ee7870d
fix(mobile): build search index with simpler preprocessing rules
...
See-also: #10771
2024-01-29 13:18:26 +08:00
Tienson Qin
3addb5905b
perf: load partial data when loading a graph
...
Instead of all the datoms
2024-01-29 13:17:37 +08:00
Gabriel Horner
c4f6873a58
fix: schema.org graph silently failing to use new tasks
...
A new existing page was silently being overwritten by a schema.org page
Added detection for future conflicts with existing pages as well
as conflicts of renamed pages. Renamed conflicting properties
in same way as classes. Also added a debug option to create an edn
file which is idempotent and helpful to confirm there are no
regressions
2024-01-26 12:58:40 -05:00
Tienson Qin
d9ff061436
fix: don't remove orphaned refs if content hasn't been changed
2024-01-26 22:14:55 +08:00
Tienson Qin
ccf0ac64a3
fix: can't switch to another db from a file graph
2024-01-26 21:50:11 +08:00
rcmerci
2573e66d0a
refactor: use :block/link to store favorite-page-db-id
2024-01-26 21:17:47 +08:00
Tienson Qin
89d852b167
perf enhancements
...
1. group transaction for save-block and insert-new-block when pressing
Enter
2. async store to sqlite
2024-01-26 21:06:32 +08:00
Tienson Qin
9ea98e9dd4
fix: hide UUID named pages from selection
2024-01-26 20:23:04 +08:00
Tienson Qin
fad6dfca11
chore: clear state
2024-01-26 18:15:38 +08:00