Feature #3436
closedShow relations in Gantt diagram
80%
Description
Hi,
I request a feature: Please show the relations, especially the blocks and dependencies, within the gantt diagram. Attached is a related screenshot, how I would like to see the result.
Thanks,
Michael
Files
Related issues
Updated by Stavros Korokithakis over 15 years ago
Even if the relationships aren't shown, it would be immensely useful if the time dependencies were. For example, if issue A blocks B, issue B should start after A ends, not when it starts, like it is now.
Updated by Ochir Abushinov about 15 years ago
- Assignee set to Jean-Philippe Lang
yes, I would like to ask somebody of Redmine developers to implement this feature. My organization uses Redmine as project manager, and Gantt chart is only thing annoying us.
Could this feature be implemented in 0.8.6 version?
Updated by Ochir Abushinov about 15 years ago
- Assignee deleted (
Jean-Philippe Lang)
Updated by Lionel TRESSENS almost 14 years ago
+ 1
Need funding to accelerate this enhancement ? Tell me, my company may possibly fund it.
Updated by Luis Serrano Aranda over 13 years ago
Try the plugin better gantt char
Updated by Toshi MARUYAMA almost 12 years ago
- File gantt-relations-r10943.diff gantt-relations-r10943.diff added
- File gantt-relations-r10943.png gantt-relations-r10943.png added
- % Done changed from 0 to 80
This is a patch for trunk r10943.
Updated by Toshi MARUYAMA almost 12 years ago
Sorry, note-22 patch has wrong html table tag.
This patch removed it.
This patch is for trunk r10943.
Updated by Etienne Massip almost 12 years ago
Nice work.
- You can use
content_opt[:data] = { 'rel-blocks' => v.join(',') } in helper
and$(...).data('rel-blocks')
- Typo landscape_mergin -> landscape_margin
Wouldn't be worth it/easier to maitain to make the whole Gantt a SVG graph?
Updated by Toshi MARUYAMA almost 12 years ago
Etienne Massip wrote:
- You can use
content_opt[:data] = { 'rel-blocks' => v.join(',') } in helper
and$(...).data('rel-blocks')
- Typo landscape_mergin -> landscape_margin
Done.
And fixed JavaScript error when a issue does not have a bar (no start date or out range).
This is a patch for trunk r10973.
Updated by Toshi MARUYAMA almost 12 years ago
I have removed unused variables from note-25 patch.
This is a patch for trunk r10973.
Updated by Jean-Philippe Lang almost 12 years ago
- Target version set to 2.3.0
Looks sweet!
But I don't think that displaying "related to", "copied to" or "duplicates" relations is that usefull. As request initially, I think we should only display "precedes" and "blocks" relations.
Updated by Etienne Massip almost 12 years ago
Jean-Philippe Lang wrote:
Looks sweet!
But I don't think that displaying "related to", "copied to" or "duplicates" relations is that usefull. As request initially, I think we should only display "precedes" and "blocks" relations.
No, it should definitively not appear.
I think there should not be any possibility to select what relation types you want to show, just "precedes" and "blocks".
Not sure the foreach syntax for (rel_type_key in ...) {}
is supported by IE7/8?
Finally, why not leave a permanent issue div class instead of removing a temporary todo class, which is a bit dirty?
Updated by Toshi MARUYAMA almost 12 years ago
- File gantt-relations-r11060.png gantt-relations-r11060.png added
- File gantt-relations-r11060.diff gantt-relations-r11060.diff added
This is a patch for trunk r11060.
Etienne Massip wrote:
Jean-Philippe Lang wrote:
Looks sweet!
But I don't think that displaying "related to", "copied to" or "duplicates" relations is that usefull. As request initially, I think we should only display "precedes" and "blocks" relations.
No, it should definitively not appear.
I think there should not be any possibility to select what relation types you want to show, just "precedes" and "blocks".
Done.
Not sure the foreach syntax
for (rel_type_key in ...) {}
is supported by IE7/8?
Sorry, I have not tested yet.
Finally, why not leave a permanent issue div class instead of removing a temporary todo class, which is a bit dirty?
Sorry, could you tell me in more detail?
Updated by Daniel Felix almost 12 years ago
Hi Toshi,
maybe there is a better way for displaying blocks.
Maybe some broken arrow or an dotted arrow? Those colors are nice, but you need to read those legend. If the arrow is selfexplaining, you haven't the risk that the user could misunderstand the colors (maybe after holidays or some longer field trip ;-) ).
What do you think about this?
Best regards,
Daniel
Updated by Toshi MARUYAMA almost 12 years ago
- File gantt-relations-r11086.png gantt-relations-r11086.png added
- File gantt-relations-r11086.diff gantt-relations-r11086.diff added
Daniel Felix wrote:
Maybe some broken arrow or an dotted arrow?
Done.
This is a patch for trunk r11086.
Updated by Daniel Felix almost 12 years ago
Updated by Toshi MARUYAMA almost 12 years ago
- File ie7-issue-list.png ie7-issue-list.png added
Etienne Massip wrote:
Not sure the foreach syntax
for (rel_type_key in ...) {}
is supported by IE7/8?
I try this patch with IE7 on my Windows Vista.
This patch does not work.
Issue filter of trunk r11117 is broken on IE7.
I give up to run on IE7.
Updated by Toshi MARUYAMA almost 12 years ago
- File ie8-gantt.png ie8-gantt.png added
- File ie8-about.png ie8-about.png added
I confirmed this patch works on IE8.
Updated by Daniel Felix almost 12 years ago
Toshi MARUYAMA wrote:
I try this patch with IE7 on my Windows Vista.
This patch does not work.Issue filter of trunk r11117 is broken on IE7.
I give up to run on IE7.
Hi Toshi,
I don't see this much critical. We could handle this as a graceful degradation. IE7 User won't have those relations. All newer Versions could handle it.
By the way, the IE 7 isn't supported by Microsoft anyway. This browser is going out of business. The most users will use a newer version of IE or another browser like Firefox, Chrome, Opera and so on.
Updated by Jean-Philippe Lang almost 12 years ago
- Status changed from New to Resolved
- Resolution set to Fixed
- removed the option to show/hide the relations, they are now always displayed
- moved the rendering options from the IssueRelation model to the gantt helper
- optimized the loading of relations (a single query instead of 1 query per issue)
- optimized the parsing of data on the client side
- restored the solid lines (which I personnaly find much cleaner)
- added a functional test
Toshi, thanks for your work on this great improvement!
Updated by Daniel Felix almost 12 years ago
Thanks a lot for this implementation (Toshi and Jean-Philippe)!
This is realy helpful in bigger projects with much depencies!
Updated by Yasaf Burshan almost 12 years ago
Hi all,
How do I use this update on a windows machine with IIS?
When I run the patch command I'm getting an error message saying that asking what file I would like to update.
Any help is appreciated.
Thanks.
Updated by Daniel Felix almost 12 years ago
Yasaf Burshan wrote:
Hi all,
How do I use this update on a windows machine with IIS?
When I run the patch command I'm getting an error message saying that asking what file I would like to update.
Any help is appreciated.
Thanks.
Check your patch file. Maybe the path to the file in the patch is another than in your current trunnk (example: patch say /trunk/... and your local repository starts with /redmine_trunk) or something like that.
You can also load a new version with the current trunk, which would be more stable than applying a single patch.
Updated by Jean-Philippe Lang almost 12 years ago
- Status changed from Resolved to Closed