ARK-Builders / ARK-Builders/Navigator

Non-blocking metadata extraction

Open
#364 0 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Kotlin
Stars
16
Forks
14
PR merge metrics
No merged PRs in 30d

Description

_(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.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing non-blocking preview-generation flow and how metadata extraction, resource ordering, and sorting are connected to the UI. Done means folder opening no longer waits for metadata, missing metadata is represented appropriately, and sorting remains correct when metadata is not yet available.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.