lyqht / Octokit-lite

🐙 Web UI to perform GitHub operations on multiple repositories
https://octokit-lite.vercel.app
MIT License
14 stars 12 forks source link

[TopicSpace] Sort repos by issue count #11

Open lyqht opened 2 years ago

lyqht commented 2 years ago

Description

Similar to #8, but also allows user to sort by issue count.

Suggested solution

Relevant Code

For the dropdown UI, you only need to modify renderGroupedOptions method at /features/topicspace/RepositoryPicker.tsx

then00bprogrammer commented 2 years ago

Hello @lyqht I would like to work on this issue, can you assign me this issue?

lyqht commented 2 years ago

Sure thing @then00bprogrammer let me know if u meet any issues

then00bprogrammer commented 2 years ago

alright, can you help me with how to get issues, you said that it's already in the props but I can't seem to find where..i'm a bit to opensource..

Lofty-Brambles commented 2 years ago

The props get the information passed through them to the picker component, the issue is to simply improve upon the UI with it. image Inspiration maybe?

lyqht commented 2 years ago

Hi @Lofty-Brambles thanks for helping to answer his enquiry!

For @then00bprogrammer, for more context,

You can either use the React component inspector to inspect the page props for repos, each item in this field is the same as the response schema for getting repos in the GitHub API Docs

Hope this helps!

lyqht commented 2 years ago

This issue is still available, you can refer to #18 on how to implement it for this card.