open-sauced / hot

πŸ•The site that recommends the hottest projects on GitHub.
https://hot.opensauced.pizza
MIT License
426 stars 148 forks source link

Feature: User should star the repo without leaving the page. #358

Closed bdougie closed 1 month ago

bdougie commented 2 years ago

Type of feature

πŸ• Feature

Current behavior

When I click this star button, it takes me to github. I would like the app to know if I starred the repo or not and also be able to start from the page.

Screen Shot 2022-10-04 at 3 08 45 PM

Suggested solution

Connected this component to the API endpoint for stargazing

https://api.opensauced.pizza/v1/repos/open-sauced/hot/stargaze

Additional context

No response

Code of Conduct

Contributing Docs

SimranjitKaurMaan commented 1 year ago

.take

SimranjitKaurMaan commented 1 year ago

This issue seems to be resolved. Once the value for userAndTokens?.providerToken is set correctly, the #431 logic should work.