Project

General

Profile

Actions

Feature #3436

closed

Show relations in Gantt diagram

Added by Michael Diederich almost 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gantt
Target version:
Start date:
2009-06-02
Due date:
% Done:

80%

Estimated time:
Resolution:
Fixed

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

screenshot-gantt-ticket-relationsship.png (37.9 KB) screenshot-gantt-ticket-relationsship.png Michael Diederich, 2009-06-02 12:27
gantt-relations-r10943.diff (12 KB) gantt-relations-r10943.diff Toshi MARUYAMA, 2012-12-05 11:49
gantt-relations-r10943.png (44 KB) gantt-relations-r10943.png Toshi MARUYAMA, 2012-12-05 11:49
gantt-relations-r10943-Ver2.diff (11.8 KB) gantt-relations-r10943-Ver2.diff Toshi MARUYAMA, 2012-12-05 12:37
gantt-relations-r10973.diff (12 KB) gantt-relations-r10973.diff Toshi MARUYAMA, 2012-12-10 11:04
gantt-relations-r10973-V2.diff (12 KB) gantt-relations-r10973-V2.diff Toshi MARUYAMA, 2012-12-10 13:17
gantt-relations-r11060.png (44.2 KB) gantt-relations-r11060.png Toshi MARUYAMA, 2012-12-20 07:43
gantt-relations-r11060.diff (12.9 KB) gantt-relations-r11060.diff Toshi MARUYAMA, 2012-12-20 07:43
gantt-relations-r11086.png (39.3 KB) gantt-relations-r11086.png Toshi MARUYAMA, 2012-12-28 05:27
gantt-relations-r11086.diff (18.6 KB) gantt-relations-r11086.diff Toshi MARUYAMA, 2012-12-28 05:27
ie7-issue-list.png (17.3 KB) ie7-issue-list.png Toshi MARUYAMA, 2013-01-05 08:45
ie8-gantt.png (24.1 KB) ie8-gantt.png Toshi MARUYAMA, 2013-01-05 10:38
ie8-about.png (38 KB) ie8-about.png Toshi MARUYAMA, 2013-01-05 10:38

Related issues

Related to Redmine - Feature #549: Indicate issue dependencies in ganttClosed

Actions
Related to Redmine - Feature #12122: Gantt progress lines (html only)ClosedToshi MARUYAMA

Actions
Actions #1

Updated by Yohann Monnier almost 15 years ago

+1 !

Actions #2

Updated by Stavros Korokithakis over 14 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.

Actions #3

Updated by Ochir Abushinov over 14 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?

Actions #4

Updated by Ochir Abushinov over 14 years ago

  • Assignee deleted (Jean-Philippe Lang)
Actions #5

Updated by S Reid over 14 years ago

+1

Actions #6

Updated by Ochir Abushinov over 14 years ago

Any news?

Actions #7

Updated by Ochir Abushinov over 14 years ago

up

Actions #8

Updated by Felix Faber over 13 years ago

+1

Actions #9

Updated by sebastian ovide over 13 years ago

+1

Actions #10

Updated by Mischa The Evil over 13 years ago

  • Category set to Gantt
Actions #11

Updated by Paul H over 13 years ago

+1

Actions #12

Updated by Sam Kuper over 13 years ago

+1

Actions #13

Updated by Michalis Miatidis over 13 years ago

+N (N->oo)

Actions #14

Updated by Kyle Plattner over 13 years ago

+1 for me too

Actions #15

Updated by Lionel TRESSENS about 13 years ago

+ 1
Need funding to accelerate this enhancement ? Tell me, my company may possibly fund it.

Actions #16

Updated by Mauro Gagna about 13 years ago

+1

Actions #17

Updated by Luis Serrano Aranda about 13 years ago

Try the plugin better gantt char

Actions #18

Updated by Fernando Hartmann about 13 years ago

+1

Actions #19

Updated by Alex Lazar almost 12 years ago

Are there any plans to make this work?

Actions #20

Updated by Oleg Kozlyuk over 11 years ago

+1

Actions #21

Updated by Daniel Felix over 11 years ago

+1 from me too

Actions #22

Updated by Toshi MARUYAMA over 11 years ago

This is a patch for trunk r10943.

Actions #23

Updated by Toshi MARUYAMA over 11 years ago

Sorry, note-22 patch has wrong html table tag.
This patch removed it.
This patch is for trunk r10943.

Actions #24

Updated by Etienne Massip over 11 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?

Actions #25

Updated by Toshi MARUYAMA over 11 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.

Actions #26

Updated by Toshi MARUYAMA over 11 years ago

I have removed unused variables from note-25 patch.

This is a patch for trunk r10973.

Actions #27

Updated by Jean-Philippe Lang over 11 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.

Actions #28

Updated by Etienne Massip over 11 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?

Actions #29

Updated by Toshi MARUYAMA about 11 years ago

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?

Actions #30

Updated by Daniel Felix about 11 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

Actions #31

Updated by Toshi MARUYAMA about 11 years ago

Daniel Felix wrote:

Maybe some broken arrow or an dotted arrow?

Done.

This is a patch for trunk r11086.

Actions #32

Updated by Daniel Felix about 11 years ago

Hi Toshi,

this works still good in r11114.

Maybe this patch could be interessting for you #12730.
It also changes some parts of the gantt-modul. This could be combined with your new addition. Maybe both could be merged to trunk?

Actions #33

Updated by Toshi MARUYAMA about 11 years ago

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.

Actions #34

Updated by Toshi MARUYAMA about 11 years ago

I confirmed this patch works on IE8.

Actions #35

Updated by Daniel Felix about 11 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.

See: http://theie7countdown.com/

Actions #36

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from New to Resolved
  • Resolution set to Fixed
I've committed Toshi's patch with a few changes:
  • 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!

Actions #37

Updated by Daniel Felix about 11 years ago

Thanks a lot for this implementation (Toshi and Jean-Philippe)!
This is realy helpful in bigger projects with much depencies!

Actions #38

Updated by Yasaf Burshan about 11 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.

Actions #39

Updated by Daniel Felix about 11 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.

Actions #40

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF