mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Hide "Push to all branches" checkbox in the push dialog.
Reason: the option is not quite clear, and may confuse users. Especially it is confusing in a multi-repo configuration (where "push all branches" might be understood as "push branches from all repositories"). It also doesn't give any visual effect if there are no changes in other branches (commit list stays the same after reloading). The option is hidden, but not removed, because pushing all branches is default for command line 'git push'. Therefore if there is a feedback to implement the option, it will be reconsidered.
This commit is contained in:
@@ -76,6 +76,9 @@ public class GitPushDialog extends DialogWrapper {
|
||||
loadCommitsInBackground(myPushAllCheckbox.isSelected());
|
||||
}
|
||||
});
|
||||
/* hidden: it may confuse users, the target is not clear, hidden until really needed,
|
||||
not removed completely because it is default behavior for 'git push' in command line. */
|
||||
myPushAllCheckbox.setVisible(false);
|
||||
|
||||
myListPanel = new GitPushLog(myProject, myRepositories, new Consumer<Boolean>() {
|
||||
@Override public void consume(Boolean checked) {
|
||||
|
||||
Reference in New Issue
Block a user