Skip to content

[FEATURE]: Add organization filter for stats on Overview page #195

Description

@jikrana1

Feature and its Use Cases

  • What is the feature?
    When multiple organizations are searched together, the Overview page currently shows all stats (Total Stars, Total Forks, Active Repos,Language Distribution, High Impact Repositories) as combined totals across all organizations, with no way to view a single organization's numbers separately.

Example: if a user searches "google" and "apple", the stats currently show the combined total (e.g. 5.0M stars). This feature would add a dropdown so the user can select "google" alone and see only google's stats, or select "apple" to see apple's.

If only one organization is searched, the dropdown should not be shown, since there's nothing to filter between.

  • How would users benefit from it?
    Users comparing multiple organizations could quickly switch between individual org stats instead of only seeing one combined number, making it easier to spot differences in scale and activity.

  • What scenarios would this feature address?

  1. A user searches 2-3 organizations and wants to see one org's stats in isolation without the combined numbers.
  2. A user wants to compare organizations by switching the dropdown selection instead of running separate searches.

Additional Context

  • Relevant file: src/pages/OverviewPage.jsx
  • Repository objects already carry an orgLogin field (from buildAnalyticalModel), so filtering can be done locally without new API calls.
  • Suggested implementation follows the same filter pattern already used on the Repositories page.

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions