Giter Club home page Giter Club logo

Comments (3)

kirillt avatar kirillt commented on July 20, 2024

Resources which are not indexed yet, but already tagged by the user — must be prioritized in indexing queue.

from ark-navigator.

kirillt avatar kirillt commented on July 20, 2024

@mdrlzy Probably, we should re-think this issue: let's just allow user use Navigator without waiting while all previews are generated. I.e. non-blocking previews generation. Later, it will be possible to separate other stages of indexing.

Step 1: non-blocking previews generation.

  • When resources ids are known, grid items could be mocked and user should be allowed scroll Resource Grid
  • Resource stubs should be marked by endless spinner if preview for the resource is not ready yet
  • Gallery could be made available too, also with endless spinner on scheduled previews
  • Gallery screen: user should be able to see tags and/or see details of the resource
  • Resource Grid screen: user should be able to query resources even if they don't have preview yet

Step 2: non-blocking metadata extraction.
Depending on selected sorting criteria, ordering of resources can depend on metadata. So if metadata is not computed yet, we can't sort resources, in some cases.

Step 3: non-blocking indexing.
If we have a collection of resources, where some resources lack ids, it becomes impossible to locate them using tags or display their scores. Versions will not be possible, too. We need to be able to update queries in a way which is not confusing for the user.

Step 4: app-independent indexing.
It would be awesome to decouple indexing, metadata extraction and previews generation from particular app (Navigator, Shelf, Memo, etc.) and do in background once for all dependent apps. This could be supported by implementing Android service which would serve all ARK apps with index and storages.

Step 5: user-dependent prioritization of processing queues
If an id or metadata are missing for a resource which is subject to some user's action (tagging or something else), we should prioritize it's processing (i.e. indexing or metadata extraction).

from ark-navigator.

kirillt avatar kirillt commented on July 20, 2024

Opening a resource in Gallery view should prioritize its processing in the queue, too.

from ark-navigator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.