diff --git a/src/azdo-pr-dashboard.user.js b/src/azdo-pr-dashboard.user.js index 79df467..382f734 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.8.0 +// @version 3.8.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,14 +76,12 @@ 'agent-arbitration-status-off': 'Off', }); - eus.showTipOnce('release-2024-06-06', 'New in the AzDO userscript', ` -
Highlights from the 2024-06-06 update!
-Changes to the build logs view:
+ eus.showTipOnce('release-2025-08-08', 'New in the AzDO userscript', ` +Highlights from the 2025-08-08 update!
See also other changes since our last update notification.
-Comments, bugs, suggestions? File an issue on GitHub 🧡
`); } @@ -155,7 +153,9 @@ onPageUpdatedThrottled.flush(); // Call our event handler if we notice new elements being inserted into the DOM. This happens as the page is loading or updating dynamically based on user activity. - $('body > div.full-size')[0].addEventListener('DOMNodeInserted', onPageUpdatedThrottled); + const targetNode = $('body > div.full-size')[0]; + const observer = new MutationObserver(onPageUpdatedThrottled); + observer.observe(targetNode, { childList: true, subtree: true }); } function watchForStatusCardAndMoveToRightSideBar(session) {