View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017594 | mantisbt | reports | public | 2014-08-15 09:56 | 2020-03-15 15:23 |
Reporter | papaya | Assigned To | dregad | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.16 | ||||
Target Version | 2.24.0 | Fixed in Version | 2.24.0 | ||
Summary | 0017594: Display issue Summary inside relation graph nodes | ||||
Description | The usage of the graph could be drastically enhanced by adding the content of the item's title-attribute to the output. This way the graph get more context, instead of just displaying a bunch of ticket numbers. The whole thing could look like something in the attached mockup image "bug_relationship_graph_img-Mockup.png". • Can this be done by our own administrators in our mantis installation? If yes, what would be the necessary code? • If this feature would be added to mantis by mantis' devteam, the possibility to enter a value for the number of characters would be helpful. Any reactions are welcome ;-) Kind regards. Roger | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Are you aware that the issue summary is displayed as a tooltip when moving the mouse on the number? |
|
Definitely not a high priority issue. |
|
Yes, the issue summary (title-attribute) is displayed upon hover. But hovering allows only the displaying of one (1) issue summary. Still it remains a collection of numbers without direct information about their unique issue. Certainly no high priority, but the graph display would be drastically enhanced. Any help/hint of how to accomplish this is appreciated. Thanks. |
|
Add the following line |
|
Thank you very much, we'll try it and get back with feedback. ;-) |
|
@atrol: The code you provided in 0017594:0041072 works like a charm :-) Thank you so far. The current result by default looks like in the screenshot "centered": http://www.mantisbt.org/bugs/file_download.php?file_id=5210&type=bug. This is already a huge improvement, compared to the default output of the graph (i.e. nothing but issue numbers) For the finishing touches I would like to have it output as mocked in the screenshot "algin-left-mockup": http://www.mantisbt.org/bugs/file_download.php?file_id=5211&type=bug :
Can these options be added to the code line? I'd really appreciate, if you can provide an example code line (complete). That would be the final round, I promise ;-) . Thank you. Roger |
|
I tried a bit, but didn't succeed in changing the label alignment. Sorry, I don't have time for further investigation. |
|
Ok, Thank you very much. Maybe someone else finds the time to make these last cosmetic adjustments. Cheers.Roger |
|
Proposed fix in the PR: a new button Show / Hide Summary allows the user to optionally show the issue Summary, as shown in attached screenshots. Note that the text is truncated to 30 chars (arbitrary value), to avoid the boxes to become too wide. |
|
MantisBT: master ec616fd3 2019-09-21 15:32 Details Diff |
Relationship Graphs allow display of Issue Summary A new Show/Hide Summary button lets the user choose whether they want to see just the Issue ID, or also the Summary. In that case, the text is truncated to an arbitrary 30 characters, to avoid the node boxes being too wide. Fixes 0017594 |
Affected Issues 0017594 |
|
mod - bug_relationship_graph.php | Diff File | ||
mod - bug_relationship_graph_img.php | Diff File | ||
mod - core/relationship_graph_api.php | Diff File | ||
mod - lang/strings_english.txt | Diff File | ||
MantisBT: master 6568294a 2019-09-21 15:49 Details Diff |
Adjust relationship graph to avoid nodes overlap When the labels include the issue's Summary, they become much bigger causing the graph's nodes to overlap. Tweaking the graph's attributes avoids this, at the expense of a slightly larger image. Fixes 0017594 |
Affected Issues 0017594 |
|
mod - core/relationship_graph_api.php | Diff File |