gh-dash
gh-dash copied to clipboard
Support selecting which fields will be displayed for each section
I think it would be really cool if we can configure which columns will appear (except for Title of course).
Scenario
Let's say I have this config:
- title: My PRs on my main project
filters: author:@me repo:what/ever
then the Author and Repo columns are pretty useless for this tab. Also, since the list is sorted by Updated At field, one may doesn't care about that info at all. These (and maybe other information that your extension could show in the future) just pollute my reading.
| Title | CI | Lines | Author | Repo | Updated At |
|---|
Possible approach
Support an optional case insensitive fields property for each section, like:
- title: My PRs on my main project
filters: author:@me repo:what/ever
fields:
- ci
- updated at
then only Title, CI and Updated At will be display in that section.
| Title | CI | Updated At |
|---|
I support this feature request too: it would be great to get rid of redundant columns for panels that are self-explanatory (for example your own merge request, or the merge requests that you are reviewing and so forth); likewise probably information on the lines and the status of CI may be questionably omitted.
And maybe one could add additional fields for creation date vs comment last updated (or similar, to check if the PR is stale or being worked on by other team members). All in all, +1 for configurable columns in the panel views!
Done in #178