Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-blocking metadata extraction #364

Open
kirillt opened this issue Jul 19, 2023 · 0 comments
Open

Non-blocking metadata extraction #364

kirillt opened this issue Jul 19, 2023 · 0 comments

Comments

@kirillt
Copy link
Member

kirillt commented Jul 19, 2023

(Part of #23)

We could reduce the initial wait time before folder opening by turning metadata extraction into a non-blocking process, similar to how we handle preview generation. Currently, a resource missing a preview is represented by a progress circle until the preview is ready. We should aim for the same approach with metadata.

Although, handling metadata can be slightly more complex given its intricate connection with the UI. For instance, depending on the chosen sorting criteria, the process of resource ordering can require metadata. So, if metadata isn't computed yet, we may not be able to sort resources in some cases. We need to thoroughly consider how metadata is intertwined with the UI and how to manage its absence correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant