AzDO Pull Request Improvements

Adds sorting and categorization to the PR dashboard. Also adds minor improvements to the PR diff experience, such as a base update selector and per-file checkboxes.

目前為 2019-07-19 提交的版本,檢視 最新版本

作者
alejandro5042
評價
0 0 0
版本
2.20.2
建立日期
2019-04-05
更新日期
2019-07-19
尺寸
24.3 KB
授權條款
MIT
腳本執行於

Browser Userscripts For Azure DevOps | azdo-userscripts


azdo-userscripts

Browser Userscripts For Azure DevOps

Build Status

A collection of userscripts to improve the Azure DevOps UI.

These userscripts were tested in Chrome and Firefox with the Tampermonkey extension. They may work with other setups.

Getting Started

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

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

Features

PR dashboard improvements

Sorts the PRs in your dashboard into categories.

(Picture of an example dashboard)

  • Reviews are sorted from oldest to newest (reverse of the default)
  • Reviews are highlighted red if you are the last reviewer and everyone else approved
  • Reviews are further categorized into sections:
    • Uncategorized: Reviews you need to process
    • Incomplete but blocked: Reviews you have not completed but are blocked anyways because another reviewer voted Waiting on Author or Rejected. This section is open by default
    • Drafts
    • Completed as Waiting on Author
    • Completed as Rejected
    • Completed as Approved / Approved with Suggestions
    • Completed as Approved / Approved with Suggestions (with notable updates): PRs that have had notable activity after you’ve approved; e.g. lots of comments or non-approval votes
  • Sections remember if they are open/closed
  • PRs show how many files the reviewer needs to review

PR diff improvements

  • File checkboxes: Mark a file as reviewed (for yourself)
  • Base selector: You can now select the base update to compare against
  • Make the file name always visible in the multi-file diff view, even if the user scrolled down the page
  • Make the horizontal scrollbar always visible in the multi-file diff view (but not for side-by-side diffs)
    • Before (long lines are cutoff and the scrollbar may be offscreen): text cutoff and no scrolling
    • After (scrollbar is always visible): scrollbars always visible

Documentation

Privacy

The update URL goes through a URL redirector 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 in the Tampermonkey dashboard (or disable updates). The redirector can 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

This is the second version of 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!


This site is open source. Improve this page.


QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址