Gabriel Horner
123cb8fc42
fix: cleanup property tuple validation
...
Had an unnecessary entity refetch. Also move ui assumptions about :many
validation to ui as this needlessly limits what :many could store
2024-05-09 10:57:18 -04:00
Gabriel Horner
161c5c8565
Merge branch 'master' into feat/db
2024-05-09 08:41:40 -04:00
Tienson Qin
e7562e0853
fix: stop event when pressing enter or space on a property value
2024-05-09 17:53:15 +08:00
Tienson Qin
45e5cde3f9
fix: slow popup
2024-05-09 17:24:07 +08:00
Tienson Qin
c48ddf9b8f
fix: don't show popup when clicking on link or button
2024-05-09 16:47:00 +08:00
Tienson Qin
3e77b53b91
fix: add page type property value
2024-05-09 16:40:58 +08:00
Andelf
b419b955cc
Add MSI build for windows ( #11301 )
2024-05-09 16:35:49 +08:00
Tienson Qin
339883800d
fix: property tuple validation
2024-05-09 16:29:55 +08:00
charlie
e9b430b1b0
enhance(ui): refactor the shui-related codes
2024-05-09 12:46:52 +08:00
Tienson Qin
57ed32d3e5
fix: property value popover not closed after setting a value
2024-05-09 11:24:46 +08:00
Tienson Qin
61db29ceba
Remove [:block/schema :cardinality]
...
Uses :db/cardinality instead.
2024-05-09 11:24:46 +08:00
charlie
1d12ac56a1
enhance(ux): the filter-related enhancements for the cmdk cp
2024-05-09 11:19:11 +08:00
Tienson Qin
bccf999853
fix: tests
2024-05-09 08:51:49 +08:00
Tienson Qin
45f14d4b76
refactor: property/schema.properties
...
Replace [:block/schema :properties] with ref type property/schema.properties.
This commit also introduces :logseq.class/base so that all the other
classes will be its children.
2024-05-09 08:29:11 +08:00
Tienson Qin
4a3fd52eab
Remove special style for #card
2024-05-09 04:49:23 +08:00
Tienson Qin
bb5a3364e6
fix: outdent property child block replaces its parent
...
Fixes LOG-3141
2024-05-09 04:36:14 +08:00
Tienson Qin
5013d34c2f
chore: cleanup :block/_left usage
2024-05-09 04:36:14 +08:00
Tienson Qin
d6ffd16799
fix: can't move blocks up
...
Fixes LOG-3140
2024-05-09 04:36:14 +08:00
Gabriel Horner
d3c276ac50
fix: named heading route for file and db graphs
2024-05-08 16:32:10 -04:00
Gabriel Horner
00e153e866
fix: closed value :number can also be float
2024-05-08 15:23:57 -04:00
Gabriel Horner
1b5ad28302
fix: deleting :default property pair also deletes property value
2024-05-08 14:58:10 -04:00
Gabriel Horner
fe80ce371c
fix: property names and values search results
2024-05-08 14:42:52 -04:00
Gabriel Horner
949d676f02
fix: number closed value not saved as its original value
...
A :number closed value saved as a string is problematic for a couple
reasons:
* Not storing a number by the user's intended value means a loss of any
numeric functionality the property provides. Basic things like sorting
by the numeric property don't work. This has caused us problems in the
past and we invented hacky workarounds like logseq.query/nlp-date to
compensate for this
* Creates inconsistency in how numbers are saved as non-closed values
are not saved as string. This affects not only the validation layer
but also creates bugs when querying for these property values as the
querying interface is inconsistent
2024-05-08 13:49:22 -04:00
Gabriel Horner
298c37ffc7
fix: lints + schema key which shouldn't have been removed
2024-05-08 12:31:08 -04:00
Gabriel Horner
8b15b64360
chore: disable unsupported :page and :date generation in properties graph
2024-05-08 12:08:38 -04:00
Gabriel Horner
f57f4c0c75
fix: cleanup old references to schema values
2024-05-08 11:59:02 -04:00
Gabriel Horner
22f15a3fb3
fix: validating closed value ents
...
Also fix closed value membership not being checked from CLI
2024-05-08 11:47:45 -04:00
charlie
d3fe5d26b7
enhance(ux): polish themes filter for the cmdk
2024-05-08 21:58:59 +08:00
rcmerci
f69094713f
enhance: move missionary-util to src/main/frontend/common/
2024-05-08 21:56:52 +08:00
charlie
c8bf09b131
enhance(ux): add shortcut for the cmdk themes picker
2024-05-08 18:50:11 +08:00
Andelf
da78593eb1
fix(sync): cannot delete some nested files
...
Close #11278
2024-05-08 16:42:41 +08:00
charlie
d6d9226466
enhance(ux): add themes filter for the cmdk
2024-05-08 15:39:29 +08:00
rcmerci
34e2f132d8
enhance(rtc): upload&download to support :block/order
2024-05-08 13:44:35 +08:00
rcmerci
d75e3d944d
enhance(rtc): clear deprecated schema
2024-05-08 13:12:40 +08:00
Gabriel Horner
be9237d101
refactor: move rules deps usage into helper fn
...
Dries up task dependency that was copied in query-dsl
2024-05-07 22:11:27 -04:00
Gabriel Horner
489e7f3422
fix: :default-queries for db graphs
...
closes LOG-3042. Moved :default-queries to default-config as this allows
for any future fix to automatically update for a user. There's also a
breaking change with this config key from :block/journal? so moving this
to default-config makes the migration easier e.g. just tell users to
remove the config key
2024-05-07 18:03:50 -04:00
Tienson Qin
d92bd4c30a
fix: page configure button partial display
2024-05-08 02:02:37 +08:00
Tienson Qin
89afdcdd7b
fix: outliner core tests
2024-05-08 01:29:23 +08:00
Tienson Qin
55bc527df5
fix: closed values test
2024-05-08 00:50:06 +08:00
Tienson Qin
976e5c2f6b
fix: generate n keys for fractional index
2024-05-08 00:37:17 +08:00
Tienson Qin
1cb0896e3b
refactor: remove [:block/schema :values]
...
Some changes:
1. use :block/closed-value-property instead to record which property
this value entity belongs to.
2. use :block/content instead of [:block/schema :value].
3. :page and :date have been removed from closed-value-property-types
because there could be a page/date that's a closed value for multiple
properties, we have no idea what's the `:block/order` for a specific
property.
2024-05-07 23:33:04 +08:00
Gabriel Horner
ead9f30f1b
fix: typing hashtag sets heading
...
also remove unused var
2024-05-07 10:53:32 -04:00
Tienson Qin
4e32a5042a
fix: reset *max-key when loading graph
2024-05-07 21:52:56 +08:00
rcmerci
26f019853e
fix: FIXME in carve config
2024-05-07 21:34:13 +08:00
Gabriel Horner
039d0ed287
fix: frontend lints
...
@RCmerci There's a fixme for you
2024-05-07 08:33:44 -04:00
Tienson Qin
308c3bcd17
fix: reset max key when generate-n-keys-between
2024-05-07 20:07:06 +08:00
rcmerci
c4b70491a0
fix(rtc): remove occurrences of :block/left
2024-05-07 17:32:15 +08:00
Tienson Qin
ee0d89ad85
refactor: replace [:block/schema :value] with :property/schema.value
2024-05-07 17:26:56 +08:00
rcmerci
660df47fa0
chore: tag fix-me
2024-05-07 14:05:49 +08:00
rcmerci
7f7248033d
refactor(rtc): remove deprecated ns and fns
2024-05-07 14:02:27 +08:00