Created
May 12, 2014 10:31
-
-
Save byrichardpowell/b9bcf5126f9571245899 to your computer and use it in GitHub Desktop.
Tamper monkey: Hide complete JIRA items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide Complete JIRA items | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description I find it tricky to distinguish between complete and incomplete items on the planning page of a JIRA sprint. This DIRTY code fades complete items out. You can still hover the items to see what they are. | |
// @match https://serverdensity.atlassian.net/secure/* | |
// @copyright 2012+, You | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
var outOpacity = 0.2 | |
$(document).ready(function() { | |
setTimeout( function() { | |
$('.ghx-issue-compact.ghx-done').css('opacity',outOpacity).mouseenter( function() { | |
$(this).css('opacity',1) | |
}).mouseleave( function() { | |
$(this).css('opacity',outOpacity) | |
}) | |
}, 4000) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment