Code Monkey home page Code Monkey logo

Comments (6)

whatakey avatar whatakey commented on May 26, 2024 1

Hello and thank you for kellnr.

This a very important feature for kellnr, my use case is mostly using cashed crates locally as an alternative to crates.io registry, it is important to be able to view a listing of those cached crates including generating docs for them.

I hope you consider this feature a priority.

from kellnr.

secana avatar secana commented on May 26, 2024 1

Thanks for the feedback. I didn't plan to generate the docs for the cached crates, but I'll look into that.

from kellnr.

SpootDev avatar SpootDev commented on May 26, 2024

I would love to see this feature enabled as well to allow looking at the cached crates.

from kellnr.

secana avatar secana commented on May 26, 2024

TODO:

  • Add max_version column to cratesio_crate table
  • Add documentation column to cratesio_meta table (link to docs.rs)
  • Add icon to UI in Crates view, to distinguish between kellnr and crates.io crates (add icon to CrateCard)
  • Add switch in UI in Crates view, to enable or disable the display and search of cached crates
  • Add conditional search for cached crates to search endpoint in web_ui.rs

Q: How to handle, if the crate card is clicked in the UI?

  1. Forward to the corresponding crates.io page
  2. Show all details of the crate, like it is done for kellnr crates
  • All missing values need to be added to the DB

For the first iteration, linking to crates.io seems fine.

from kellnr.

secana avatar secana commented on May 26, 2024

Have to think about linking to crates.io as stated above, as the list of cached versions of a crate would not be accessibly with this approach. If a click on the CrateCard forwards to crates.io instead of opening the Crate view, which displays the available version, this information is lost to the user.

from kellnr.

secana avatar secana commented on May 26, 2024

For the first iteration, I decided to just link to crates.io. Everything else can be delivered if requested in later versions.

from kellnr.

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.