Thank you for investing your time in contributing to our project!
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
To navigate our codebase with confidence, familiar yourself with:
- Bubbletea - the TUI framework we're using
- The Elm architecture
- charmbracelet/glow - for parsing and presenting markdown
ui/
- this is the code that's responsible on rendering the different parts of the TUIdata/
- the code that fetches data from GitHub's GraphQL APIconfig/
- code to parse the user'sconfig.yml
fileutils/
- various utilities
If you spot a problem, first search if an issue already exists.
If a related issue doesn't exist, you can open a new issue using a relevant issue form.
Scan through our existing issues to find one that interests you.
- Fork the repository.
git clone https://github.com/dlvhdr/gh-dash.git
or if you have the gh
cli
gh repo clone dlvhdr/gh-dash
-
Install Go: https://go.dev/
-
Create a working branch and start with your changes!
When you're finished with the changes, create a pull request.
- Fill the "Ready for review" template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
- Don't forget to link PR to issue if you are solving one.
- Pass the debug flag:
go run gh-dash.go --debug
- Write to the log by using Go's builtin
log
package - View the log by running
tail -f debug.log
import "log"
// more code...
log.Printf("Some message with a variable %v\n", someVariable)
Congratulations 🎉🎉