cli/pkg/cmd/pr/shared
Andy Feller 4f0a5807bf Refactor CopilotReplacer logic based on PR feedback
Thanks to @bagtoad, this commit refactors the argument to `NewCopilotReplacer(bool)` from being where this is used to what it effect is has.

Because there is already precedence for display name being `<login> (<name>)`, I worried there would be confusion for `Copilot (AI)` being display name for assignees and reviewers but `Copilot` when going to GitHub.com UI.  Instead, I renamed the argument based on whether the login is returned / replaced.
2025-07-16 14:42:11 -04:00
..
commentable.go Add --delete-last option to pr comment and issue comment (#10596) 2025-05-01 14:12:55 +01:00
comments.go Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
completion.go refactor(api): rename assignable user types and methods 2025-05-14 08:53:47 -06:00
display.go Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
display_test.go Adding no checks message when PR has no checks 2022-10-05 22:10:38 -03:00
editable.go Refactor CopilotReplacer logic based on PR feedback 2025-07-16 14:42:11 -04:00
editable_http.go fix(api): correct var name capitalization 2025-05-15 09:33:36 -06:00
find_refs_resolution.go chore: fix function name 2025-06-19 12:36:52 +08:00
find_refs_resolution_test.go Fix pr create when push.default tracking and no merge ref (#10863) 2025-04-24 16:41:14 +00:00
finder.go Fix pr edit when URL is provided 2025-06-02 15:07:55 +02:00
finder_test.go test: fix test data const 2025-06-10 13:57:31 +01:00
git_cached_config_client.go Rework ref usage when finding and creating PRs 2025-04-15 13:38:10 -06:00
lister.go Fix checkout when URL arg is from fork and cwd is upstream 2025-02-27 16:56:11 +01:00
params.go Refactor CopilotReplacer logic based on PR feedback 2025-07-16 14:42:11 -04:00
params_test.go Refactor CopilotReplacer logic based on PR feedback 2025-07-16 14:42:11 -04:00
preserve.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
preserve_test.go Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
reaction_groups.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
state.go Initial assign Copilot during issue create changes 2025-07-02 16:22:12 -04:00
survey.go Improve comments from PR feedback 2025-07-16 08:47:12 -04:00
survey_test.go refactor(api): rename assignable user types and methods 2025-05-14 08:53:47 -06:00
templates.go Add issue create --editor 2024-07-09 21:01:50 +09:00
templates_test.go Add issue create --editor 2024-07-09 21:01:50 +09:00