Last active
August 29, 2015 14:00
-
-
Save tomviner/11284117 to your computer and use it in GitHub Desktop.
BAU Standup KanBan Cleaner
This file contains hidden or 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
// column IDs | |
var inbox = 240, | |
pri = 21, | |
signoff = 23, | |
done = 28, | |
show_top_n_issues = 3; | |
var to_hide = [inbox, signoff, done]; | |
// hide columns and their titles | |
$.each( | |
to_hide, | |
function(i, id){ | |
$('[data-id="' + id + '"],[data-column-id="' + id + '"]').hide(0); | |
} | |
) | |
// hide issues[:3] on a per swim lane basis | |
$('[data-column-id="' + pri + '"]') | |
.each(function(){ | |
$(this) | |
.find('.ghx-issue:gt(' + (show_top_n_issues-1) + ')') | |
.hide(0); | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Available at bookmarklet: