View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000946 | mantisbt | bugtracker | public | 2001-09-21 13:21 | 2017-05-16 06:21 |
Reporter | magico | Assigned To | jreese | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Summary | 0000946: Implementation of sub-categories | ||||
Description | It would be very usefull the option of create subcategories. Category 1
Because mantis order categories by name I can't make this by using singles categories. But would be also very usefull have major categories and minor categories to separate and search categories quickly. | ||||
Tags | No tags attached. | ||||
I'll consider it but it won't be for a while. |
|
Hey, this feature would be great. ddegraff |
|
Why not settle for unlimited nesting of categories, instead of only 1 or 2 levels? Thereby it's up to users how they'll divide and categorize their projects. "Report-bug": Category dropdown show indented tree-like view of categories. |
|
I think 2 categories are more than enough, if not too much overhead already. Imagine the common QA employee dangling through that complicated drop-down list containing 10 nested category levels. They will never use the thing again but rather call you up. It's just a usability thing. (Please see my other comment about usability in 0001144.) |
|
Would using this type of setup work for you? Here's a list of categories: Category 1 The categories get a bit long, but they are sort/filterable (well, can't do cat 1*, but you get the idea), it is flexible, etc. If that wouldn't work, why not? |
|
This is the way I do it. But you know... they're so long that are names that get "cutted". Anyway, there are other problems, as for example, I want that summary graphs For example: In my situation this would be more (much more) usefull. |
|
I'm for this. I actually had to turn the categories into self sub categories so they would be grouped in the list like : "Application - software - something", or "'Site Name' - 'hostname' - 'ip address'". So subsequent similar entries would be grouped so you could easily find what your looking for but it would be REALLY nice to have auto-populated drop downs for the sub categories. On the graphs, I just went in and edited the graph sizes because with so many categories the text looks like jumbled so I expanded the text area and the graph size and it works. It would be nice that the graphs auto sized or a way to edit them on screen. I opened another feature request for this. |
|
Yes, sub-categories would be extremely useful. The workaround like : |
|
This would be great! Especially for BIG systems. IE: "A System" etc etc The "workaround" for "CAT1 - Sub1" wouldn't work for me bit of a pain if you have loads |
|
Here is my vote; good suggestion, could realy use this. |
|
Here is my vote; good suggestion, could realy use this. |
|
On my mantis server, I have implemented nested subcategories. The database and internal storage and configuration remains the same. I've simply created a new self-contained function:
which, when used in place of print_category_option_list(), displays the categories as an expandable/collapsible tree up to an infinite number of levels deep. The only requirement for the nesting to work is that the categories must be named as if they were paths, e.g., Category, Category/Subcategory, Category/Subcategory/Sub-subcategory, etc. Since the categories are stored internally the same way, the summaries and whatnot still work. The only change is on the bug reporting pages, or wherever print_category_tree_list() is used in place of print_category_option_list(). EDIT (dregad): fixed markdown |
|
to sjbuehler: your solution looks like a simple and effective approach. Are you willing to submit a patch with your implementation? if so, please try to follow this guidelines: http://www.mantisbt.org/wiki/doku.php/mantisbt:howto_submit_patches thanks in advance |
|
Is there a chance that it will be submited ? |
|
Yes, I'm willing to submit a patch. Unfortunately, I'm extremely busy right now and it may have to wait until after Thanksgiving. (If I find the time to get to it this weekend, then I will; no promises.) By the way, my implementation of nested categories has been modified so that, in addition to collapsible trees, it can alternatively render as multiple appearing/disappearing drop-down boxes containing data that depend on the selection of the previous (parent) drop-down box(es). (Sorry for the multiple edits.) |
|
I think it would be best for you to hold off on this patch. I'm very close to finalizing an ID-based category system for Mantis, which will certainly break your changes. See bug 0008435 for more details. |
|
@sjbuehler - would you be willing/able to provide a patch for this against trunk, which has the new category system fully in place? Cheers. |
|
Without a patch, this is dead in the water. It's been five months... |
|