|
1 | 1 | // ==UserScript== |
2 | 2 |
|
3 | 3 | // @name More Awesome Azure DevOps (userscript) |
4 | | -// @version 3.8.0 |
| 4 | +// @version 3.8.1 |
5 | 5 | // @author Alejandro Barreto (NI) |
6 | 6 | // @description Makes general improvements to the Azure DevOps experience, particularly around pull requests. Also contains workflow improvements for NI engineers. |
7 | 7 | // @license MIT |
|
76 | 76 | 'agent-arbitration-status-off': 'Off', |
77 | 77 | }); |
78 | 78 |
|
79 | | - eus.showTipOnce('release-2024-06-06', 'New in the AzDO userscript', ` |
80 | | - <p>Highlights from the 2024-06-06 update!</p> |
81 | | - <p>Changes to the build logs view:</p> |
| 79 | + eus.showTipOnce('release-2025-08-08', 'New in the AzDO userscript', ` |
| 80 | + <p>Highlights from the 2025-08-08 update!</p> |
82 | 81 | <ul> |
83 | | - <li>The left-side jobs pane is now resizable.</li> |
| 82 | + <li>New: display the followers of a work item in the newer Boards view (#240).</li> |
| 83 | + <li>Fix: navigating to the pull requests view from another AzDO page will now correctly show the organization pull requests page link. (#242)</li> |
84 | 84 | </ul> |
85 | | - <p>See also <a href="https://github.com/alejandro5042/azdo-userscripts/commits/master/?since=2021-11-15&until=2024-04-16" target="_blank">other changes since our last update notification</a>.</p> |
86 | | - <hr> |
87 | 85 | <p>Comments, bugs, suggestions? File an issue on <a href="https://github.com/alejandro5042/azdo-userscripts" target="_blank">GitHub</a> 🧡</p> |
88 | 86 | `); |
89 | 87 | } |
|
155 | 153 | onPageUpdatedThrottled.flush(); |
156 | 154 |
|
157 | 155 | // 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. |
158 | | - $('body > div.full-size')[0].addEventListener('DOMNodeInserted', onPageUpdatedThrottled); |
| 156 | + const targetNode = $('body > div.full-size')[0]; |
| 157 | + const observer = new MutationObserver(onPageUpdatedThrottled); |
| 158 | + observer.observe(targetNode, { childList: true, subtree: true }); |
159 | 159 | } |
160 | 160 |
|
161 | 161 | function watchForStatusCardAndMoveToRightSideBar(session) { |
|
0 commit comments