Coder Social home page Coder Social logo

Comments (2)

crowlKats avatar crowlKats commented on July 17, 2024

This is intentional behaviour, as when errors show up in runtime, they will be structured like that, so they can be just clicked on

from jsr.

donjo avatar donjo commented on July 17, 2024

I'm not sure I understand entirely. Here's an example of where the way it currently works could cause a confusing experience for a user.

Imagine I'm a user and I hear about a new package called @std/archive so I go to https://jsr.io/@std/archive to read more about it. I start clicking around to understand it's features and I click on the docs tab, read some docs, click on the versions tab to see how recently it has been updated, and lastly go to the files tab to see what the code actually looks like. Now I'm all done and I want to link the package to my team so I go back to the overview tab where I started and copy/paste the URL. However, the URL in my address bar is no longer a URL that will always link to the latest version of the package (https://jsr.io/@std/archive) but it links to whatever the latest version was at the time I happened to click the files tab before copying the URL from my address bar (https://jsr.io/@std/[email protected]).

The more I've thought about this I don't think the solution is just making the overview tab always link to the latest version's overview but I think the whole package header should probably be re-thought a bit to make it more clear when you are viewing content relevant to a specific version vs some universal metadata about the package

image

from jsr.

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.