William Martin
7aeccdb7a0
Update pkg/cmd/pr/shared/finder_test.go
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-11-27 15:18:13 +01:00
William Martin
b96a8e3c01
Add PR Finder test to cover projectItems
2023-11-27 10:40:09 +01:00
Nate Smith
bff4727331
linter appeasement
2023-08-17 17:17:26 -05:00
Nate Smith
4382efdf69
prompter for milestone
2023-08-17 15:58:38 -05:00
Nate Smith
6a4dbf9db3
prompter for projects
2023-08-17 15:54:46 -05:00
Nate Smith
abf49d1322
use prompter for labels
2023-08-17 15:50:55 -05:00
Nate Smith
542c154d07
prompter for assignees
2023-08-17 15:45:04 -05:00
Nate Smith
f867eff04d
prompter for reviewers
2023-08-17 15:41:12 -05:00
Nate Smith
a3539d4f24
use MultiSelect for metadata survey in pr, issue create
2023-08-17 15:29:47 -05:00
Nate Smith
f04e3398ed
use prompter in shared editable code
2023-08-17 11:28:01 -05:00
nate smith
6c9de6258c
fix pr create crash on interactive milestone selection
2023-07-05 16:08:49 -07:00
Benjamin Levesque
4aa31b3f0f
fix: apply latin matching filter to more fields
2023-05-26 14:50:20 +02:00
William Martin
ebb7d26f3a
Implement initial spike for detecting and using counts by state
2023-05-17 19:59:03 +02:00
Heath Stewart
17679cf65f
Edit multiple issues, PRs in parallel ( #7259 )
...
Allows multiple issues or PRs to be edited in parallel, and querying for shared fields once to reduce network requests.
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-04-25 14:45:41 +02:00
Benjamin Levesque
7cfbf478d5
Diacritics substitution in prompt ( #7205 )
2023-04-21 14:09:59 +00:00
Alexander Seiler
218f29f296
Correct some typos
2023-04-21 03:51:31 +02:00
Federico Guerinoni
c6a693c459
Add --template flag for issue create and pr create ( #7185 )
...
Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
Co-authored-by: Alessio Cosenza <cosenzaalessio17@gmail.com>
2023-03-27 08:24:12 +00:00
Sam Coe
138da0f969
Fix adding/removing projects using flags for edit commands ( #6955 )
2023-02-06 08:28:38 +11:00
Benjamin Levesque
fef4195004
Add --reviewer flag completion ( #6873 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-01-25 18:02:13 +01:00
Ilya Yatsishin
179e9c256d
Add projectsV2 support to issue create, issue edit, pr create, and pr edit ( #6735 )
...
Co-authored-by: pshevche <pavel.shevchenko.95@gmail.com>
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-01-19 22:13:09 +00:00
vilmibm
f5d19b831e
error instead of prompt when no base repo + fixes
2022-12-15 11:44:37 -08:00
Natthakit Susanthitanon
33779630da
Exclude the current user from reviewers when creating pr ( #6464 )
2022-12-08 08:51:35 +02:00
vilmibm
42c017b887
use Prompter in Commentable
2022-10-19 13:05:00 -07:00
vilmibm
47eebe0c64
use Prompter in template manager
2022-10-19 13:05:00 -07:00
vilmibm
a3b1bb7fb2
use Prompter in pr create
...
Note that this isn't done; it's leaving the metadata piece alone until
better testing utils are in place
2022-10-19 13:05:00 -07:00
Sam Coe
57fbe4f317
Refactor to use new git client ( #6447 )
2022-10-19 21:11:36 +03:00
Seito Tanaka
e523d50176
Add support for editing last issue/pr comment ( #6384 )
2022-10-18 08:10:12 +00:00
lpessoa
fb6f538f88
Adding no checks message when PR has no checks
...
Including additional tests.
2022-10-05 22:10:38 -03:00
lpessoa
6246f89690
Adding new tests for 'view' and 'shared display'
...
Added all passed, all failed, some failed and pending scenarios.
Added tests for PrCheckStatusSummaryWithColor.
2022-09-19 16:41:01 -05:00
lpessoa
e8767b9706
feat: adding checks at GH PR view
...
Fixes #6117
Adding checks to PR view as a new line along with changes information.
Isolated 'status' display logic into a shared method in order to reuse it in 'view'.
Updated existing 'view' tests.
TODO: add new tests for PRs with checks.
2022-09-16 13:56:10 -03:00
Sam Coe
e14d14cef2
Add support for issue state reason ( #6245 )
2022-09-14 12:39:15 +04:00
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Mark Woods
e876b22963
Change markdown wrap limit match terminal width ( #6016 )
2022-09-01 07:36:25 +00:00
Sam Coe
45f1a71c8b
Remove all direct calls to shurcool-graphql
2022-08-18 21:40:41 +03:00
vilmibm
41385477c3
fix linting
2022-07-27 14:15:27 -05:00
vilmibm
d5334f4115
Revert "update linter checks"
...
This reverts commit 40ecb8c188 .
2022-07-27 13:30:41 -05:00
vilmibm
40ecb8c188
update linter checks
2022-07-26 16:06:52 -05:00
Sam Coe
074ed50b8a
Integrate go-gh API package ( #5614 )
2022-06-23 04:05:31 +01:00
wilhelm
0f02371734
clear pr create multiselect on select
2022-06-22 17:43:41 +10:00
Mislav Marohnić
4c6358dcbf
Guard PR merge queue queries behind feature detection
2022-06-08 12:25:22 +02:00
Sam Coe
539b150833
Extract feature detection package ( #5494 )
2022-05-17 19:07:44 +00:00
Sam Coe
d244346960
Replace uses of strings.Title ( #5623 )
2022-05-12 13:52:21 +00:00
Mislav Marohnić
5cb4e4d862
Merge pull request #5570 from koskeller/submit-as-draft-option-pr-create
...
pr create: add "Submit as draft" interactive option
2022-05-10 17:17:07 +02:00
Mislav Marohnić
cf92705d4c
pr create: default to "Submit as draft" when --draft was used
2022-05-10 17:09:40 +02:00
Konstantin Keller
dea446d2a8
"Submit as draft" option for pr create
2022-05-03 22:20:22 +03:00
Mislav Marohnić
5986f88565
issue comment: support quotes and arguments in EDITOR value
...
The `issue comment` command would perform a `filepath.Base()` on the
value of EDITOR and use the result for launching the editor, which is
undesireable for both functional and display purposes:
- For functional purposes, always shellsplit the value of GH_EDITOR or
EDITOR before we shell out to that process;
- For display purposes, extract the basename only after shellsplitting.
2022-04-29 18:05:39 +02:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Sam Coe
db85b1d3cb
Properly handle issue and pr state options when building search queries ( #5513 )
2022-04-25 20:18:58 +02:00
Roshan Padaki
13342cb272
Don't error on list commands when no results found ( #5479 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-25 17:55:52 +00:00
Sam Coe
6fa8e4299c
Add ability to comment on close/reopen of issues/pull requests ( #5437 )
2022-04-11 17:06:35 +02:00