Closed dreed47 closed 10 years ago
I think all those are doable.
Ignoring statuses would mean they can't be selected in the edit form as well. So I'll have to modify that code as well.
I'm just curios, what is the reason you would want to ignore a status? Seems like someone using the Mantis interface might drop some issues into that status, and you would never know it if you only used the Kanban interface..
For us putting a status of hold essentially takes an issue out of the release so we wouldn't want to see it in the board
some of my code fixes for this ticket https://github.com/dreed47/mantiskanban
I'm going to move this to the suggestion issue, and close this one out.
I'd like to suggest 3 new config.js options as detailed below.
Kanban.PrefixIssueIdOnToolTip = true; // about line 308 of kanbanclasses.js // var titlePrefix = Kanban.PrefixIssueIdOnToolTip ? this.ID + ": " : ""; // storyContainerDiv.setAttribute("title", titlePrefix + this.Summary.htmlencode());
Kanban.PrefixIssueIdOnSummary = false; // about line 343 of kanbanclasses.js // var summaryPrefix = Kanban.PrefixIssueIdOnSummary ? this.ID + ": " : "";
// storyDivTitle.innerHTML = summaryPrefix + this.Summary;
Mantis.IgnoreStatusIds = ["20","30","40","82","90"]; // about line 212 of index.js // if(!~jQuery.inArray(status.id, Mantis.IgnoreStatusIds)) { // Kanban.AddListToArray(new KanbanList(status)); // }