wtfutil / wtf

The personal information dashboard for your terminal
http://wtfutil.com
Mozilla Public License 2.0
15.89k stars 805 forks source link

add module GithubAllRepos + fix linter errors #1706

Open k2589 opened 1 month ago

k2589 commented 1 month ago

Thanks for submitting a pull request. Please provide enough information so that others can review your pull request.

GithubAllRepos

This module provides an overview of GitHub PRs across all repos in selected organizations. It contains counters for Your PRs, Review Requests, Open Issues And list with 3 tabs: Your PRs, Review Requests, Watched PRs

PRs are selectable, you can select any PR, scroll across tabs, and open PRs in the browser. When no PR is selected, tabs are carouseled.

Screenshot 2024-10-10 at 20 31 16

Config example:

    githuballrepos:
      title: github prs
      apiKey: "redacted"
      baseURL: ""
      position:
        top: 0
        left: 0
        height: 2
        width: 2
      refreshInterval: 15m
      username: "k2589"
      organizations:
        - "k2589"
        - "some-organization"
      cache: "~/.config/wtf/.cache/githuballrepos/" # data from GitHub is cached on disk to this folder

This PR also fixes linter issues in other modules

k2589 commented 1 month ago

Hello @senorprogrammer ! Could you review please?