Skip to content

feat: add repository filtering by stars and last activity#2724

Open
Apurav-sharma wants to merge 1 commit into
DeepSourceCorp:masterfrom
Apurav-sharma:feature/filter-by-stars-activity
Open

feat: add repository filtering by stars and last activity#2724
Apurav-sharma wants to merge 1 commit into
DeepSourceCorp:masterfrom
Apurav-sharma:feature/filter-by-stars-activity

Conversation

@Apurav-sharma

Copy link
Copy Markdown

Description

This pull request adds a new feature that allows users to filter repositories by minimum stars and/or recent activity (last commit in months) within their selected programming language.

What's Changed:

  • Added minStars and lastActivity global states using Nuxt useState to keep things reactive and shared.
  • Created composables/useFilteredRepositories.js which handles the logic for filtering out repositories based on the slider bounds and sorting them dynamically (most starred / recently active first).
  • Added UI Sliders in components/Sidebar.vue for:
    • Minimum Stars: Dynamic slider up to 70k stars.
    • Recent Activity: Slider up to 120 months.
  • Hooked the new composable up to both pages/index.vue and pages/language/[slug].vue.

AI Disclosure

This feature was built with assistance from Antigravity, an AI pair-programming assistant, and has been thoroughly tested locally using npm run dev and verified against the repository's build tools.

image image image

@vercel

vercel Bot commented May 17, 2026

Copy link
Copy Markdown

@Apurav-sharma is attempting to deploy a commit to the DeepSource Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant