Commit Graph

13441 Commits (b7ce9a7ca5c66df760fd023070449d574e6100af)

Author SHA1 Message Date
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
Tienson Qin 5704fc2eea fix: remove orphaned block refs/tags when saving a block's content
Fixes LOG-2820
2023-11-20 17:34:36 +08:00
Tienson Qin 182cf06d52 fix: parse progressing bg 2023-11-18 21:48:25 +08:00
Tienson Qin f0b1d94de5 fix: move tailwind ui buttons to the new button 2023-11-18 21:48:25 +08:00
Tienson Qin b33ef9807e fix: quick tour buttons 2023-11-18 21:48:25 +08:00
Gabriel Horner be747bd728 chore: move db graph property fns to db-based.property
Doing this revealed db graph fns were being called on file graphs for
every block and linked reference. Also removed property.handler fns
that were just wrapping a graph-specific fn as they were making handlers
less explicit and adding duplicate config/db-based-graph? checks
2023-11-17 23:37:17 -05:00
Gabriel Horner e95531869a chore: move db only property util fns to their own ns
by doing this found a couple places where we accidentally called db fns
in file graph contexts
2023-11-17 16:36:49 -05:00
Gabriel Horner 6f9143df4f chore: add db and file graph linter to CI
This has run successfully locally for weeks. Also fix install doc for
bb tasks
2023-11-17 10:35:01 -05:00
Tienson Qin 35eb57c402 enhance: close modal when ESC and input hasn't been changed 2023-11-17 13:42:58 +08:00
Tienson Qin a25ab8af30 enhance: reduce the time to wait for ensuring sqlite initialization 2023-11-17 13:36:59 +08:00
Gabriel Horner f64f1461a3 enhance: make bb dev:db-transact usable for any task
closes LOG-2647. This task was used to update multiple graphs
that were now invalid with the removal of :block/type "object"
2023-11-16 16:40:35 -05:00
Gabriel Horner cca80e37a7 fix: remove unused :block/type "object"
fixes LOG-2914
2023-11-16 14:50:21 -05:00
Gabriel Horner 834c466590 fix missed lint 2023-11-16 14:05:11 -05:00
Gabriel Horner b3b5be5ec6 fix unit tests and lints 2023-11-16 13:55:04 -05:00