https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-09-16T17:57:51ZRedmineRedmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=203902010-09-16T17:57:51ZEric Davis
<ul><li><strong>Category</strong> set to <i>Gantt</i></li><li><strong>Assignee</strong> deleted (<del><i>Eric Davis</i></del>)</li></ul><p>It would be possible but it will take a lot of work because of how the Gantt chart is rendered. If someone wants to work on this, I'd be happy to review a patch for it.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=271822011-03-27T11:27:08ZHans Bangkok
<ul></ul><p>+1 I've got a lot of Versions (non-software PM "milestones")</p>
<p>At least being able to collapse the Roadmap's version sections would be start - and probably easier?</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=322132011-09-13T15:21:47ZPierluigi Soana
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=376392012-04-24T07:58:47ZArtem Tykhonov
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=376462012-04-24T11:31:15ZCassiano Monteiro
<ul></ul><p>+1!</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=376962012-04-26T02:48:27ZTerence Mill
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=377632012-04-28T14:36:26ZRobert Johnson
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=409062012-09-14T10:11:22ZLuis Serrano Aranda
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=471642013-03-20T16:07:46ZDipan Mehta
<ul></ul><p>This is a duplication of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Gantt Chart: Show/Hide Right Menu (Closed)" href="https://www.redmine.org/issues/1294">#1294</a> which is closed in favor of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Collapsible Sidebar (Closed)" href="https://www.redmine.org/issues/12032">#12032</a> + <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: A new button to hide/show the sidebar (Closed)" href="https://www.redmine.org/issues/10525">#10525</a>.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=474082013-03-25T08:36:59ZToshi MARUYAMA
<ul></ul><p>Dipan Mehta wrote:</p>
<blockquote>
<p>This is a duplication of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Gantt Chart: Show/Hide Right Menu (Closed)" href="https://www.redmine.org/issues/1294">#1294</a> which is closed in favor of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Collapsible Sidebar (Closed)" href="https://www.redmine.org/issues/12032">#12032</a> + <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: A new button to hide/show the sidebar (Closed)" href="https://www.redmine.org/issues/10525">#10525</a>.</p>
</blockquote>
<p>No. This issue is "collapse/expand in Gantt chart" like Redmine SCM browser.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=559792014-04-22T10:34:03ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/11636">Feature #11636</a>: tree structure of Gantt</i> added</li></ul> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=559802014-04-22T10:34:37ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-5 priority-high2" href="/issues/8897">Feature #8897</a>: Be able to reorder tasks/issues in the Gantt chart</i> added</li></ul> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=594582014-10-28T20:28:36ZJames H
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=693482016-02-19T10:09:35ZAlexander Mikheyev
<ul></ul><p>Hi all,<br />is any progress on collapse/expand Gantt tasks hierarchy?</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=757912017-01-10T06:33:10ZFlorian Riedel
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=801112017-07-18T15:47:38ZMischa The Evil
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/26467">Feature #26467</a>: expand & collapse gantt chart list</i> added</li></ul> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=801192017-07-19T06:54:04ZRanda Bustami
<ul></ul><p>Hi All,<br />is there a chance to make it soon pls ?</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=820782017-11-13T02:20:22ZMizuki ISHIKAWA
<ul></ul><p>+1</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=896842019-01-31T02:41:38ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/22327">expand_gantt.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22327/expand_gantt.png">expand_gantt.png</a> added</li><li><strong>File</strong> <a href="/attachments/22328">collapse_gantt.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22328/collapse_gantt.png">collapse_gantt.png</a> added</li><li><strong>File</strong> <a href="/attachments/22329">6417-collapse-expand-gantt.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22329/6417-collapse-expand-gantt.patch">6417-collapse-expand-gantt.patch</a> added</li></ul><p>I created the function collapse/expand of the Gantt chart.<br />I attached a patch.</p>
<p><strong>[Expand]</strong><br /><img src="https://www.redmine.org/attachments/download/22327/expand_gantt.png" style="width:800px;border:1px solid #ccc;" alt="" /></p>
<p><strong>[Collapse]</strong><br /><img src="https://www.redmine.org/attachments/download/22328/collapse_gantt.png" style="width:800px;border:1px solid #ccc;" alt="" /></p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=897172019-02-02T06:11:53ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=903982019-02-24T12:30:46ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.1.0</i></li></ul><p>LGTM. It is an excellent improvement. Setting the target version to 4.1.0.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=904152019-02-25T13:06:03ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/22511">virtical-alignment@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22511/virtical-alignment@2x.png">virtical-alignment@2x.png</a> added</li></ul><p>After applying the patch, objects in the same indentation level are not horizontally aligned. Please see the screenshot below. Could you check the patch?</p>
<p><img src="https://www.redmine.org/attachments/download/22511/virtical-alignment@2x.png" srcset="https://www.redmine.org/attachments/download/22511/virtical-alignment@2x.png 2x" style="width: 332px;border: 1px solid #ccc;" alt="" /></p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905432019-03-04T04:41:09ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/22558">6417-collapse-expand-gantt-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22558/6417-collapse-expand-gantt-v2.patch">6417-collapse-expand-gantt-v2.patch</a> added</li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>After applying the patch, objects in the same indentation level are not horizontally aligned. Please see the screenshot below. Could you check the patch?</p>
</blockquote>
<p>I adjusted the horizontal position. #html_subject method's <code>params</code> is the Hash object. Because we inherited <code>params[:indent]</code> (Horizontal position), the calculation result of <code>params[:indent]</code> of the new parent hierarchy was wrong.<br />I rebuilt the patch.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905442019-03-04T05:00:34ZGo MAEDA
<ul></ul><p>I confirmed that all issues in the previous patch have been fixed. Thank you for working on this. I will commit this patch within a few days.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905572019-03-04T12:07:56ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you for your contribution.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905582019-03-04T12:08:40ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Allow collapse/expand in Gantt chart</i> to <i>Allow collapse/expand in gantt chart</i></li></ul> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905602019-03-04T12:47:45ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li><li><strong>Resolution</strong> deleted (<del><i>Fixed</i></del>)</li></ul><p>The patch breaks GanttHelperTest. Could you fix the failing tests?</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905702019-03-05T02:50:54ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/22566">6417-collapse-expand-gantt-v3.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22566/6417-collapse-expand-gantt-v3.patch">6417-collapse-expand-gantt-v3.patch</a> added</li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>The patch breaks GanttHelperTest. Could you fix the failing tests?</p>
</blockquote>
<p>Sorry, I fixed the failed tests.<br />I rebuilt a patch.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=905872019-03-05T15:50:14ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed. Thanks.</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=911582019-04-08T10:57:22ZAbc4329803 ZHE
<ul></ul><p>[root@host plugins]# patch /-p0 < 6417-collapse-expand-gantt-v3.patch <br />can't find file to patch at input line 5<br />Perhaps you used the wrong /-p or /-/-strip option?<br />The text leading up to this was:<br />--------------------------
|diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
|index 90f6a85fa..a51abdcde 100644
|--- a/app/views/gantts/show.html.erb
|+++ b/app/views/gantts/show.html.erb<br />--------------------------</p>
<p>My redmine version is 3.4.</p>
<p>Why I have this problem?</p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=912152019-04-12T20:25:25ZMatt M
<ul></ul><p>I just applied the patch to a 4.0.2 install, I noticed an issue though collapsing, I have a very complex hierarchy and this patch completely disrupts it. I.E. a sub-project of a sub-project of a primary project gets lumped under the version of the sub-project, and is not collapsible, which causes issues with the rendering of the hierarchy and collapsing further down, I.E. collapsing a sub-project encapsulates the last sub-project within the main project. <del>I would put pics but my layout is complex :)</del> I got a pic to show an example.</p>
<p>In this pic if I collapse Mechanical Design then software will disappear, even though they are inline projects.</p>
<p><img src="https://www.dropbox.com/s/3ftkzp7rg06lepd/Screenshot%202019-04-12%2013.27.34.png?raw=1" alt="" /></p> Redmine - Feature #6417: Allow collapse/expand in gantt charthttps://www.redmine.org/issues/6417?journal_id=957492020-01-16T03:39:41ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/32812">Defect #32812</a>: Clicking on a parent object in gantt wrongly collapses objects at the same level</i> added</li></ul>