Coder Social home page Coder Social logo

Sort by stars? about awesome-react HOT 12 OPEN

hornta avatar hornta commented on April 20, 2024
Sort by stars?

from awesome-react.

Comments (12)

paulmelnikow avatar paulmelnikow commented on April 20, 2024 2

Downloads are a measure of popularity, too. They show how many people are using the project.

For activity, I'm trying to get at what's happening in the project. Does it have outside contributors, recently merged PRs, a recent release?

from awesome-react.

patrickcurl avatar patrickcurl commented on April 20, 2024 1

I mean by 'this would be cool' ... sorting by last update, and display star count, from a json version... could even have a website where people can simply submit a new item, that will add to the json array, and repopulate the list's markup automatically... that way you wouldn't even have to worry about PR requests... I might tinker w/ that after I finish up a few projects I'm working on.

from awesome-react.

paulmelnikow avatar paulmelnikow commented on April 20, 2024 1

I had an idea a looong while ago to use a badge to combine some key stats for each project. It would really help with a list like this which is long and often out of date.

I ended up joining Shields and I'm excited that I have a little time to revisit the idea.

We could pick two or three key metics and render them like this:

That's one I designed a while ago, which shows stars, forks, and issue count.

Implementing this on the markdown side will require a link next to each item. That seems a little unwieldy so I'm not completely sure this is feasible. Seems high enough impact, though that it might be worth pushing forward with this and seeing if we find something that works well enough.

Some metrics we might want to show:

  1. React version in peer dependencies is up to date (for a component or library)
  2. Download count
  3. Star count
  4. Number of contributors or other metric of recent activity on the repo or project

What seems the most valuable?

from awesome-react.

Haroenv avatar Haroenv commented on April 20, 2024 1

screenshot 2019-01-14 at 17 30 06

the sizes of the icons don't seem consistent is what I meant.

Activity -> downloads
Popularity -> stars

I'm not fully sure though, on Yarn I decided to show both

from awesome-react.

paulmelnikow avatar paulmelnikow commented on April 20, 2024

A stepping stone would be to add some star badges. That would help us keep the sort order up to date, and would also help developers find things in the meantime.

from awesome-react.

alexanderjsx avatar alexanderjsx commented on April 20, 2024

We can run some sort of cron job (daily on CI?) to create the list with stars. Basically a script to generate markdown on CI and commit to the project

from awesome-react.

Coriou avatar Coriou commented on April 20, 2024

I'd actually prefer to sort by last update, and simply display the star count. I think all of those lists should be sorted like this, but I never see it so I guess it's just me

from awesome-react.

Haroenv avatar Haroenv commented on April 20, 2024

all of that is fairly complicated, since it's just a markdown file, but if you have the inclination to do so, I feel like it would probably be best to transform the list to a json or something, and the markdown to be generated e.g. daily from that data, with the PRs only going to the data.

PR definitely welcome if you want to work on this

from awesome-react.

patrickcurl avatar patrickcurl commented on April 20, 2024

This would be cool...also would be cool if there were deeper categories..like components is huge...and some things can be grouped...like material-ui components, table components, etc....

from awesome-react.

Haroenv avatar Haroenv commented on April 20, 2024

if you make a PR to split them up in categories, I'd definitely approve @patrickcurl, however sorting by stars is not practical, since the list is static, and stars aren't

from awesome-react.

Haroenv avatar Haroenv commented on April 20, 2024

Looks like a nice idea to me! Easy to have a wrong metric for the peer dependency though, so maybe we can only show that if it's "positive". Otherwise the exact design for the badge seems a bit odd with sizing, maybe that can be done differently?

from awesome-react.

paulmelnikow avatar paulmelnikow commented on April 20, 2024

Easy to have a wrong metric for the peer dependency though, so maybe we can only show that if it's "positive".

👍

Otherwise the exact design for the badge seems a bit odd with sizing, maybe that can be done differently?

Could you elaborate? I think it can be improved, just trying to think about what to focus on.

Any thought on whether downloads or stars is a better popularity metric? Or what makes a good activity metric?

from awesome-react.

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.