Commit Graph

13454 Commits

Author SHA1 Message Date
Andelf
f1d763aa12 chore: comment out electron? feature gate 2023-11-30 02:29:08 +08:00
Andelf
ca24545b53 wip: impl datascript storage based on sqlite-opfs 2023-11-30 02:04:55 +08:00
Andelf
86aa39e893 chore: update @logseq/sqlite 2023-11-30 02:03:56 +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
f9307d82f3 chore: use db/transact! instead 2023-11-29 17:20:24 +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
Tienson Qin
232c1cb4c2 wip: debug 2023-11-26 15:58:26 +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
dcf5f8f296 fix: show classes only when adding a tag to a block 2023-11-23 14:01:19 +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
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
Gabriel Horner
cad56303b2 fix: missing and invalid data when adding existing closed values
Part of LOG-2926. Also replaced remaining uses of block-with-timestamps
to reduce use of duplicate helper
2023-11-21 15:07:47 -05:00
Gabriel Horner
12a5152bb5 fix: properties search index should be updated when block is updated
Part of LOG-2921. Also removed incorrect closed value index as page
uuids aren't stored in block/schema
2023-11-21 14:11:09 -05:00
queeup
bfe1edb4bd enhance(i18n): update Turkish translation (#10492)
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-11-21 10:35:40 -05:00
Tienson Qin
3b40cf00ff fix: property values disappear when adding closed values to a property
Fixes LOG-2926

Make sure to add existing values(non-UUIDs) to closed values before
adding a new value.
2023-11-21 20:34:38 +08:00
Tienson Qin
50d06c4df9 enhance: add scroll padding block 2023-11-21 16:02:35 +08:00
Tienson Qin
6f917192aa enhance: add scroll padding block 2023-11-21 15:40:59 +08:00
rcmerci
0879def32b fix(rtc): insert blocks in whiteboard 2023-11-21 14:46:43 +08:00
Tienson Qin
1b3f4ee17e fix: block property values show incorrect breadcrumb
Fixes LOG-2911
2023-11-21 14:39:01 +08:00
Tienson Qin
90ffbebc17 Merge branch 'master' into feat/db 2023-11-21 13:53:16 +08:00
Tienson Qin
d45bfb30b1 fix: Cmd+a to select all blocks doesn't work
Fixes LOG-2933
2023-11-21 13:19:12 +08:00
Tienson Qin
a1093171df fix: can't find default property values in search
Fixes LOG-2921
2023-11-21 12:49:29 +08:00
Tienson Qin
89284f07fd fix: can't open references when refed block is a property value
Fixes LOG-2910
2023-11-21 12:01:28 +08:00
Tienson Qin
cb7bcb3816 fix: a non-journal home page is empty on initial graph load
Fixes LOG-2813
2023-11-21 11:26:48 +08:00
Tienson Qin
bb5762df62 fix: uuid based property values appear blank on initial graph load
Fixes LOG-2909
2023-11-21 10:48:09 +08:00
Gabriel Horner
c69c22c716 fix: duplicate closed value validation
c65958f5ec didn't fix it correctly
for the "closed value" values
2023-11-20 16:07:53 -05:00
Gabriel Horner
6749577105 fix: a property must have a :type when making schema changes
Caught by schema validation. This also aligns with what users
are seeing in the UI i.e. a :default type when they're
starting to interact with a property
2023-11-20 11:59:14 -05:00
Gabriel Horner
fde68d9d02 fix: handle cardinality many to one change
fixes LOG-2922
2023-11-20 11:06:09 -05:00
Andelf
71b629a657 fix(build): disable win code sign 2023-11-20 23:48:54 +08:00
Charlie
08633b7552 enhance(ui): polish accent color details (#10520)
* enhance(ui): polish accent color details

* fix(ui): inline code bg color for accent mode

* fix: set page properties bg color the same as block properties

* fix: plugins background color

* fix: set the same width for keymap

* fix: set limited height for settings modal

* fix: page title color

* fix: accent colors for bullets and guideline

* fix: bullet hover background

* fix: remove unnecessary background colors for onboarding

* fix: clear notification since the beginning of e2e tests

* chore: remove unstable page-rename test

* fix: e2e tests

* fix: reset whiteboard title to untitled if a page exists

* fix: linked whiteboard

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-11-20 23:26:30 +08:00