workbenchdev / workbenchdev/Biblioteca
Sort Classes First
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 69
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Hey, thanks for this lovely app!
One issue I often have searching the gtk online docs is that I'll do a search for, say, "revealer" and the first 10 results will be the class' associated functions ("gtk_revealer_new", "gtk_revealer_set_child", etc.) before the page for the class itself is shown.
Don't know if you agree, but classes (and I suppose namespaces, interfaces, and structs too) seem like the most important pages to return in a search, and it would be cool if they could be sorted before all the other pages.
Thanks for your consideration!!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the search-result ranking logic in Biblioteca and inspect how GTK documentation pages are classified. Adjust the ordering so classes, namespaces, interfaces, and structs appear before associated functions, then verify searches such as "revealer" show the class page first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100