Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added starred repositories option for releases widget #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benjasper
Copy link

Hi there,

love the app! I thought it would be cool to have the releases of the starred repositories of ones GitHub Account shown like GitHub does on their home page.

I did this with the GraphQL API to avoid having to fetch all releases for each starred repo (as this could probably be a lot in some cases).

I made the new setting optional by adding a starred configuration option that can be set to true. (Don't know if there is a better way to do this, a new widget felt overkill).
It will use the existing token parameter for authentication.

I also felt like it might be nice to have the maximum number of releases that should be fetched be configurable, so I added a configuration option releases-search-limit. This works for both mechanisms, the specific one and the starred one.

Let me know if you want me to change anything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant