diff --git a/src/azdo-pr-dashboard.user.js b/src/azdo-pr-dashboard.user.js index f3d7208..afe8d49 100644 --- a/src/azdo-pr-dashboard.user.js +++ b/src/azdo-pr-dashboard.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name More Awesome Azure DevOps (userscript) -// @version 3.7.3 +// @version 3.7.4 // @author Alejandro Barreto (NI) // @description Makes general improvements to the Azure DevOps experience, particularly around pull requests. Also contains workflow improvements for NI engineers. // @license MIT @@ -115,6 +115,7 @@ watchForWorkItemForms(); watchForNewDiffs(isDarkTheme); watchForShowMoreButtons(); + watchForBuildResultsPage(); if (atNI) { watchForDiffHeaders(); @@ -1435,6 +1436,14 @@ }); } + function watchForBuildResultsPage() { + eus.onUrl(/\/(_build\/results)/gi, (session, urlMatch) => { + session.onEveryNew(document, '.bolt-master-panel', panel => { + $(panel).css('resize', 'horizontal'); + }); + }); + } + async function enhancePullRequestRow(row, sectionTitle) { const pullRequestUrl = new URL(row.href, window.location.origin); const pullRequestId = parseInt(pullRequestUrl.pathname.substring(pullRequestUrl.pathname.lastIndexOf('/') + 1), 10);