arvind0598 / better-first-issues

Inspired by Good First Issues, this project aims to empower first-time contributors to find repositories and issues to contribute to.
https://better-first-issues.vercel.app
MIT License
4 stars 10 forks source link

Add support for filters and sorting #8

Open arvind0598 opened 3 years ago

arvind0598 commented 3 years ago

The GitHub Search API allows for passing multiple parameters, including filters and sorting related stuff. We should build the frontend components to get that data from the user and enhance the API in the backend to parse that data too.

G-ala-Hub commented 1 year ago

Hi @arvind0598 could you please assign this to me thanks

G-ala-Hub commented 1 year ago

@arvind0598 I have started working on the frontend side. is this what you had in mind ?

Screen Shot 2023-07-16 at 5 02 17 pm
arvind0598 commented 1 year ago

Not exactly. Your input supports "tags" essentially, but the API supports a lot of different parameters. You'd have to do something similar to what you'd find on an ecommerce site, having separate filters for "repository size", "repository language" etc.

You can check these docs for more info.