Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jira-cli view formatting suggestions #68

Open
Llammissar opened this issue Jan 17, 2018 · 0 comments
Open

jira-cli view formatting suggestions #68

Llammissar opened this issue Jan 17, 2018 · 0 comments

Comments

@Llammissar
Copy link

This is sort of a small UX thing, but I think it'd be an improvement. Currently, jira-cli view looks like this

status               : Done
reporter             : the_boss
summary              : do the thing
assignee             : all_the_wyatts
link                 : https://jira.placeofwork.tld/browse/POW-302
issue                : POW-302

I personally find the order suboptimal when scanning because the most important information isn't at the top. At a baseline what I'd like to see is reordering it to more closely resemble the Jira web UI: Issue with summary, status, reporter, assignee, and link.

To get more ambitious, though, what I'd really like to see is... hm, maybe something like this:

wyatt@box ~ $ jira-cli view POW-309
POW-309: defeat space
Type        : Task      Status     : Closed      Reporter : the_boss
Priority    : Minor     Resolution : CANTFIX     Assignee : all_the_wyatts
wyatt@box ~ $ jira-cli view --full POW-309
POW-309: defeat space
Type        : Task      Status     : Closed      Reporter : the_boss
Priority    : Minor     Resolution : CANTFIX     Assignee : all_the_wyatts
Description :
  Dangerous. Space is dangerous. It’s really dangerous. Really dangerous.
  Space is dangerous. First of all, it's big. It’s beyond big. It's like
  super big. You can't use big here like you're saying: "about as big as 20
  Tokyo Domes?" This is way beyond that level. After all it's infinite.
  Whoa! And you can't measure it in units. This is beyond tatami mats or
  hectares. It’s infinite and it's super big. And supposedly, it's
  expanding. That's dangerous. It's expanding. Since normal stuff like the
  earth doesn't expand. It'd be a problem if your floor started growing.
  That'd make the trip to the bathroom longer. If the road to school grew
  longer and a ten minute walk during my first year turned into a two hour
  bike ride in my third year, I'd want to cry. That's why Earth doesn't
  expand. It's willing to be reasonable.
Comments    :
  yyyy-mm-dd hh:mm:ss all_the_wyatts : Uh, boss?  This is impossible.
  yyyy-mm-dd hh:mm:ss the_boss : what if we use science?

I limited the above to 80 columns for illustration's sake, but the point is to take advantage of the big terminals almost everyone has these days if possible.

Without the readability concerns holding it back, the old format could then be an optional output that's more useful for parsing with scripts (though JSON would probably be better still).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant