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
- 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
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
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
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
* 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>
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
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