[FEATURE]: Add repository search/filter to the Overview page
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript, react
Research direction
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.
Written by the indexing model from the issue text.
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
- Dominant language
- JavaScript
- Stars
- 53
- Forks
- 187
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from AOSSIE-Org/OrgExplorer
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesDataPossibly taken @havyasreekuppam claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AOSSIE-Org/OrgExplorer#476 · 5 comments ·
Maintainers usually reply within 1 day
-
Add Pat for 5000 req/hr button not visible when pat expiresPossibly taken @Rajvardhan-Singh-Rathore claimed this 6 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/OrgExplorer#473 · 6 comments ·
Maintainers usually reply within 1 day
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible namePossibly taken @prasanm1423 claimed this 10 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#466 · 2 comments ·
Maintainers usually reply within 1 day
-
[FEATURE]: Set dynamic document.title based on active page routePossibly taken @23241a6749 claimed this 8 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#462 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedPossibly taken @vivekrajputofficial29-afk claimed this 8 days ago. Openbug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 89/100
AOSSIE-Org/OrgExplorer#461 · 1 comment ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OrgExplorer
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days