cli/pkg/cmd/pr
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
..
checkout fix(pr checkout): add alias co 2025-09-24 14:56:59 +01:00
checks fix: --interval flags docs in gh pr checks 2025-10-30 20:06:45 +00:00
close Cleanup run command stubbed finders in tests 2025-05-02 14:48:52 +02:00
comment Add --delete-last option to pr comment and issue comment (#10596) 2025-05-01 14:12:55 +01:00
create Merge pull request #12627 from cli/kw/pr-create-multi-select-with-search-ccr 2026-03-06 10:24:19 -07:00
diff Fix invalid ANSI SGR escape code in JSON and diff colorization 2026-02-18 17:52:01 -07:00
edit Add missing TODO comments for featuredetection if-statements 2026-02-16 14:24:32 -07:00
list Add missing TODO comments for featuredetection if-statements 2026-02-16 14:24:32 -07:00
merge test(pr merge): always assert stderr 2025-07-05 15:02:41 +01:00
ready Cleanup run command stubbed finders in tests 2025-05-02 14:48:52 +02:00
reopen Cleanup run command stubbed finders in tests 2025-05-02 14:48:52 +02:00
revert Return only basic pull request info when reverting a PR 2025-10-22 18:02:35 -04:00
review Cleanup run command stubbed finders in tests 2025-05-02 14:48:52 +02:00
shared Merge pull request #12627 from cli/kw/pr-create-multi-select-with-search-ccr 2026-03-06 10:24:19 -07:00
status Rework ref usage when finding and creating PRs 2025-04-15 13:38:10 -06:00
update-branch chore: remove redundant word in comment 2025-03-12 16:13:46 +08:00
view Add generic actorDisplayName for all actor display names 2026-03-06 11:55:09 -07:00
pr.go feat: implement pr revert 2025-10-06 13:25:31 -04:00