ARK-Builders / ARK-Shelf-Desktop

ARK Shelf is where you put your bookmarks during your web surfing. Desktop version.
MIT License
3 stars 6 forks source link

Can't open fresh folders with `.link` files #46

Open kirillt opened 1 year ago

kirillt commented 1 year ago

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:

What we do in case a link lacks preview:

Rizary commented 9 months ago

@kirillt can you give me the logic for this bug?

kirillt commented 9 months ago

@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.

shubertm commented 7 months ago

https://github.com/ARK-Builders/ARK-Shelf-Desktop/assets/87703131/2023fb81-e266-4f9e-81c0-136e97ac1291

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