-
Notifications
You must be signed in to change notification settings - Fork 216
Enhancement: Show pull requests list in a nice table #589
Comments
Hey @hamxabaig I really like this! A couple questions first:
|
There is some space left on the right side, so if i calculate the widths more accurately. It should be good with responsiveness of the terminal.
|
Nice! Was there a reason you chose to use I just read the cli-table src code which seems really clean/minimal and it appears to have better maintenance. I think it would be a great idea as well to include the terminal link idea 👍 One implementation thing to take into account is if the user adds the That being said I would be happy to merge a PR from you on this. It's a great idea! Make sure to follow this and let me know if you have any questions in the meantime 😄 |
Yeah, About Title
I'll play with it and will check what i come up with. |
I would be OK with having the body right below the title just separated by 2 linebreaks and/or and new partition. Or whatever you think looks good. The url we could handle with just linking the pr number (which we should probably just include anyways without the |
# [1.14.0](v1.13.9...v1.14.0) (2019-02-05) ### Features * **pull-request:** Add table formatting to pull requests list ([5b1f35b](5b1f35b)), closes [#589](#589) * **pull-request:** Add table formatting to pull requests list ([1312f97](1312f97)), closes [#589](#589) * **pull-request:** Replace cli-table with cli-table2 & Improve table formatting ([44373e4](44373e4)), closes [#589](#589) * **pull-request:** Replace cli-table with cli-table2 & Improve table formatting ([026b657](026b657)), closes [#589](#589) * **pull-request:** switch to 1 column when <75 cols ([92ffac7](92ffac7)) * **pull-request:** use percentage to calculate colSpan ([9f6fefc](9f6fefc))
🎉 This issue has been resolved in version 1.14.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi! Just updated my |
@theist if you put |
@hamxabaig Nope, but you at least point me to the right place in the code, it seems the config option to control this now is a boolean called Thanks! |
Ah @theist i remember now, cool you found it! |
Hey there, excellent work by the way. I use it almost every other hour daily. There is one enhancement which can be made. I mostly use it to list opened PRs.
When looking at the PR's list, it seems you have to look around and find the data you need even if its right in front of you. Thats why i think it needs a little bit of redesign?
I was playing with this table component which seems very nice. This is what i came up with:
I think with a little redesign, its very straight forward and looks nice as compared to this:
Right now i'm using this table locally with
gh
, I'll be happy to provide a PR if that makes sense. Oh one more thing, it also supports terminal links using this terminal-link in supported terminals (I use iterm2) which is nice.The text was updated successfully, but these errors were encountered: