https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-09-03T00:43:37ZRedmineRedmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199382010-09-03T00:43:37Zyusuke kokubo
<ul></ul><p>+1<br />looks nice.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199402010-09-03T04:10:45ZIgor Balk
<ul></ul><p>yusuke kokubo wrote:</p>
<blockquote>
<p>+1<br />looks nice.</p>
</blockquote>
<p>Agreed. Ultimately would be nice to make them editable ie have drag and drop functionality for tasks so you can move them around the chart with you mouse and it will get reflected in the issues.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199492010-09-03T11:50:18ZJean-Baptiste Barth
<ul></ul><p>Looks really nice ! I know some users at my work who are not really happy with current gantt charts, I will relay their feedback as soon as it's in trunk.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199512010-09-03T12:14:45ZCurtis Stewart
<ul></ul><p>We use the gantt charts all of the time. Versions are cross-cutting the projects and sub-projects and then we try to roll up to a top level application project. Having a good gantt at the top (like your picture) would really help. While not mentioned in your write-up, don't forget the filtering of tasks (I am sure that it was just cut off of your picture). One of the selling points of Redmine is the ability to filter and organize the issues the way I want, when I want.</p>
<p>If a version is shared outside of one project, how it is shown on the gantt? Do the issues stay with the version or the project on the display?</p>
<p>Do you need the ability to display the project or version on the text of the task or is it a mouse-over that displays the issue details?</p>
<p>Nice job.....</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199602010-09-03T15:16:56ZEric Davis
<ul></ul><p>Igor Balk wrote:</p>
<blockquote>
<p>Agreed. Ultimately would be nice to make them editable ie have drag and drop functionality for tasks so you can move them around the chart with you mouse and it will get reflected in the issues.</p>
</blockquote>
<p>That would be nice but since the charts are "drawn" using HTML spans, it would be difficult to write. I'd accept a patch for it though.</p>
<p>Curtis Stewart wrote:</p>
<blockquote>
<p>While not mentioned in your write-up, don't forget the filtering of tasks (I am sure that it was just cut off of your picture). One of the selling points of Redmine is the ability to filter and organize the issues the way I want, when I want.</p>
</blockquote>
<p>Yea, that's included. Before showing the issues they are filtered by the current Query.</p>
<blockquote>
<p>If a version is shared outside of one project, how it is shown on the gantt? Do the issues stay with the version or the project on the display?</p>
</blockquote>
<p>The shared version would appear under it's project. Then issues assigned to it will be shown. Example:</p>
<ul>
<li>Version 1.0 on Project A
<ul>
<li>Issue 100 (on Project A)</li>
<li>Issue 101 (on Project A)</li>
<li>Project B - Issue 102</li>
</ul></li>
</ul>
<blockquote>
<p>Do you need the ability to display the project or version on the text of the task or is it a mouse-over that displays the issue details?</p>
</blockquote>
<p>There are tooltips that appear when hovering on an issue (like the existing Gantt). I don't remember if Versions or Projects have tooltips also.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199612010-09-03T15:23:17ZArnaud Martel
<ul></ul><p>Great job!! <br />I didn't see subtasks but I suppose they are also displayed under the parent task... <br />I just have one wish: I had to patch the gantt controller to change the way items are ordered (id first, to have items sorted by creation date...) and it will be great if you add the ability to choose how items are sorted.<br />I will test it as soon as it's in trunk.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199632010-09-03T15:34:24ZCurtis Stewart
<ul></ul><p>Great.<br />Has long as I can figure out which project a task is under when we are doing version work this will really help.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199662010-09-03T17:13:10ZIgor Balk
<ul></ul><p>One more thing I would suggest adding is ability to display estimated time vs actual time or just estimated time</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199692010-09-03T18:49:19ZBruno Samora
<ul></ul><p>Eric, the Gantt looks perfect!</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=199722010-09-03T20:10:26ZIgor Balk
<ul></ul><p>Eric Davis wrote:</p>
<blockquote>
<p>Igor Balk wrote:</p>
<blockquote>
<p>Agreed. Ultimately would be nice to make them editable ie have drag and drop functionality for tasks so you can move them around the chart with you mouse and it will get reflected in the issues.</p>
</blockquote>
<p>That would be nice but since the charts are "drawn" using HTML spans, it would be difficult to write. I'd accept a patch for it though.</p>
</blockquote>
<p>We are thinking about redoing it using Ajax but still not sure about that. Might as well as just do REST client or plugin.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=201322010-09-10T03:11:13ZEric Davis
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the new Gantt chart in <a class="changeset" title="Rewrite the Gantt chart. #6276 This version of the Gantt chart supports nested charts. So Projec..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4072">r4072</a>, <a class="changeset" title="Add project names to the Versions in the Gantt export. #5904" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4073">r4073</a>, and <a class="changeset" title="Fixed the zoom, previous, and next links on the Gantt chart." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4074">r4074</a>.</p>
<p>If you find any bugs, <strong>please report them as new bugs and assign them to me</strong>. I want to make sure everything gets fixed and don't want to lose any new bug reports that might be posted to this issue.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=201372010-09-10T04:24:23ZRodrigo Guerrero
<ul></ul><p>Eric, I update redmine and show me this error with I try to see the gantt:</p>
<p>Processing GanttsController#show (for 192.168.0.100 at 2010-09-10 08:48:46) [GET]<br /> Parameters: {"project_id"=>"TT-09-637-F", "action"=>"show", "controller"=>"gantts"}<br />Rendering template within layouts/base<br />Rendering gantts/show</p>
<p>ActionView::TemplateError (undefined method `<=' for nil:NilClass) on line <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: public/.htaccess lacks support for mod_fcgid and adds handlers without checking for their existance (Closed)" href="https://www.redmine.org/issues/155">#155</a> of app/views/gantts/show.html.erb:<br />152:<br />153: <% top = headers_height + 10 <span>><br />154:<br />155: <</span>= @gantt.lines(:top => top, :zoom => zoom, :g_width => g_width ) <span>><br />156:<br />157: <</span><br />158: #</p>
<pre><code>lib/redmine/helpers/gantt.rb:301:in `line_for_project'<br /> lib/redmine/helpers/gantt.rb:172:in `render_project'<br /> lib/redmine/helpers/gantt.rb:194:in `render_project'<br /> lib/redmine/helpers/gantt.rb:193:in `render_project'<br /> lib/redmine/helpers/gantt.rb:151:in `lines'<br /> app/views/gantts/show.html.erb:155<br /> app/controllers/gantts_controller.rb:26<br /> app/controllers/gantts_controller.rb:25:in `show'<br /> passenger (2.2.9) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'<br /> passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler'<br /> passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application'<br /> passenger (2.2.9) lib/phusion_passenger/utils.rb:184:in `safe_fork'<br /> passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `__send__'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:163:in `start'<br /> passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:209:in `start'<br /> passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'<br /> passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'<br /> passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'<br /> passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'<br /> passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `__send__'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'<br /> passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'</code></pre>
<p>Rendering /redmine_ny2/public/500.html (500 Internal Server Error)</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=201522010-09-10T10:24:45ZIgor Kalashnikov
<ul></ul><p>The same for me. Error is thrown not on all projects.</p>
<pre>
Processing GanttsController#show (for 172.16.1.195 at 2010-09-10 14:22:47) [GET]
Parameters: {"action"=>"show", "controller"=>"gantts"}
Rendering template within layouts/base
Rendering gantts/show
ActionView::TemplateError (undefined method `<=' for nil:NilClass) on line #155 of app/views/gantts/show.html.erb:
152:
153: <% top = headers_height + 10 %>
154:
155: <%= @gantt.lines(:top => top, :zoom => zoom, :g_width => g_width ) %>
156:
157: <%
158: #
lib/redmine/helpers/gantt.rb:301:in `line_for_project'
lib/redmine/helpers/gantt.rb:172:in `render_project'
lib/redmine/helpers/gantt.rb:194:in `render_project'
lib/redmine/helpers/gantt.rb:193:in `render_project'
lib/redmine/helpers/gantt.rb:154:in `lines'
lib/redmine/helpers/gantt.rb:153:in `lines'
app/views/gantts/show.html.erb:155
app/controllers/gantts_controller.rb:26:in `show'
app/controllers/gantts_controller.rb:25:in `show'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/site_ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Rendering /opt/redmine/public/500.html (500 Internal Server Error)
</pre> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=201562010-09-10T12:26:11ZAnonymous
<ul></ul><p>This happens when <strong>none</strong> of the issues in a project have a <strong>due date</strong> set. I created a quick patch, see also Issue <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: New Gantt charts : 500 error when no issue have a due date (Closed)" href="https://www.redmine.org/issues/6350">#6350</a></p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=201582010-09-10T14:38:07ZEric Davis
<ul></ul><p>Eric Davis wrote:</p>
<blockquote>
<p>If you find any bugs, <strong>please report them as new bugs and assign them to me</strong>. I want to make sure everything gets fixed and don't want to lose any new bug reports that might be posted to this issue.</p>
</blockquote>
<p><strong>Please please please, open new issues if you find bugs</strong>. I cannot stress this enough. Posting the bugs to this issue will cause them to get lost, and then they will help no one.</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=206932010-09-25T04:25:47ZMischa The Evil
<ul></ul><p>Eric Davis wrote:</p>
<blockquote>
<p>Igor Balk wrote:</p>
<blockquote>
<p>Agreed. Ultimately would be nice to make them editable ie have drag and drop functionality for tasks so you can move them around the chart with you mouse and it will get reflected in the issues.</p>
</blockquote>
<p>That would be nice but since the charts are "drawn" using HTML spans, it would be difficult to write. I'd accept a patch for it though.</p>
</blockquote>
<p>Eric, have you reviewed the patches from <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: gantt chart editing (New)" href="https://www.redmine.org/issues/2024">#2024</a>? Would such be easy to adopt and maintained post Gantt-rewrite?</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=256172011-02-25T09:11:49ZPavel Shalagin
<ul><li><strong>File</strong> <a href="/attachments/5469">gantt.rb-1day-coloring.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5469/gantt.rb-1day-coloring.patch">gantt.rb-1day-coloring.patch</a> added</li></ul><p>Eric, thank you very much for the Gantt update - like it much better than the previous one.</p>
<p>Don't know if it can be considered as a problem, but -<br />the tasks with the same start_date and end_date seems not to be colored of progress and late correctly on the diagram. They all are just grey.</p>
<p>I would suggest some changes (please see the patch).</p>
<p>Cheers,<br />Pavel</p> Redmine - Feature #6276: Gantt Chart rewritehttps://www.redmine.org/issues/6276?journal_id=799882017-07-13T07:21:10ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/4786">Feature #4786</a>: Gantt Chart - Grouping issues by target version</i> added</li></ul>