azdo-userscripts

More Awesome Azure DevOps (userscript)

Build Status GitHub Release Date GitHub release GitHub stars

A collection of userscripts to improve the Azure DevOps UI.

Getting Started

  1. Install a userscript manager such as Violentmonkey or Tampermonkey
  2. Refresh this page if you just installed this extension (or the download link won’t work)
  3. Install this userscript

By default, Violentmonkey will auto-update scripts from the original install location once a day. You can force an update from the extensions menu.

Features

PR dashboard improvements

PR diff improvements

Better owners review (NI-only)

These features are only available in NI AzDO accounts.

Reviewer out-of-office annotations

Works out of the box for reviewers signed in with an NI/Emerson account. Users on other tenants/orgs can enable it by supplying their own Azure AD app registration (see below).

Reviewers on a PR are annotated with an Out of Office label when their Microsoft 365 presence shows they are out of office. Hovering the label shows their Outlook auto-reply message (if any).

This is looked up live per-reviewer via the Microsoft Graph presence API, so it is always current. For NI/Emerson accounts it works with no setup — the script signs you in silently using a shared, single-tenant Azure AD app registration the first time you view a PR. Reviewers that can’t be resolved simply show no label.

Overall

Augmented build results view

In the builds results logs view, the left pane is now resizable so that job and step names are more visible.

Resizable build results view.

NI-only changes

These features are only available in NI AzDO accounts.

PREVIEW: Launch a protocol handler to diff NI Binaries

When using this userscript on Windows, a button to launch the “NI Binary Git Diff” protocol handler will be displayed.

Launch NI Binary Git Diff Button.

This button will be added to binary files with the following extensions: .vi, .vim, .vit, .ctt, .ctl.

Note: This is a preview feature. Please contact Humberto Garza (NI) for more details and instructions.

PR trophies

Trophies are awarded for notable PRs and shown in a trophies section on the Overview tab. For example:

Milestone trophy.

Documentation

Maintainers: out-of-office app registration

The reviewer out-of-office annotations use a shared Azure AD app registration so end users don’t have to create their own. A few notes for maintainers:

Privacy

The update URL goes through a URL redirect service to get a rough idea of how many people are using this script. To opt-out, change the update URL to the original download URL your usescript dashboard (or disable updates). This redirect service may also help if the URL needs to change; e.g. if the file is moved or renamed.

No other data is collected. The script is sourced and updated directly from the master branch of this repo.

Credits

Inspired by a PR filtering script originally written by Tian Yu, which faded out approved PRs. Further improved by Alejandro Barreto.

License

MIT. Issues and pull requests welcomed ❤️