cli/pkg/cmd/pr/view
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
..
fixtures Update PR tests for v2 projects 2025-08-12 21:13:18 -04:00
view.go Add generic actorDisplayName for all actor display names 2026-03-06 11:55:09 -07:00
view_test.go Update PR tests for v2 projects 2025-08-12 21:13:18 -04:00