Simple Page to track open PR's for specifics projects.
This project uses Github GraphQL API. Differently from their REST API, it requires you being Authenticated.
In their documentation, they said you need the same kind of token as required for CLI's (check it here).
However, I would say, you get the follow permissions:
[x] repo (you need all in order to handle private proj.)
[x] repo:status
[x] repo:status
[x] repo_deployment
[x] public_repo
[x] repo:invite
...
[x] admin:org
[ ] write:org
[x] read:org
...
Why? Just because this app does not need any right to write things, only read organization repositories.
Basically you need to fill:
- Organization name;
- Repositories name split by comma;
- Github Token API
Then press search and everything will load :)
All your settings will be saved via Cookies since the Token (and maybe your repository names) are a sensitive information.
To only see specific label, you just need to click in the ones you don't have to see.
In order to keep the selection even if you close the App, this filter is saved via localStorage
:
key: `pr_tracker_label_by_repo`
value: { <repoId>: <labelId>[] }
If you want to remove all your data, it's only about:
- open the app
- Open your console
- Application
- Clear Site Data (must be localStorage and Cookies)
The same as any modern JS app:
- Fork/clone this project;
- navigate inside the folder;
- run
pnpm
to install dependencies; - then boot the server by running
pnpm run dev
Then your app will be available at http://localhost:3000
- NextJS
- TypeScript
- ApolloClient
- Styled Components
Maybe this is just the beginning. Feel free to report issues, come up with suggestions or improvements. PR's are always open! :)