dlvhdr / gh-dash

A beautiful CLI dashboard for GitHub 🚀
https://dlvhdr.github.io/gh-dash
MIT License
7.06k stars 208 forks source link

feat(layouts): ability to add more columns to the layout #328

Open ossdhaval opened 8 months ago

ossdhaval commented 8 months ago

As mentioned in this section of the README, currently only certain columns are supported.

Is it possible to add more columns like, created date, for example?

I am filtering issues using filters like is:open is:issue -label:priority-5 sort:created-desc created:<2022-01-01. Showing created date is very important when issues are listed in this case.

If this feature is already present, please point me to the documentation (I have gone through this already)

If this feature is not available then please consider its merit.

kranurag7 commented 7 months ago

@ossdhaval I think you can use the search feature to interactively select the issues, that you want in above case. Please check the screenshot attached.

screenshot

![image](https://github.com/dlvhdr/gh-dash/assets/81210977/da3caa8d-636f-4336-af0e-a6002db685f3)

ossdhaval commented 7 months ago

Hi @kranurag7 Thank you for your response :handshake:

In the screenshot you posted above, I still don't see how it addresses what I requested. For instance, is there a configuration by which I can add a created-date column just after creator column in the screenshot?

Apologies if I have not understood your comment correctly. If that is the case, can you point me to the documentation for interactive search?

kranurag7 commented 7 months ago

@ossdhaval You can use the following in your config file.

prSections:
- title: custom-name
  filters: is:open is:issue -label:priority-5 sort:created-desc created:<2022-01-01
kranurag7 commented 7 months ago

@ossdhaval wondering if the above solution worked for you or not?

ossdhaval commented 7 months ago

No, it didn't. :-(

And expectedly so because it just adds a filter and not a column.

image

dlvhdr commented 7 months ago

@ossdhaval I understand the request, seems pretty useful. Since I'm not an issues user myself, I'd be happy to get this contributed.

Another options is adding this column for everyone.