-
Notifications
You must be signed in to change notification settings - Fork 11
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
Group by categories by default #12
Comments
@mxstbr BTW, it is a main reason why I still support plugins list in README.md. If this issue will be fixed and @himynameisdave will move all plugins from README.md to its awesome |
That's very true, and a very good idea! I was waiting for github metadata in |
@ai have a look now, is this a bit like what you imagined? 😃 |
Very close :-). But extra click is not good for this task. It should be closer to Play Market when you just can stop scrolling, because interesting content goes and goes :-) |
@ai Sorry, I don't understand - can you take a picture/a video of what you mean? |
Right now I am in the way, so I try to explain in text. Open PostCSS README. You will see category title and plugin list below, next category title and plugins list below. This way is much better solve "what interesting I can add to my project" use case:
|
Ah, I understand now. That's very true, but the problem for me is that the Pinging @himynameisdave, what do you think? I think @ai is right that it's nicer for "strolling", but based on the data I get from |
What if on index we will show only most popular 10 plugins per category with "Show more"? If we will have some popular plugin with 2 categories, we will show plugin only in "first 10" of first category and in the second we will hide it under "Show more"? |
We don't have a way to sort by most popular at the moment, because I don't get GitHub data yet... |
Hm, it is not cool :-/ users can search in current Markdown file by browser search. Maybe you can use http://npmsearch.com/ ? Also it will save you from static list repository. Because of course we should automatically load plugins from npm by |
That could work, but then we'd loose categorisation again... (because npm doesn't categorise the plugins AFAIK) |
Plugin developers can set plugin categories by special |
Yes, but they aren't standardised like the ones in the Readme. :( |
We can change standard in Plugin Guidelines. As temporary solution (until all developers will add special categories), we can use some whitelist JSON |
That's basically what I'm doing already: https://github.com/mxstbr/postcss.parts/blob/master/js/stores/AppStore.js#L11-L29 That's an okay solution, but not an optimal one because it requires trust in the developers to not mess up the categorisation. Hmm... |
We can also have black list for bad developers :-). I think it is problem, because right now developers do not mess with Plugin Guidelines rules. |
So basically the optimal solution is one long list with Category headers, showing 10-20 most-starred/-downloaded/-used plugins and a "Show more..." link, right? I'll look into npmsearch when I have some free time, maybe we can really do it with a category whitelist. |
Yeap. At least iTunes and Play Market uses this UI. |
@ai npmsearch now has API docs, which means I can use it! (Thx @tmpvar ) |
I see migration plan in:
What do you think? |
Ah didn't think of 2), good idea combining the two! 👍 Will start soon™ |
@ai There now is a first implementation in the branch @tmpvar is this anything you can combat, or is that just in the nature of npmsearch? |
You can cover git URL to HTTP |
use |
ok, it looks like there are still some getting through, will raise an issue on http://npmsearch.com/query?q=dom&fields=name,homepage,repository&pretty=true |
Right now, when I open index of
postcss.parts
, I will see long list.Long list is bad for reading. Because it is boring. For example, you can look to Play Market or iTunes. Instead of long list of films, thay hve grouped blocks on index.
So my suggestion:
The text was updated successfully, but these errors were encountered: