Commit Graph

9598 Commits

Author SHA1 Message Date
charlie
59cce66cd7 fix(ui): incorrect nodes edge color for the global graph view #10578 2023-11-30 17:48:26 +08:00
Gabriel Horner
d218db4e6f fix: fixes bug with unusuable :default property
Part of LOG-2953. Also fixes bug when a new property first displays
configure modal and incorrectly shows cardinality for :default property
2023-11-29 17:15:35 -05:00
Gabriel Horner
c0ad1aeb4c fix: outliner.core/-save id based fns not being called for uuid based tx
While fixing created-at being overwritten, I noticed that collapsed tx
use :block/uuid to identify blocks instead of :db/id.  Id fns weren't
being called for :block/uuid so this fixes that mistake.  QAed this
against another known use of :block/uuid tx and didn't see anything
buggy e.g. toggle numbered list in file graphs
2023-11-29 15:56:22 -05:00
Gabriel Horner
4a9f310937 fix: upstream tests failing 2023-11-29 14:52:19 -05:00
Andelf
f1d763aa12 chore: comment out electron? feature gate 2023-11-30 02:29:08 +08:00
Tienson Qin
2f514bf089 Add class properties related test 2023-11-30 02:18:22 +08:00
Andelf
ca24545b53 wip: impl datascript storage based on sqlite-opfs 2023-11-30 02:04:55 +08:00
Gabriel Horner
aac1b4bf58 fix: created-at timestamps overwritten when toggling block collapse
Given where this bug was, it effected any tx where :block/created-at
wasn't explicitly passed in
2023-11-29 12:01:33 -05:00
Tienson Qin
a57fbe6d6c Add delete-property-value! test and fix lint 2023-11-30 01:00:24 +08:00
Tienson Qin
f342303e6a Add initial tests on property handler 2023-11-30 00:34:04 +08:00
Gabriel Horner
1117ad3cb4 fix lint
also comment out print that prevented chaining query results with bb
2023-11-29 10:14:53 -05:00
Gabriel Horner
6517f6f12a Merge branch 'master' into feat/db 2023-11-29 09:56:12 -05:00
Tienson Qin
5bc3fb0383 fix: Search ctrl+up/down not works on Windows/Linux 2023-11-29 22:33:02 +08:00
Tienson Qin
e60ea3ac10 fix: remove debug assert 2023-11-29 21:03:52 +08:00
Tienson Qin
b2afb5b861 chore: remove unused queries 2023-11-29 19:04:27 +08:00
Tienson Qin
9e412168ce fix: increase the default search length
Fixes #10569
2023-11-29 18:56:39 +08:00
Tienson Qin
f9307d82f3 chore: use db/transact! instead 2023-11-29 17:20:24 +08:00
Andelf
5a4bba1378 enhance(cmdk): click subsection heading to toggle result more or less 2023-11-29 14:24:56 +08:00
Gabriel Horner
81ec1e375e fix: doc typo 2023-11-28 12:19:20 -05:00
Andelf
02d97c27ba fix(cmdk): shift key state handling 2023-11-29 00:49:48 +08:00
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
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
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
6ff1207339 Replace data load and transact 2023-11-25 11:51: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