[FEATURE]: Add repository search/filter to the Overview page
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 20/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- À l'abandon
- Stack technique
- javascript, react
Piste de recherche
Read src/pages/OverviewPage.jsx and compare the existing search inputs on GovernancePage.jsx and RepositoriesPage.jsx. The issue names the current topRepos calculation and the C.input style in src/components/UI.jsx; use those as entry points. Done means matching repository names appear as the query changes, the empty query keeps the top five, and an active query shows the result count. A linked open pull request (#409) indicates work is already underway.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Feature and its Use Cases
[FEATURE]: Add repository search/filter to the Overview page
Feature and its Use Cases
What is the feature?
The Overview page currently shows a hardcoded "High Impact Repositories" card with the top 5 repos sorted by health score. There is no way to search or filter across the full repository list from this page.
The feature adds a live search input above the "High Impact Repositories" card that filters totalRepos by repo name as the user types. The card would then display matching results instead of only the fixed top 5.
Current behavior
In src/pages/OverviewPage.jsx, topRepos is always computed as:
const topRepos = [...filteredRepos].sort((a, b) => b.healthScore - a.healthScore).slice(0, 5)
There is no user input — the list is always exactly 5 repos, always sorted by health score, with no way to look up a specific repo by name.
Proposed behavior
- A search input (text box) appears above the "High Impact Repositories" card
- As the user types,
topReposis filtered to repos whose name includes the query (case-insensitive) - When the search is empty, it falls back to the existing behaviour — top 5 by health score
- The result count is shown (e.g. "3 of 47 repos") when a query is active
How would users benefit?
- Organizations with many repos (50+) make the fixed top-5 view almost useless — users can't find specific repos without navigating away to the full Repositories page
- Users doing a quick check on a specific repo (e.g. "what is the health score of
my-api?") currently have no way to do that from the Overview - It reuses data already in memory (
totalRepos/filteredRepos) — zero extra API calls
Affected file
src/pages/OverviewPage.jsx— single file change, roughly 15–20 lines added
Proposed implementation sketch
// 1. Add state
const [repoSearch, setRepoSearch] = useState('')
// 2. Replace the hardcoded topRepos computation
const topRepos = repoSearch.trim()
? filteredRepos
.filter(r => r.name.toLowerCase().includes(repoSearch.trim().toLowerCase()))
.sort((a, b) => b.healthScore - a.healthScore)
.slice(0, 10)
: [...filteredRepos].sort((a, b) => b.healthScore - a.healthScore).slice(0, 5)
// 3. Add input above the card
<input
value={repoSearch}
onChange={e => setRepoSearch(e.target.value)}
placeholder="Search repositories..."
style={{ ...C.input, marginBottom: 12, width: '100%' }}
/>
Additional Context
- The
C.inputstyle object already exists insrc/components/UI.jsx— consistent styling is already available - The
filteredReposarray already respects the org filter dropdown (multi-org mode), so search will naturally scope to the selected org - Similar search inputs already exist on
GovernancePage.jsxandRepositoriesPage.jsx— this follows the same pattern used elsewhere in the codebase - No new dependencies needed
Additional Context
No response
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Langage dominant
- JavaScript
- Étoiles
- 53
- Forks
- 182
- Merge moyen
- 18 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AOSSIE-Org/OrgExplorer
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible namePeut-être pris @prasanm1423 l’a pris il y a 3 jours. Ouvertebug enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
AOSSIE-Org/OrgExplorer#466 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
[FEATURE]: Set dynamic document.title based on active page routePeut-être pris @23241a6749 l’a pris il y a 1 jour. Ouverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
AOSSIE-Org/OrgExplorer#462 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedPeut-être pris @vivekrajputofficial29-afk l’a pris il y a 1 jour. Ouvertebug enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 89/100
AOSSIE-Org/OrgExplorer#461 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG]: governance page shows "No dead issues" before the audit has runPeut-être à nouveau libre @SYED-IRTEZA-HUSSAIN-RIZVI l’a pris il y a 8 jours, et aucune pull request n’est ouverte. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
AOSSIE-Org/OrgExplorer#453 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG]: User-controlled org/repo names are interpolated into API URLs unencodedPeut-être pris @AbhishekKumar-cse l’a pris il y a 10 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
AOSSIE-Org/OrgExplorer#449 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de AOSSIE-Org/OrgExplorer
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
kentcdodds/kcd-skills#32 ·
-
good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
tech-debt
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement frontend good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 2 jours
-
[推荐] SubtitleMedicOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 65/100