component/component.github.io

categories

tj opened this issue · 8 comments

tj commented

from the wiki, some inspiration:

http://www.unheap.com/section/inputs-forms/input-sliders/

having images like that would be cool but we would have tons of unpopulated ones

That looks sexy.

So were doing sub-categories? How deep should we allow to nest? 2 levels?
Who will put the component into its respective category? The dev itself or a group of curators?
How is it going to be categorized (tech-wise)?

I propose a new key for the component.json.

{
  "name": "mah-component",
  "description": "Quite cool stuff in here",
  "keywords": ["ui", "form", "slider", "animated", "funky-stuff"],
  "category": "ui/forms/sliders"
}

When the category UI->Forms->Sliders does not exist, the bot could create an issue informing the dev about that.

Do we want categories or do we want granular keyword navigation (i.e. facets). Kinda wish npm did this actually. Full text search on name and description, then fielded/faceted navigation on keywords. component.json has all the terms we need to make this useful.

The other nice attribute of facets is that it can be used to do research to find under-served keywords. That isn't always the only type of research you want to do, but it can be helpful to some audiences.

tj commented

we have full-text already, I think that's fine personally, I just want to scrape the wiki categories for the site

we have full-text already

Sounds good. I take it the keywords are also getting indexed then?

I just want to scrape the wiki categories for the site

Fair enough...that should work.

tj commented

yup keywords, the component name itself and descriptions

👍

meh, people should be using keywords instead