Skip to content

Commit 0f26cb2

Browse files
Merge pull request #236 from alejandro5042/addResizeToBuildPanels
Add Resize handle to build left panel
2 parents 243b173 + 81f778f commit 0f26cb2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/azdo-pr-dashboard.user.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22

33
// @name More Awesome Azure DevOps (userscript)
4-
// @version 3.7.3
4+
// @version 3.7.4
55
// @author Alejandro Barreto (NI)
66
// @description Makes general improvements to the Azure DevOps experience, particularly around pull requests. Also contains workflow improvements for NI engineers.
77
// @license MIT
@@ -115,6 +115,7 @@
115115
watchForWorkItemForms();
116116
watchForNewDiffs(isDarkTheme);
117117
watchForShowMoreButtons();
118+
watchForBuildResultsPage();
118119

119120
if (atNI) {
120121
watchForDiffHeaders();
@@ -1435,6 +1436,14 @@
14351436
});
14361437
}
14371438

1439+
function watchForBuildResultsPage() {
1440+
eus.onUrl(/\/(_build\/results)/gi, (session, urlMatch) => {
1441+
session.onEveryNew(document, '.bolt-master-panel', panel => {
1442+
$(panel).css('resize', 'horizontal');
1443+
});
1444+
});
1445+
}
1446+
14381447
async function enhancePullRequestRow(row, sectionTitle) {
14391448
const pullRequestUrl = new URL(row.href, window.location.origin);
14401449
const pullRequestId = parseInt(pullRequestUrl.pathname.substring(pullRequestUrl.pathname.lastIndexOf('/') + 1), 10);

0 commit comments

Comments
 (0)