Skip to content

Conversation

@kroeschl
Copy link
Contributor

@kroeschl kroeschl commented Aug 7, 2025

Justification

We fail to add the organizational PR link when navigating from some other page to the Pull Requests page.

Implementation

Switch from non-standard and deprecated DOMNodeInserted event to modern MutationObserver. Update the update info tooltip. Fixes #241.

Testing

Testing with Violentmonkey on Firefox, I can now navigate from an individual PR page to the Pull Requests page and see the link rendered as expected.

@kroeschl kroeschl marked this pull request as ready for review August 7, 2025 16:07
@humberto-garza humberto-garza requested a review from Copilot August 7, 2025 16:23
@humberto-garza humberto-garza self-assigned this Aug 7, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the DOM change detection mechanism from the deprecated DOMNodeInserted event to the standard MutationObserver API to fix organizational PR link rendering when navigating between Azure DevOps pages.

  • Switch from deprecated DOMNodeInserted event to modern MutationObserver for DOM change detection
  • Update the version and release notification tooltip
  • Fix issue where organizational PR links fail to appear when navigating from other pages

@humberto-garza humberto-garza self-requested a review August 7, 2025 16:23
@humberto-garza humberto-garza removed their assignment Aug 7, 2025
@m-akinc m-akinc merged commit b058b70 into alejandro5042:master Aug 13, 2025
3 checks passed
@kroeschl kroeschl deleted the dom-changes branch August 13, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigating from a PR to PRs list page doesn't add org PR link

3 participants