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

Preview metadata information of search result #20

Open
pedro93 opened this issue Jun 12, 2016 · 9 comments
Open

Preview metadata information of search result #20

pedro93 opened this issue Jun 12, 2016 · 9 comments

Comments

@pedro93
Copy link

pedro93 commented Jun 12, 2016

This is merely a suggestion to a comment thread posted on Reddit about this project.
Adding a preview modal view when hovering over a link to a package on the search result could show a quick summary of the meta information of said package.
Such information could include but is not limited to:

  • Downloads in last 30 days
  • Amount of GH stars
  • Last updated date
  • Dependency count
  • Dependent count
  • Past version count
  • Current unstable/RC version
  • Direct GH link for quick access to repository

Link to thread in question: comment

@pedro93 pedro93 changed the title Preview Preview metadata information of search result Jun 12, 2016
@satazor
Copy link
Member

satazor commented Jun 13, 2016

I agree that this would be a good addition. Later on, we will also have a package info page, that slides from the right whenever you click a module. If you click outside it, it will slide out. This way you won't loose the context of your search.

@darsain
Copy link

darsain commented Jun 15, 2016

Downloads in last 30 days, and link to repository should definitely be visible/accessible without any hover requirement. They are so valuable when discovering packages. I really don't want to hover that proprietary rating stamp for every search result.

Please :)

@icebob
Copy link

icebob commented Jun 19, 2016

+1 for Github stars. I think it is very important too.

@satazor
Copy link
Member

satazor commented Sep 21, 2016

I've added a "view package analysis" meanwhile. While this is not the final solution, it's something. Ideally we would open a modal dialog with JSON data highlighted.

@darsain
Copy link

darsain commented Sep 21, 2016

How can you consider modal windows an ideal solution for anything? They are annoying, a barrier between user and data, and should be implemented only in a situation where you absolutely can't find a different solution.

So, are you sure you can't display a couple numbers without a modal window? :)

@satazor
Copy link
Member

satazor commented Sep 21, 2016

It's not a couple a numbers but a lot of data to be shown.. showing only the nr of stars and what not is very incomplete. The score is calculated using the whole analysis.

@satazor
Copy link
Member

satazor commented Sep 21, 2016

Hovering the score could show a limited set of metrics as outlined by the OP (in the tooltip).

If everyone agrees with it, feel free to make a PR. Adding all this information in the item itself without requiring hovering/click would make items cluttered.

@darsain
Copy link

darsain commented Sep 21, 2016

The score is calculated using the whole analysis.

Yeah but I don't care about that score. I don't care about any of those 4 scores that are currently displayed. I simply don't know what they mean. I'd have to learn the algorithms they are calculated with for them to become meaningful. So right now they are just an arbitrary numbers that obfuscate data I'm actually interested in.

Pretty much the most important stuff, and all the numbers I really want to see are:

  • version 👍 already displayed, although it could be bigger and drop the parentheses
  • installs in last week (month is too big timeframe for new, and day too low for less popular modules)
  • last update date 👍 already displayed
  • maybe GitHub stars

And I'd never look at your score again. This is not a huge amount of data that would require a modal window.

@satazor
Copy link
Member

satazor commented Sep 21, 2016

@darsain those scores are explained in the about page. If you don't care to read it, no wonder you don't understand them. These "proprietary" scores give much more value than

version 👍 already displayed, although it could be bigger and drop the parentheses
installs in last week
last update date 👍 already displayed
maybe GitHub stars

You might agree these are the most important metrics, but I disagree as well as many other community members that I reached before creating npms.io. Members that actually participated in brainstorms and decisions that made npms.io so much popular than other alternatives that only use the metrics you listed.

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

4 participants