DSACMS / metrics

Experimentations in Open Source Repository Metrics
https://dsacms.github.io/metrics/
Other
6 stars 3 forks source link

Creating Sort + Filters for Search in Repository List Page #146

Closed natalialuzuriaga closed 4 weeks ago

natalialuzuriaga commented 4 months ago

MENTOR

BRIEF DESCRIPTION

Soon, the metrics website will have reports on dozens of GitHub organizations and repositories. With only a basic search bar functionality, it may be difficult for users to find reports for projects that they have in mind. We'd like the user to be able to search through the repository list page easily and be able to use features to narrow down their search.

Some ideas include but are not limited to:

SCOPING

SKILLS NEEDED

Front-end, Webdev

REQUIRED DELIVERABLES

DESIRED DELIVERY WINDOW

NOTES/INSPO

TODO: Check work that Gaelen did with tags in the /open repo. May be able to apply this work here if we set up self-reported metrics / the json file.

ACKNOWLEDGEMENTS

decause-gov commented 2 months ago

7/22:

RicardoZamora01 commented 2 months ago

While looking into code.json examples, I stumbled upon code.gov's agencies list that uses filtering. They implemented a filtering design that I personally liked.

They used USWDS designs (accordion, checkbox, etc) to create a filter based on agencies. I can see us using a similar idea. Link to example: https://www.code.gov/agencies/

Sample

Image Image Image

RicardoZamora01 commented 2 months ago

USAJobs also has a "collapse all" and "expand all" filters option + sort by ideas https://www.usajobs.gov/Search/Results?jt=It%20Specialist%20(Applications%20Software)

USAJobs is open-source!

They use SASS to style their components. These might help for reference for sorting attribute. https://github.com/USAJOBS/design-system/blob/c8aaff2fcb15b6668566b6f7065e5bf2ff4eb881/_scss/component/search/controls.scss#L39C11-L39C20

https://github.com/USAJOBS/design-system/blob/c8aaff2fcb15b6668566b6f7065e5bf2ff4eb881/_scss/component/search/controls.scss#L61

decause-gov commented 2 months ago

07/26:

decause-gov commented 2 months ago

07/29:

decause-gov commented 2 months ago

08/02:

decause-gov commented 2 months ago

08/05:

natalialuzuriaga commented 1 month ago

8/12:

decause-gov commented 1 month ago

08/15:

natalialuzuriaga commented 4 weeks ago

09/05: