MichaelCurrin / my-github-projects

Dev portfolio static site showing a user's Github repos grouped by topic
https://michael-currin.netlify.app
MIT License
12 stars 9 forks source link

Search and filter and sort repos #18

Open MichaelCurrin opened 4 years ago

MichaelCurrin commented 4 years ago

Use ListJS. Add name search. And filter to starred Y N or forked Y N. To solve the name issue try forcing ascending https://stackoverflow.com/questions/32246782/list-js-default-sorting-table

For follow up use keywords for repos page or topics page and a short script to filter using radio or checkbox. Radio is simpler.

https://stackoverflow.com/questions/34905974/list-js-filter-by-radio-button

Later add for topics page

MichaelCurrin commented 4 years ago

Ignore language.

For the fixed topic list consider what works as logo or text and accordion or toc. The list of topics will be shorter.

MichaelCurrin commented 4 years ago

Idea for using radio buttons for ordering

https://stackoverflow.com/questions/40094006/how-to-sort-list-item-by-selecting-dropdown-option-using-list-js

MichaelCurrin commented 4 years ago

Split this out into smaller issues. Maybe use projects section.

Consider droplist even sticky for topic filter similar to GH language filter

MichaelCurrin commented 4 years ago

Fix build problem...

Observed

Options

MichaelCurrin commented 4 years ago

The page URLs were all /pages/MichaelCurrin/my-github-projects

Which must come froms Github API plugin.

Setting baseurl as an empty value removed this.

MichaelCurrin commented 4 years ago

Look at using radio buttons or even dropdown for selecting topic tag on repo page.