プロジェクト

全般

プロフィール

Vote #65309

完了

Show relations in Gantt diagram

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Gantt_34
対象バージョン:
開始日:
2009/06/02
期日:
進捗率:

80%

予定工数:
category_id:
34
version_id:
60
issue_org_id:
3436
author_id:
5900
assigned_to_id:
0
comments:
40
status_id:
5
tracker_id:
2
plus1:
11
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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


journals

+1 !
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Any news?
--------------------------------------------------------------------------------
up
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+N (N->oo)
--------------------------------------------------------------------------------
+1 for me too
--------------------------------------------------------------------------------
+ 1
Need funding to accelerate this enhancement ? Tell me, my company may possibly fund it.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Try the plugin better gantt char
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Are there any plans to make this work?
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1 from me too
--------------------------------------------------------------------------------
This is a patch for trunk r10943.

!gantt-relations-r10943.png!
--------------------------------------------------------------------------------
Sorry, note-22 patch has wrong html table tag.
This patch removed it.
This patch is for trunk r10943.
--------------------------------------------------------------------------------
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?

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
I have removed unused variables from note-25 patch.

This is a patch for trunk r10973.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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?

--------------------------------------------------------------------------------
This is a patch for trunk r11060.

!gantt-relations-r11060.png!

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?
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
Daniel Felix wrote:
> Maybe some broken arrow or an dotted arrow?

Done.

!gantt-relations-r11086.png!

This is a patch for trunk r11086.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
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.

!ie7-issue-list.png!
--------------------------------------------------------------------------------
I confirmed this patch works on IE8.

--------------------------------------------------------------------------------
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/

--------------------------------------------------------------------------------
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!
--------------------------------------------------------------------------------
Thanks a lot for this implementation (Toshi and Jean-Philippe)!
This is realy helpful in bigger projects with much depencies!
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,549,Indicate issue dependencies in gantt
relates,Closed,12122,Gantt progress lines (html only)

Admin Redmine さんが約4年前に更新

  • カテゴリGantt_34 にセット
  • 対象バージョン2.3.0_60 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0