Babak K. Shandiz
d1b82d19f9
Merge pull request #10980 from cli/babakks/improve-pr-create-docs
...
Mention `pr create` will print the created PR's URL
2025-05-28 16:43:04 +01:00
Babak K. Shandiz
c927ea40c3
Merge pull request #10979 from cli/babakks/improve-pr-list-docs
...
Add example usage of `--head` option to `pr list` docs
2025-05-28 14:38:17 +01:00
Babak K. Shandiz
aa64bb5708
docs(pr list): mention --head does not support <owner>:<branch> syntax
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-28 12:55:11 +01:00
Kynan Ware
53d0d5d192
fix(editable): include DefaultLogins in EditableAssignees clone
2025-05-16 12:54:01 -06:00
Kynan Ware
6f1906073f
doc(params): incorrect func name in comment
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-16 12:51:09 -06:00
Kynan Ware
d932934119
Merge branch 'trunk' into kw/gh-cli-epic-900-actors-are-assignable
2025-05-16 12:49:52 -06:00
Kynan Ware
a28e2d8784
refactor(api): use constant for Copilot login
2025-05-16 12:28:46 -06:00
Kynan Ware
3a8cdda148
Merge pull request #10991 from cli/kw/gh-cli-917-special-actor-assignee-names-noninteractive
...
`issue edit`, `pr edit`: Support special non-interactive (flags) assignee name `@copilot`
2025-05-16 12:19:43 -06:00
Kynan Ware
748afb6e85
doc(issue/pr edit): clarify @copilot usage
2025-05-16 12:18:23 -06:00
Kynan Ware
475163a126
Merge pull request #10990 from cli/kw/gh-cli-916-special-actor-assignee-names
...
`issue edit`, `pr edit`: handle display names in interactive assignee editing
2025-05-16 10:16:08 -06:00
Kynan Ware
532aa1c32a
doc(issue/pr edit): doc @copilot assignee
2025-05-16 09:55:17 -06:00
Kynan Ware
debf0bbaf2
test(params): enhance Copilot replacer tests for edge cases
...
- Added tests for handling nil and empty slices in the Copilot replacer.
- Simplified test structure by removing unnecessary wantErr field.
2025-05-16 09:50:24 -06:00
Kynan Ware
871671be52
fix(params): remove needless err return
2025-05-16 09:40:29 -06:00
Kynan Ware
c5f2d7bde7
doc(editable): remove needless comment
2025-05-16 09:37:20 -06:00
Kynan Ware
ec7c8ed844
test(pr edit): fix typo in test name
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-05-15 13:41:38 -06:00
Kynan Ware
f6bb1ca756
refactor(pr edit): move httpclient initialization
2025-05-15 13:40:23 -06:00
Kynan Ware
375c6cd28f
feat(issue/pr edit): support @copilot in assignee flags
...
- Introduced CopilotReplacer to handle `@copilot` mentions in assignee lists.
2025-05-15 12:50:03 -06:00
Kynan Ware
51b1e6cd6f
Merge branch 'kw/gh-cli-909-911-assign-actors-to-prs' into kw/gh-cli-916-special-actor-assignee-names
2025-05-15 11:27:14 -06:00
Kynan Ware
52b6ebff9c
doc(pr edit): Add comments describing the use of DefaultLogins
2025-05-15 10:52:31 -06:00
Kynan Ware
9a5ea87d75
fix(issues): fix non-interactive assignee matching to logins&IDs
2025-05-15 09:56:35 -06:00
Kynan Ware
54f48cfe46
fix(pr edit): remove merge conflict artifact, extra detector
2025-05-15 09:48:44 -06:00
Kynan Ware
a03c9cec7b
Merge branch 'kw/gh-cli-epic-900-actors-are-assignable' into kw/gh-cli-909-911-assign-actors-to-prs
2025-05-15 09:42:39 -06:00
Kynan Ware
d72018d312
feat(pr edit): fetch assignable actors
2025-05-15 09:33:36 -06:00
Kynan Ware
f559068106
feat(pr edit): fetch assigned actors
2025-05-15 09:33:36 -06:00
Kynan Ware
6162a7c524
fix(api): correct var name capitalization
2025-05-15 09:33:36 -06:00
Kynan Ware
999ffbdfe7
Merge pull request #10960 from cli/kw/gh-cli-901-910-assign-actors-to-issues
...
`gh issue edit`: actors are assignable to issues
2025-05-15 09:24:32 -06:00
Kynan Ware
bcd47f1fb1
fix(api): correct var name capitalization
2025-05-15 09:13:46 -06:00
Kynan Ware
eace1e889a
feat(editable): update assigned actors to use display names
...
- Refactored AssignedActors to return display names instead of logins.
- Updated related functions to ensure consistency in display names.
- Enhanced comments for clarity on display name logic and actor types.
2025-05-14 20:26:53 -06:00
Kynan Ware
d4832ba015
feat(pr edit): fetch assignable actors
2025-05-14 11:52:02 -06:00
Kynan Ware
71f22d8843
feat(pr edit): fetch assigned actors
2025-05-14 11:52:02 -06:00
Kynan Ware
5dc854c75e
doc(issue edit): clarify synchronous handling of assignees
2025-05-14 11:50:11 -06:00
Kynan Ware
08cd1dc7db
feat(issue edit): replacing actor assignee is done synchronously with updateIssue
2025-05-14 11:43:29 -06:00
Kynan Ware
dfd600713f
refactor(api): rename assignable user types and methods
2025-05-14 08:53:47 -06:00
Babak K. Shandiz
59a585de9c
Mention created PR's URL will be printed upon success
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-13 14:53:36 +01:00
Babak K. Shandiz
b70f9c1dda
Add example usage of --head option
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-13 14:30:32 +01:00
Babak K. Shandiz
5dca16fd41
Update test case for removing all reviewers
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-13 10:13:45 +01:00
Babak K. Shandiz
ce710aa249
Add test to verify removing all reviewers
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-12 15:15:43 +01:00
Babak K. Shandiz
4985d0ff44
fix bug when removing all PR reviwers
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-12 15:06:11 +01:00
Kynan Ware
218152f7c5
fix(issue edit): resolve race condition in actor assignment
2025-05-09 23:26:06 -06:00
Kynan Ware
0efdfed068
feat(issue edit): support assigning actors to issues
2025-05-09 22:56:09 -06:00
Kynan Ware
ee9d169204
feat(issue edit): fetch assignable actors
2025-05-09 15:13:11 -06:00
William Martin
55cd3c34cd
Feature detect v1 projects on pr edit
2025-05-07 16:17:15 +02:00
William Martin
a2fcb9b2df
Merge pull request #10915 from cli/wm/projectsv1-deprecation-pr-create-rest
...
Feature detect v1 projects on interactive `pr create`
2025-05-06 15:24:04 +02:00
William Martin
4967a5edd5
Merge pull request #10911 from cli/wm/projectsv1-deprecation-pr-web
...
Feature detect v1 projects on web mode pr create
2025-05-06 14:19:15 +02:00
Kynan Ware
7b86830ade
Merge pull request #10729 from nopcoder/trunk
...
Fix panic on `gh pr view 0`
2025-05-02 09:47:48 -06:00
William Martin
1a5b7ca60c
Feature detect v1 projects for preview URL
...
As far as I can see, when there is project metadata, the preview option
will never be shown in the interactive multiselect, so I don't believe
this change has any functional difference. However, I did use the
opportunity to drive out tests for generateCompareURL
2025-05-02 17:42:23 +02:00
William Martin
5a3aee056a
Feature detect v1 projects on interactive pr create
2025-05-02 17:42:23 +02:00
William Martin
9822bb5d07
Feature detect v1 projects on web mode pr create
2025-05-02 15:11:04 +02:00
William Martin
e995a873cb
Feature detect v1 projects on non-interactive pr create
2025-05-02 15:08:34 +02:00
William Martin
c5d8e6f8f5
Merge pull request #10821 from cli/wm/projectsv1-deprecation-pr-view
...
Feature detect v1 projects on pr view
2025-05-02 15:07:40 +02:00