Tienson Qin
7dfbecb3e2
fix: query state should never be cleared for db graphs
2023-12-05 01:16:55 +08:00
Gabriel Horner
2554016d63
enhance: make closed values scriptable
...
Added closed value examples of all 5 property types
to properties graph. Part of LOG-2903
2023-12-04 10:11:52 -05:00
Tienson Qin
e04a5b4316
Merge branch 'master' into feat/db
2023-12-04 20:47:37 +08:00
Tienson Qin
d6e5e2b0b4
fix: tests
2023-12-04 20:31:39 +08:00
Tienson Qin
336c6cfd08
fix: lint warnings
2023-12-04 20:12:49 +08:00
Tienson Qin
00b11d6cb0
Add db-based model tests
2023-12-04 20:07:52 +08:00
Tienson Qin
aff14668fc
Add page rename tests
2023-12-04 18:15:47 +08:00
Tienson Qin
f4309bdc2b
Add recents test
2023-12-04 17:08:21 +08:00
Tienson Qin
dae27861d2
Finish db-based property tests
2023-12-04 16:44:01 +08:00
Tienson Qin
fbb8f96191
fix: tests
2023-12-04 16:26:12 +08:00
Tienson Qin
e6bc77e8b5
Add text block test
2023-12-04 16:07:39 +08:00
Tienson Qin
c2a216e4e1
Add closed values related tests
2023-12-04 15:15:15 +08:00
Tienson Qin
5761f206be
Add Posthog instrument when failed to refresh access token ( #10625 )
...
* Add posthog instrument when refresh token failed
* Add user-id to instrument
* fix: clear tokens iff oauth2/token returns 400 and invalid_grant
2023-12-03 23:10:22 +08:00
Tienson Qin
ecde2c3bfc
fix: cross-platform shotcuts ( #10590 )
...
This PR also simplifies the implementation of shui/shortcut a lot.
* fix: consistent char for the Enter key
* fix: show ctrl instead of ⌘ for copy ref
* fix: "Ctrl" should be split from "Ctrl X"
2023-12-03 12:40:08 +08:00
Andelf
95461d8a8a
fix(e2e): page search results
2023-12-03 12:07:51 +08:00
Andelf
a81ec6e215
fix(recents): zoomed block uuid should not be added to recents
2023-12-03 12:07:51 +08:00
Andelf
871f58e96b
fix(cmdk): avoid using uuid from recents
2023-12-03 12:07:51 +08:00
ROCKTAKEY
7525689bfb
Update Japanese translation ( #10612 )
...
* enhance: Update Japanese translation
* Update src/resources/dicts/ja.edn
---------
Co-authored-by: Andelf <andelf@gmail.com >
2023-12-02 10:52:54 +08:00
Gabriel Horner
045a59ea10
fix: slides don't work on published sites that aren't under '/'
...
Fixes https://github.com/logseq/publish-spa/issues/11
2023-12-02 10:49:36 +08:00
Gabriel Horner
cce2ba50ed
fix: slides don't work on published sites that aren't under '/'
2023-12-01 13:53:50 -05:00
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
Tienson Qin
2f514bf089
Add class properties related test
2023-11-30 02:18:22 +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
9e412168ce
fix: increase the default search length
...
Fixes #10569
2023-11-29 18:56:39 +08:00