Open kirillt opened 1 year ago
@kirillt can you give me the logic for this bug?
@Rizary oh, I forgot that we already have this issue registered here. I think, we've discussed it during the call. The idea is that .link
files can come externally, i.e. if the user just copies them in a file browser, or saves from a messenger, etc.
In this case, first launch should request all metadata, put it into cache/metadata
storage and use as fallback for properties. The user is free to override the title/description and such values should be stored in user/properties
. We need spinning circles to demonstrate that there are internet requests running in background about particular links. We also need to make title
optional.
May be related to this issue but I created my links using Shelf itself. And they fail to open when I want to browse them
By "fresh" I mean folders without
.ark
subfolder. This means there is any link lacks metadata and preview. Half-initialized folders must be openable, too. In other words, user should be able to copy-paste file externally into the folder and we should catch up with all missing data.What we do in case a link lacks metadata:
user/properties
, we query OGP and record all required fields intocache/metadata
user/properties
, then we query OGP for missing fields and put them intocache/metadata
user/properties
, then we don't query OGPWhat we do in case a link lacks preview:
cache/previews