feat: add gh-dash config
This commit is contained in:
parent
20218415b3
commit
63d1aba020
2 changed files with 65 additions and 0 deletions
|
@ -181,7 +181,9 @@ install_gh_plugins() {
|
|||
pre_step "Installing gh cli plugins"
|
||||
|
||||
gh extension install nektos/gh-act
|
||||
|
||||
gh extension install dlvhdr/gh-dash
|
||||
copy_file ./files/gh-dash_config.yml ~/.config/gh-dash/config.yml
|
||||
|
||||
gh extension upgrade --all
|
||||
}
|
||||
|
|
63
files/gh-dash_config.yml
Normal file
63
files/gh-dash_config.yml
Normal file
|
@ -0,0 +1,63 @@
|
|||
prSections:
|
||||
- title: WIP
|
||||
filters: is:open author:@me -org:tophatmonocle
|
||||
- title: Needs My Review
|
||||
filters: is:open review-requested:@me -org:tophatmonocle
|
||||
- title: Involved
|
||||
filters: is:open involves:@me -author:@me -org:tophatmonocle
|
||||
issuesSections:
|
||||
- title: My Issues
|
||||
filters: is:open author:@me
|
||||
- title: Assigned
|
||||
filters: is:open assignee:@me
|
||||
- title: Involved
|
||||
filters: is:open involves:@me -author:@me
|
||||
defaults:
|
||||
preview:
|
||||
open: true
|
||||
width: 50
|
||||
prsLimit: 20
|
||||
issuesLimit: 20
|
||||
view: prs
|
||||
layout:
|
||||
prs:
|
||||
updatedAt:
|
||||
width: 7
|
||||
repo:
|
||||
width: 15
|
||||
author:
|
||||
width: 15
|
||||
assignees:
|
||||
width: 20
|
||||
hidden: true
|
||||
base:
|
||||
width: 15
|
||||
hidden: true
|
||||
lines:
|
||||
width: 16
|
||||
issues:
|
||||
updatedAt:
|
||||
width: 7
|
||||
repo:
|
||||
width: 15
|
||||
creator:
|
||||
width: 10
|
||||
assignees:
|
||||
width: 20
|
||||
hidden: true
|
||||
refetchIntervalMinutes: 30
|
||||
keybindings:
|
||||
issues: []
|
||||
prs:
|
||||
# Open PR in browser.
|
||||
- key: W
|
||||
command: |
|
||||
gh pr view -w {{.PrNumber}} --repo {{.RepoName}}
|
||||
repoPaths:
|
||||
mcataford/*: ~/repos/*
|
||||
theme:
|
||||
ui:
|
||||
table:
|
||||
showSeparator: true
|
||||
pager:
|
||||
diff: ""
|
Loading…
Reference in a new issue