[next-react-query-tailwind]: Fix Milestone for Issues and pull requests tab for single repo
Currently milestones filter doesn't work by targeting the ID of the milestone.
Apparently, we can't filter by milestones for pull requests with the Graphql API so, you will need to extend the API by using the REST API version for that situation
Fix
- replace
milestonewithmilestoneNumberin the query - replace the
idof the milestone with thenumberof the milestone
I added some functions for the app rest API
restAPI.ts has the fetch API and the APIs needed to label, milestones and get the pull requests.
I also added the pull request parser named parseRESTAPIPullRequest to format the data to the format used to display the PR's
You can look at the Qwik and SolidStart showcase as a guide.
Please ensure you pull the latest from the main branch to see the changes in the Qwik or SolidStart
@Megio