cli/pkg/cmd
Kynan Ware 7198d270b4 Add generic actorDisplayName for all actor display names
Replace copilotDisplayName with actorDisplayName(typeName, login, name)
which handles all actor types: known bots get friendly names (e.g.
Copilot → 'Copilot (AI)'), regular bots return login, users with
names return 'login (Name)', others return login.

All DisplayName() methods on Author, CommentAuthor, GitHubUser,
AssignableUser, AssignableBot, RequestedReviewer, and ReviewerBot
now delegate to actorDisplayName with their available fields.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-06 11:55:09 -07:00
..
accessibility PR feedback 2025-04-30 15:05:07 -04:00
actions Remove trailing whitespace 2025-02-13 11:06:27 +05:00
agent-task Merge pull request #12807 from maxbeizer/agent-task-view-json 2026-03-02 13:36:06 -07:00
alias Fixes #10590 2025-03-26 13:42:39 -04:00
api Use pre-compiled regexp for matching Content-Type 2026-02-25 19:43:45 +09:00
attestation chore: apply go fix to remove deprecated // +build tags 2025-10-30 21:10:45 +00:00
auth refactor(auth refresh): use PlainHttpClient instead of zero http.Client 2025-10-13 16:51:13 +01:00
browse feat(browse): add blame flag 2026-03-03 19:03:40 -07:00
cache fix(cache delete): add unit tests and expand help doc 2026-01-20 08:30:34 +01:00
codespace fix: resolve copyloopvar issues 2025-11-03 20:05:26 +00:00
completion Remove trailing whitespace 2025-02-13 11:06:27 +05:00
config Merge pull request #11003 from cli/kw-bks/enclose-config-options-in-code-blocks 2025-05-22 10:14:14 -06:00
copilot Set COPILOT_GH env var when launching Copilot CLI 2026-03-02 10:25:47 -05:00
extension Fix extension install error message showing raw struct instead of owner/repo (#12836) 2026-03-05 12:28:54 +01:00
factory pin REST API version to 2022-11-28 2026-02-13 19:46:16 +01:00
gist Add usage examples to gh gist edit command 2026-02-17 12:38:15 -07:00
gpg-key Fix StatusJSONResponse usage (#10810) 2025-05-01 20:22:43 +01:00
issue Merge pull request #12627 from cli/kw/pr-create-multi-select-with-search-ccr 2026-03-06 10:24:19 -07:00
label Introduce color_labels support, update commands 2025-04-02 18:24:20 -04:00
licenses Bundle licenses at release time (#12625) 2026-02-18 17:59:27 +01:00
org Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
pr Add generic actorDisplayName for all actor display names 2026-03-06 11:55:09 -07:00
preview Refactor MultiSelectWithSearch to use result struct 2026-01-26 13:29:22 -07:00
project refactor: deduplicate scope error handling between api/client.go and project queries 2026-03-05 20:57:32 +05:30
release Clarify --clobber flag deletes assets before re-uploading 2026-02-17 18:11:57 -07:00
repo Merge pull request #12686 from 4RH1T3CT0R7/add-no-upstream-flag 2026-03-03 16:01:05 -07:00
root Bundle licenses at release time (#12625) 2026-02-18 17:59:27 +01:00
ruleset Remove trailing whitespace 2025-02-13 11:06:27 +05:00
run Respect --exit-status with --log and --log-failed 2026-02-13 16:04:06 +01:00
search docs(search prs): mention advanced issue search syntax support 2025-09-08 18:37:37 +01:00
secret refactor: drop multierror in favor of std 2025-12-02 15:08:58 +01:00
ssh-key Remove out of scope changes, update list commands 2025-03-31 11:58:30 -04:00
status Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
variable refactor: drop multierror in favor of std 2025-12-02 15:08:58 +01:00
version Fix --version flag printing to stdout 2022-05-24 16:21:13 +02:00
workflow fix(workflow run): bail out on feature detection error 2026-02-17 11:48:25 +00:00