workbenchdev / workbenchdev/Biblioteca

Sort Classes First

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.