Commit Graph

13673 Commits

Author SHA1 Message Date
Gabriel Horner
632c0dbcc4 fix: don't run unused file watcher for db graphs
I thought about removing this as part of LOG-2748 but
hesitated because assets weren't consistently working.
Now that we don't have any features that plan on using files,
we should disable this system component for db graphs
2023-11-28 11:28:42 -05:00
Gabriel Horner
78aa1acee2 fix: can type '#' in tags component without hard fail 2023-11-28 09:48:19 -05:00
Andelf
c44715d9fe chore: bump version 0.10.0 2023-11-28 22:44:42 +08:00
Gabriel Horner
548fa98605 enhance: allow CLI and github action to set color accent 2023-11-28 22:32:34 +08:00
Tienson Qin
86b70e3b33 update datascript 2023-11-28 15:10:43 +08:00
Tienson Qin
716c496590 Update datascript 2023-11-28 14:57:06 +08:00
Gabriel Horner
4058b43d1c chore: move db specific page components to their own ns
Components were disorganized enough that we were resorting to declare
2023-11-27 16:17:01 -05:00
Gabriel Horner
adb27d2888 fix: page properties not visible in the sidebar
properties can contain critical info for a page and should be visible in
as many page contexts as possible
2023-11-27 15:36:18 -05:00
Andelf
21418d6fe9 fix(cmdk): enter key while ime composing 2023-11-28 02:41:01 +08:00
Andelf
68bae90039 test(fs): add unittests for new fn 2023-11-28 02:39:52 +08:00
Andelf
3069f5d7e3 fix(fs): path-join testcase 2023-11-28 02:39:52 +08:00
Andelf
61a3c19176 fix(fs): windows unc path support 2023-11-28 02:39:52 +08:00
Andelf
aa19b511f6 fix(fs): open file in folder under windows 2023-11-28 02:39:52 +08:00
Andelf
5ca28a3a56 fix(electron): open assets link in folder freezes file browser
Close #10491
2023-11-28 02:39:52 +08:00
Gabriel Horner
ce94c56970 fix: lints 2023-11-27 12:33:06 -05:00
Gabriel Horner
097554719e fix: open another db graph url when in a db graph 2023-11-27 12:27:25 -05:00
Gabriel Horner
599e19f131 fix: graphs view showing logseq_db_ prefix 2023-11-27 11:39:01 -05:00
Gabriel Horner
5e547a1663 fix: open db graph urls
Also introduced var for logseq_db_ in deps
2023-11-27 10:55:22 -05:00
ormai
9bdcfcf791 Update italian translation 2023-11-27 08:45:42 -05:00
Tienson Qin
232c1cb4c2 wip: debug 2023-11-26 15:58:26 +08:00
rcmerci
c468d05845 feat(rtc): support whiteboard blocks sync 2023-11-25 15:53:22 +08:00
Tienson Qin
d6e6e4ba28 console error 2023-11-25 14:24:43 +08:00
Tienson Qin
a4c30bc62f Works!! 2023-11-25 14:14:02 +08:00
Tienson Qin
a408f93b26 fix: db restore 2023-11-25 11:58:11 +08:00
Tienson Qin
6ff1207339 Replace data load and transact 2023-11-25 11:51:59 +08:00
Tienson Qin
b7ce9a7ca5 fix: add transact and datoms load 2023-11-25 11:22:59 +08:00
Tienson Qin
67cb8d6213 wip: persistent datascript storage on Electron 2023-11-25 10:49:01 +08:00
Tienson Qin
40bffa32b0 Use forked datascript 2023-11-25 09:12:59 +08:00
Tienson Qin
769b541790 enhance: batch refresh! when apply remote ops (#10545) 2023-11-24 18:16:59 +08:00
Tienson Qin
e8acfdefea enhance: reactive whiteboard 2023-11-24 15:21:10 +08:00
Andelf
bf808f345a Feat: multi tab db worker (#10543)
* enhance(sqlite): refine db-worker

* feat(sqlite): allow multi-tab with differet graphs

* fix(sqlite): db lock

* fix: enter to insert a block does not work

The reason is that shortcut/refresh! is debounced with 1 second.

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-11-24 14:59:43 +08:00
Tienson Qin
7d0d5f93f7 enhance: show alias' original name instead 2023-11-23 14:53:45 +08:00
Tienson Qin
a26494b325 fix: redirect to alias if possible 2023-11-23 14:53:45 +08:00
Tienson Qin
dcf5f8f296 fix: show classes only when adding a tag to a block 2023-11-23 14:01:19 +08:00
Andelf
d8c8b90143 fix(fs): impl mkdir-recur! for memory-fs 2023-11-23 12:26:42 +08:00
Gabriel Horner
15642394fc fix: misleading re-index messages show up in db graphs
re-index a graph should only show up for file graphs.
Also moved db.migrate to file-based since it contains re-index
and multiple file graph query assumptions
2023-11-22 17:11:04 -05:00
Gabriel Horner
d860812b75 enhance: gracefully handle file graph only commands
Commands like graph/re-index resulted in a blank graph when run in
a db graph. This gracefully handles this command and other known
file graph commands by adding a :file-graph? config key to a command
2023-11-22 16:26:49 -05:00
Gabriel Horner
6c5072e7e6 fix: property completion should only include properties
Was including classes and blocks with :block/schema. Also not
hiding icon property correctly. Also updated outdated docstrings
2023-11-22 12:29:57 -05:00
Gabriel Horner
6c618ffae1 fix: search indexing should handle many properties
also fixed same case for similar readable-properties
part of LOG-2921
2023-11-22 11:29:26 -05:00
Tienson Qin
265fccd6bc fix: can't create files (assets/draws) on browser
Fixes LOG-2908
2023-11-22 23:17:22 +08:00
Tienson Qin
44617ab8ca enhance: separate properties using ; 2023-11-22 22:52:59 +08:00
Tienson Qin
0eaba12b4a fix: refed blocks should be re-indexed when page or property changes
Related to LOG-2921
2023-11-22 22:48:31 +08:00
rcmerci
a09d158de5 enhance: validate :file/writes chan 2023-11-22 19:13:34 +08:00
Tienson Qin
2faeafd579 fix: dedupe files to write 2023-11-22 18:17:44 +08:00
Tienson Qin
11b0ac6f24 fix: add missing time for file write chan message 2023-11-22 18:07:51 +08:00
Tienson Qin
281ae72619 fix: remove dedupe-by since it doesn't allow consecutive writes 2023-11-22 17:55:59 +08:00
Tienson Qin
0295338638 Merge branch 'master' into feat/db 2023-11-22 16:19:16 +08:00
Tienson Qin
e7dc6564a7 Merge branch 'master' into feat/db 2023-11-22 16:12:19 +08:00
Tienson Qin
85a0f32e05 fix: batch set block property for missing refs 2023-11-22 15:42:43 +08:00
rcmerci
961dde4c90 fix: dedupe too many same page to sync-to-file 2023-11-22 15:42:43 +08:00