Gabriel Horner
b48f69b80b
fix: assets not loading on published graphs that arent under /
2023-12-01 13:37:55 -05:00
Gabriel Horner
86928f9881
fix: can't select number closed values
2023-12-01 12:04:15 -05:00
Gabriel Horner
1f6f166d27
fix: page closed value crashing at beginning of block
2023-12-01 09:26:45 -05:00
Gabriel Horner
1669baa054
fix: existing closed values being deleted by property config changes
...
Also fixed delete sometimes being out of sync with property-schema
state. Fixes LOG-2954
2023-12-01 08:48:40 -05:00
Gabriel Horner
3d767b7167
fix: added closed values don't get deleted by other property config
...
part of LOG-2954
2023-11-30 18:06:59 -05:00
Gabriel Horner
cfe8d809b8
fix: changing property shouldn't lead to invalid closed values
...
To reproduce, create a :default property with two closed values. Change
to url type, the previous closed values would stay on and would be
invalid when selected. Also added a tippy so users are aware that
changing types can alter their existing config
2023-11-30 16:57:36 -05:00
Gabriel Horner
0ffce18d15
chore: rename property.type vars
...
- renamed schema-type to property-type as its not
a type of schema and schema is an ambiguous context
as it also applies to a class
- renamed builtin to built-in to be more correct
2023-11-30 16:26:44 -05:00
Gabriel Horner
f5e339293f
fix: add validation for property types and :schema attributes
...
Part of LOG-2953. We shouldn't persist unusuable property type
configurations as shown by this bug. By enumerating what schema
attributes are allowed for each type, we can prevent future bugs
like this. When changing between property types, this also cleans up
:classes, :position and :values that were accidentally hanging around
for certain types. Also modify test since we don't allow users
to use a :default property with :cardinality
2023-11-30 16:24:11 -05:00
Tienson Qin
7ec93f0f16
fix: result safety check
2023-11-30 22:31:27 +08:00
Tienson Qin
47082c8a16
fix: do not hide shortcuts in the search modal
...
Fixes #10575
2023-11-30 22:31:27 +08:00
Tienson Qin
1815f874fe
fix: e2e tests
2023-11-30 22:31:27 +08:00
Tienson Qin
77880cdd15
fix: pressing alt prevent search modal close
...
Fix #10577
2023-11-30 22:31:27 +08:00
Tienson Qin
5418e6bdce
fix: lint warning
2023-11-30 22:31:27 +08:00
Tienson Qin
15520964dd
fix: lower-case page name in search recents
...
Close #10574 #10576
2023-11-30 22:31:27 +08:00
Tienson Qin
567fb31148
fix: remove built-in properties from search results
...
Close #10573
2023-11-30 22:31:27 +08:00
charlie
416e1477f9
fix(ui): incorrect background color for the left sidebar on mobile #10572
2023-11-30 18:11:28 +08:00
charlie
9e8cc6efb4
fix(ui): alignment of the references & hierarchy container from right sidebar
2023-11-30 17:52:44 +08:00
charlie
1fdcdbe454
fix(ui): incorrect background color of the references blocks item container
2023-11-30 17:52:44 +08:00
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
Andelf
86aa39e893
chore: update @logseq/sqlite
2023-11-30 02:03:56 +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
0.10.0
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
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