gh-dash icon indicating copy to clipboard operation
gh-dash copied to clipboard

Support selecting which fields will be displayed for each section

Open micalevisk opened this issue 3 years ago • 1 comments
trafficstars

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

micalevisk avatar Dec 12 '21 20:12 micalevisk

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!

gennaro-tedesco avatar Feb 15 '22 22:02 gennaro-tedesco

Done in #178

dlvhdr avatar Sep 27 '22 14:09 dlvhdr