From 034204459ff917964930336b308ef5b767f596c6 Mon Sep 17 00:00:00 2001 From: Kyle Roeschley Date: Wed, 20 May 2026 12:56:15 -0400 Subject: [PATCH 1/2] Annotate watchers in the Files tab --- src/azdo-pr-dashboard.user.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/azdo-pr-dashboard.user.js b/src/azdo-pr-dashboard.user.js index 28c11b9..3f733e6 100644 --- a/src/azdo-pr-dashboard.user.js +++ b/src/azdo-pr-dashboard.user.js @@ -2459,6 +2459,8 @@ const reviewers = file.reviewers ? (file.reviewers.map(r => reviewProperties.reviewerIdentities[r - 1] || {}) || []) : []; const experts = file.experts ? (file.experts.map(r => reviewProperties.reviewerIdentities[r - 1] || {}) || []) : []; + const watchers = file.watchers ? (file.watchers.map(r => reviewProperties.reviewerIdentities[r - 1] || {}) || []) : []; + // Pick the highest role for the current user on this file, and track it. if (owner.email === currentUser.uniqueName) { ownersInfo.currentUserFilesToRole[file.path] = 'O'; @@ -2470,6 +2472,10 @@ } else if (_(experts).some(r => r.email === currentUser.uniqueName) || _(reviewers).some(r => r.email === currentUser.uniqueName)) { ownersInfo.currentUserFilesToRole[file.path] = 'E'; ownersInfo.currentUserFileCount += 1; + // eslint-disable-next-line no-loop-func + } else if (_(watchers).some(r => r.email === currentUser.uniqueName)) { + ownersInfo.currentUserFilesToRole[file.path] = 'W'; + ownersInfo.currentUserFileCount += 1; } } } From b841ae6729ffcbd609dda56eb264d3eb774e37de Mon Sep 17 00:00:00 2001 From: Kyle Roeschley Date: Wed, 20 May 2026 13:29:34 -0400 Subject: [PATCH 2/2] Update version and update notification --- src/azdo-pr-dashboard.user.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/azdo-pr-dashboard.user.js b/src/azdo-pr-dashboard.user.js index 3f733e6..9abb6da 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.11.0 +// @version 3.11.1 // @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 @@ -76,12 +76,10 @@ 'agent-arbitration-status-off': 'Off', }); - eus.showTipOnce('release-2026-05-20', 'New in the AzDO userscript', ` -

Highlights from the 2026-05-20 update!

-

Changes to the PR dashboard view:

+ eus.showTipOnce('release-2026-05-22', 'New in the AzDO userscript', ` +

Highlights from the 2026-05-22 update!

Comments, bugs, suggestions? File an issue on GitHub 🧡

`);