Skip to content

Commit 43c4802

Browse files
authored
Merge branch 'main' into issue-655
2 parents 060371c + 2d7f2da commit 43c4802

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515
- Changing system mode (environment name) in setting spersists after instance restart (#655)
16+
- Popping from stash is more responsive (#687)
1617
- Favorites links for Git pages now works on recent IRIS versions (#734)
1718

1819
## [2.10.0] - 2025-02-10

Diff for: docs/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following is a testing plan that should be followed prior to release of a ne
1818
- Add, edit, and delete items through Studio / VS Code. Use the Sync option. All changes should be committed and pushed to the remote.
1919
- Add, edit, and delete items on the remote. Add, edit, and delete unrelated items through Studio/VSCode. All changes should be pulled, committed, and pushed.
2020
- Add an item to an interoperability production and sync. Check out a new feature branch. The item should no longer exist in the production. Set the previous branch as the remote merge branch. Sync. The new item should exist in the production.
21-
- Add an item to a production and sync. Check out a new feature branch. The item should no longer exist in the production. Set the previous branch as the remote merge branch. Add a new item to the production. Sync. The production should now have both new items, and the source control output should show it automatically resolved a conflict.
21+
- Make sure production decomposition is off. Add an item to a production and sync. Check out a new feature branch. The item should no longer exist in the production. Set the previous branch as the remote merge branch. Add a new item to the production. Sync. The production should now have both new items, and the source control output should show it automatically resolved a conflict.
2222

2323
## Testing production decomposition
2424
- Enable production decomposition in the git-source-control settings.

Diff for: git-webui/release/share/git-webui/webui/js/git-webui.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -2005,10 +2005,10 @@ webui.DiffView = function(sideBySide, hunkSelectionAllowed, parent, stashedCommi
20052005
}
20062006
var stashIndex = parseInt($(".log-entry.active .stash-list-index").text());
20072007
webui.git_command(["stash", "apply", "stash@{"+stashIndex+"}"], function(output) {
2008-
webui.showSuccess(output);
2009-
parent.stashView.update(0);
2008+
webui.showSuccess("Applied stash item");
2009+
parent.update();
20102010
self.clear()
2011-
});
2011+
}, webui.showWarning(output), webui.showError(output));
20122012
}
20132013

20142014
self.popSelectedStash = function() {
@@ -2017,10 +2017,10 @@ webui.DiffView = function(sideBySide, hunkSelectionAllowed, parent, stashedCommi
20172017
}
20182018
var stashIndex = parseInt($(".log-entry.active .stash-list-index").text());
20192019
webui.git_command(["stash", "pop", "stash@{"+stashIndex+"}"], function(output) {
2020-
webui.showSuccess(output);
2021-
parent.stashView.update(0);
2020+
webui.showSuccess("Popped from stash");
2021+
parent.update();
20222022
self.clear()
2023-
});
2023+
}, webui.showWarning(output), webui.showError(output));
20242024
}
20252025

20262026
self.dropSelectedStash = function() {
@@ -2029,10 +2029,10 @@ webui.DiffView = function(sideBySide, hunkSelectionAllowed, parent, stashedCommi
20292029
}
20302030
var stashIndex = parseInt($(".log-entry.active .stash-list-index").text());
20312031
webui.git_command(["stash", "drop", "stash@{"+stashIndex+"}"], function() {
2032-
webui.showSuccess(output.substring(output.indexOf("Dropped")));
2033-
parent.stashView.update(0);
2032+
webui.showSuccess("Dropped from stash");
2033+
parent.update();
20342034
self.clear();
2035-
});
2035+
}, webui.showWarning(output), webui.showError(output));
20362036
}
20372037

20382038
var html = '<div class="diff-view-container panel panel-default">';

Diff for: git-webui/src/share/git-webui/webui/js/git-webui.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -2005,10 +2005,10 @@ webui.DiffView = function(sideBySide, hunkSelectionAllowed, parent, stashedCommi
20052005
}
20062006
var stashIndex = parseInt($(".log-entry.active .stash-list-index").text());
20072007
webui.git_command(["stash", "apply", "stash@{"+stashIndex+"}"], function(output) {
2008-
webui.showSuccess(output);
2009-
parent.stashView.update(0);
2008+
webui.showSuccess("Applied stash item");
2009+
parent.update();
20102010
self.clear()
2011-
});
2011+
}, webui.showWarning(output), webui.showError(output));
20122012
}
20132013

20142014
self.popSelectedStash = function() {
@@ -2017,10 +2017,10 @@ webui.DiffView = function(sideBySide, hunkSelectionAllowed, parent, stashedCommi
20172017
}
20182018
var stashIndex = parseInt($(".log-entry.active .stash-list-index").text());
20192019
webui.git_command(["stash", "pop", "stash@{"+stashIndex+"}"], function(output) {
2020-
webui.showSuccess(output);
2021-
parent.stashView.update(0);
2020+
webui.showSuccess("Popped from stash");
2021+
parent.update();
20222022
self.clear()
2023-
});
2023+
}, webui.showWarning(output), webui.showError(output));
20242024
}
20252025

20262026
self.dropSelectedStash = function() {
@@ -2029,10 +2029,10 @@ webui.DiffView = function(sideBySide, hunkSelectionAllowed, parent, stashedCommi
20292029
}
20302030
var stashIndex = parseInt($(".log-entry.active .stash-list-index").text());
20312031
webui.git_command(["stash", "drop", "stash@{"+stashIndex+"}"], function() {
2032-
webui.showSuccess(output.substring(output.indexOf("Dropped")));
2033-
parent.stashView.update(0);
2032+
webui.showSuccess("Dropped from stash");
2033+
parent.update();
20342034
self.clear();
2035-
});
2035+
}, webui.showWarning(output), webui.showError(output));
20362036
}
20372037

20382038
var html = '<div class="diff-view-container panel panel-default">';

0 commit comments

Comments
 (0)