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
feat: copy issue key to clipboard #88
base: master
Are you sure you want to change the base?
Conversation
@yvesjans pls check Tests pipeline. (Goreleaser check will fail, don't worry about it)
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #88 +/- ##
==========================================
- Coverage 79.22% 79.00% -0.22%
==========================================
Files 65 67 +2
Lines 3181 3205 +24
==========================================
+ Hits 2520 2532 +12
- Misses 514 525 +11
- Partials 147 148 +1
☔ View full report in Codecov by Sentry. |
@@ -41,6 +41,7 @@ var ( | |||
ui.NavItemConfig{Action: ui.ActionComment, Text1: ui.MessageComment, Text2: "[c]", Rune: 'c'}, | |||
ui.NavItemConfig{Action: ui.ActionAddLabel, Text1: ui.MessageLabel, Text2: "[l]", Rune: 'l'}, | |||
ui.NavItemConfig{Action: ui.ActionOpen, Text1: ui.MessageOpen, Text2: "[o]", Rune: 'o'}, | |||
ui.NavItemConfig{Action: ui.ActionCopyIssue, Text1: ui.MessageCopyIssue, Text2: "[y]", Rune: 'y'}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mhmm, wouldn't Key: tcell.KeyCtrlC
be more intuitive here? 🤔 what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry lost sight of this...
I choose y (from Vim yank) as Ctrl+C exits the program...
Happy to take any other suggestions
I often have to copy the Jira issue key to the clipboard (create new branch, commit message, ...)
This PR adds this functionality