lazygit/pkg/gui/controllers/helpers
Moritz Haase 949e131ebe pkg/gui: Allow user to select remote and branch when creating a PR
When creating a PR against a selected branch (via O = "create pull request
options"), the user will first be asked to select a remote (if there is more
than one). After that, the suggestion area is populated with all remote branches
at that origin - instead of all local ones. After all, creating a PR against a
branch that doesn't exist on the remote won't work.

Please note that for the "PR is not filed against 'origin' remote" use case
(e.g. when contributing via a fork that is 'origin' to a GitHub project that is
'upstream'), the opened URL will not be correct. This is not a regression and
will be fixed in an upcoming PR.

Fixes #1826.
2024-11-23 11:52:21 +11:00
..
amend_helper.go
app_status_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
bisect_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
branches_helper.go Add a menu item to delete both local and remote branch at once 2024-09-28 11:23:21 +02:00
cherry_pick_helper.go Allow pasting commits more than once 2024-10-13 16:55:54 +02:00
commits_helper.go Remove return value of OpenCommitMessagePanel 2024-09-06 08:45:48 +02:00
commits_helper_test.go
confirmation_helper.go Use AutoRenderHyperLinks in confirmation view 2024-09-28 12:04:51 +02:00
credentials_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
diff_helper.go Remove return value of RenderToMainViews and some related functions 2024-09-06 08:45:48 +02:00
files_helper.go
fixup_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
fixup_helper_test.go Also return hunks with only added lines from parseDiff 2024-06-01 08:31:18 +02:00
gpg_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
helpers.go
host_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
inline_status_helper.go Remove return value of HandleRender 2024-09-06 08:45:48 +02:00
merge_and_rebase_helper.go Get rid of error return value of PostRefreshUpdate and a few related ones 2024-10-13 16:55:54 +02:00
merge_conflicts_helper.go Remove return value of IContextMgr.Push/Pop et. al. 2024-09-06 08:45:48 +02:00
mode_helper.go
patch_building_helper.go Cleanup: remove isFocused parameter from GetContentToRender and related methods 2024-10-18 22:46:48 +02:00
record_directory_helper.go
refresh_helper.go Get rid of error return value of PostRefreshUpdate and a few related ones 2024-10-13 16:55:54 +02:00
refs_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
repos_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
search_helper.go Get rid of error return value of PostRefreshUpdate and a few related ones 2024-10-13 16:55:54 +02:00
snake_helper.go Remove ErrorMsg 2024-04-18 10:10:30 +02:00
staging_helper.go Cleanup: remove isFocused parameter from GetContentToRender and related methods 2024-10-18 22:46:48 +02:00
sub_commits_helper.go Get rid of error return value of PostRefreshUpdate and a few related ones 2024-10-13 16:55:54 +02:00
suggestions_helper.go pkg/gui: Allow user to select remote and branch when creating a PR 2024-11-23 11:52:21 +11:00
tags_helper.go Remove return value of OpenCommitMessagePanel 2024-09-06 08:45:48 +02:00
update_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
upstream_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00
upstream_helper_test.go
view_helper.go
window_arrangement_helper.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
window_arrangement_helper_test.go Add user config expandedSidePanelWeight 2024-06-01 08:21:23 +02:00
window_helper.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
working_tree_helper.go Remove return value of OpenCommitMessagePanel 2024-09-06 08:45:48 +02:00
worktree_helper.go Remove return value of Alert/Confirm/Prompt 2024-09-06 08:45:48 +02:00