Skip to content

Instantly share code, notes, and snippets.

@tomviner
Last active August 29, 2015 14:00
Show Gist options
  • Save tomviner/11284117 to your computer and use it in GitHub Desktop.
Save tomviner/11284117 to your computer and use it in GitHub Desktop.
BAU Standup KanBan Cleaner
// 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);
}
)
@tomviner
Copy link
Author

See http://fiddle.jshell.net/tomviner/zrFGn/show/light/ for bookmarklet with dragable link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment