Skip to content

Instantly share code, notes, and snippets.

@Sneezry
Created November 27, 2017 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sneezry/2a44ba78c0f95d5d93e85ddc970e9dd8 to your computer and use it in GitHub Desktop.
Save Sneezry/2a44ba78c0f95d5d93e85ddc970e9dd8 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name VSO PR Filter
// @namespace sneezry
// @version 0.1
// @description Filter VSO PR list
// @author Zhe Li
// @match https://mseng.visualstudio.com/*/pullrequest/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(function() {
$('.ms-List-cell:has(.vc-pullrequest-activity-shown:not(.vc-pullrequest-activity-body,:has(.ms-Button-label:contains("Resolve")))),.ms-List-cell:not(:has(.ms-Button-label))').hide();
}, 3000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment