* feat(asset): add alignment options for images
* enhance(ux): select block for the action of double click in the image asset container
* enhance(asset): change alignment property type from string to keyword and normalize alignment handling
Root cause:
get-bidirectional-properties was recomputing
bidirectional-property-attr? for every [e a] match, repeatedly calling
d/entity for the same property attr keyword. That made cost scale with
datom count, not unique properties.
Fix:
Added per-call memoization for property-attr bidirectional checks
using a local volatile! cache, so each attr is resolved once per
invocation.
For keys with non-ordered collections, use sets to consistently produce
idempotent values. Users can still author with vectors for these keys.
This affects :build/tags, :build/property-classes and
:build/class-extends. Also remove any hacks around making their values
consistent across import->export cycles
Fixed the setup of these tests and then was able to confirm that
built-in pages are idempotent with import-export process. Also fixed
related docstrings
An EDN export should consistently produce the same EDN when imported
into a new graph and re-exported. This adds initial fn, cli option and
test to ensure this. There are some known TODOs. diff-graphs script was
removed as it was being used as a subset of the workflow provided by the
--roundtrip option
* Fix import Zotero not recognized as asset
* Fix the inconsistency between imported Zotero label and actual filename
* Import support for zotero linked file like using zotfile
* Fix zotero highlighting block error after importing from file
* compatible with old configuration
* fix zotero picture highlight block does not consider as asset after importing
* Reconstructed to meet bb requirements
* empty datascript to avoid Conflicting upsert error after importing file to db graph
* use external-file-name instead of adding new property
* fix zotero link file can't open in asset page
* compatible with commit 33db791
* compatible with windows path & support zotero path can be relative for ci testing
* add zotero importing test
* remove prn log
* remove useless line
* Revert commit 45ebb9e
Future imports will be performed in the worker, will no longer encounter these issues
* refactor: update today page check to use async block retrieval
* Revert "refactor: update today page check to use async block retrieval"
This reverts commit 6750333df1.