From 63d1aba02045fd2fd555d4c637333a7d84604ae1 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Sun, 25 Feb 2024 22:54:09 -0500 Subject: [PATCH] feat: add gh-dash config --- bootstrap.sh | 2 ++ files/gh-dash_config.yml | 63 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 files/gh-dash_config.yml diff --git a/bootstrap.sh b/bootstrap.sh index 9369970..564e650 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 } diff --git a/files/gh-dash_config.yml b/files/gh-dash_config.yml new file mode 100644 index 0000000..a3c3457 --- /dev/null +++ b/files/gh-dash_config.yml @@ -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: ""