https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292017-12-20T06:54:10ZRedmineRedmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=827202017-12-20T06:54:10ZAkipii Oga
<ul></ul><p>+1</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=836952018-02-23T07:39:37ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/20147">0001-Show-selected-columns-on-gantt.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/20147/0001-Show-selected-columns-on-gantt.patch">0001-Show-selected-columns-on-gantt.patch</a> added</li><li><strong>File</strong> <a href="/attachments/20146">0002-Add-switch-the-display-for-selected-column.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/20146/0002-Add-switch-the-display-for-selected-column.patch">0002-Add-switch-the-display-for-selected-column.patch</a> added</li><li><strong>File</strong> <a href="/attachments/20148">gantt.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/20148/gantt.png">gantt.png</a> added</li></ul><p>In the current Gantt chart, you can see information on the issue by using tooltips.<br />However, I would like to see that information without having to move the cursor.</p>
<p>I tried to write code to realize this feature.<br /><a class="attachment" href="https://www.redmine.org/attachments/20147">0001-Show-selected-columns-on-gantt.patch</a> increases the number of columns of the Gantt chart based on the column set to Query like the issues/index.<br /><a class="attachment" href="https://www.redmine.org/attachments/20146">0002-Add-switch-the-display-for-selected-column.patch</a> adds the ability to turn column display on or off (default is off).</p>
<p><img src="https://www.redmine.org/attachments/download/20148/gantt.png" style="width: 70%;border:1px solid #ccc;" alt="" /></p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=837082018-02-23T23:57:40ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/26409">Feature #26409</a>: Show assignee on gantt</i> added</li></ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=837792018-02-26T08:34:57ZGo MAEDA
<ul></ul><p>This is a very interesting patch.</p>
<p>But I found that selected columns cannot be saved in a custom query. The behavior is inconsistent with issues list.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=840412018-03-19T08:31:41ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/20295">0003-Fix-changeable-items-on-the-queries-form.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/20295/0003-Fix-changeable-items-on-the-queries-form.patch">0003-Fix-changeable-items-on-the-queries-form.patch</a> added</li></ul><p>Thank you for reviewing, Go MAEDA.</p>
<p>Go MAEDA wrote:</p>
<blockquote>
<p>This is a very interesting patch.</p>
<p>But I found that selected columns cannot be saved in a custom query. The behavior is inconsistent with issues list.</p>
</blockquote>
<p>I think that the problem can be solved by the attached <a class="attachment" href="https://www.redmine.org/attachments/20295">0003-Fix-changeable-items-on-the-queries-form.patch</a>.<br />When saving the custom query from the Gantt chart, it was not possible to change the selected column, so we made it changeable.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=855392018-06-14T02:10:17ZXiaofei Zheng
<ul></ul><p>Hello,</p>
<p>Could I know the current status of this new feature?<br />We want to show assignee and category on gantt chart and also group by this column.</p>
<p>Is this feature in progress?</p>
<p>Best regards,<br />Xiaofei Zheng</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=883242018-11-09T08:22:10ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/21784">0001~0003.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/21784/0001~0003.patch">0001~0003.patch</a> added</li></ul>I fixed the patch.
<ul>
<li>Compatible the latest trunk. ( <a class="changeset" title="Strip whitespace from integer custom field (#8317). Patch by Go MAEDA." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/17625">r17625</a> )</li>
<li>I put together three patch series into one.</li>
</ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=885992018-11-29T09:55:02ZIwan Yudhistira
<ul></ul><p>how to run the patch in windows, thank you before</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=887182018-12-03T00:59:28ZMizuki ISHIKAWA
<ul></ul><p>Iwan Yudhistira wrote:</p>
<blockquote>
<p>how to run the patch in windows, thank you before</p>
</blockquote>
<p>You should be able to apply the patch in the following way.</p>
<ol>
<li>Change into your Redmine directory (the one with app, test, and config folders)</li>
<li>Download the patch file and place it in the same directory</li>
<li>Run patch -p1 < PATCH_NAME.patch</li>
<li>Check the messages for any errors.</li>
</ol>
<p>Some errors might occur because there are changes to the same areas of code. If you are familiar with merging code, you can try to merge the changes.<br />Maintenance is difficult, so applying the patch is not recommended.<br />If patches can not be applied in this way, please ask for help in the <a href="http://www.redmine.org/projects/redmine/boards/2" class="external">forum</a> .</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=907422019-03-14T13:36:48ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>4.1.0</i></li></ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=913322019-04-24T04:43:49ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/22860">0001~0003-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22860/0001~0003-v2.patch">0001~0003-v2.patch</a> added</li></ul><p>Compatible the latest trunk. ( <a class="changeset" title="Update locales (#19371)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18080">r18080</a> )</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=915582019-05-06T04:40:22ZGo MAEDA
<ul><li><strong>Assignee</strong> set to <i>Mizuki ISHIKAWA</i></li></ul><p>Mizuki ISHIKAWA wrote:</p>
<blockquote>
<p>Compatible the latest trunk. ( <a class="changeset" title="Update locales (#19371)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18080">r18080</a> )</p>
</blockquote>
<p>Thank you for updating the patch. Unfortunately, the patch cannot be applied to the trunk after <a class="changeset" title="Fix gaps in resizable gantt chart (#31268). Patch by Felix Gliesche." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18089">r18089</a>. Sorry for bothering you but could you update the patch again?</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=917872019-05-16T00:55:13ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/23091">0001~0003-v3.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23091/0001~0003-v3.patch">0001~0003-v3.patch</a> added</li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>Mizuki ISHIKAWA wrote:</p>
<blockquote>
<p>Compatible the latest trunk. ( <a class="changeset" title="Update locales (#19371)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18080">r18080</a> )</p>
</blockquote>
<p>Thank you for updating the patch. Unfortunately, the patch cannot be applied to the trunk after <a class="changeset" title="Fix gaps in resizable gantt chart (#31268). Patch by Felix Gliesche." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18089">r18089</a>. Sorry for bothering you but could you update the patch again?</p>
</blockquote>
<p>I attached the updated patch.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=917902019-05-16T02:08:00ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/23093">0001~0003-v4.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23093/0001~0003-v4.patch">0001~0003-v4.patch</a> added</li></ul><p>I changed to make span.query-columns disabled if draw_selected_columns is not checked.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=917932019-05-16T03:05:31ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/23094">duplicate-tracker@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23094/duplicate-tracker@2x.png">duplicate-tracker@2x.png</a> added</li></ul><p>I think it is better to add <code>:tracker</code> to <code>UNAVAILABLE_COLUMNS</code> constant in <code>lib/redmine/helpers/gantt.rb</code> because also tracker names are shown in the subject column. What do you think?</p>
<pre><code class="ruby syntaxhl"> <span class="no">UNAVAILABLE_COLUMNS</span> <span class="o">=</span> <span class="p">[</span><span class="ss">:id</span><span class="p">,</span> <span class="ss">:subject</span><span class="p">,</span> <span class="ss">:tracker</span><span class="p">]</span>
</code></pre>
<p><img src="https://www.redmine.org/attachments/download/23094/duplicate-tracker@2x.png" srcset="https://www.redmine.org/attachments/download/23094/duplicate-tracker@2x.png 2x" style="width: 529px;border: 1px solid #ccc;" alt="" /></p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=917952019-05-16T04:04:43ZMizuki ISHIKAWA
<ul></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>I think it is better to add <code>:tracker</code> to <code>UNAVAILABLE_COLUMNS</code> constant in <code>lib/redmine/helpers/gantt.rb</code> because also tracker names are shown in the subject column. What do you think?</p>
</blockquote>
<p>I think that it is fine.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=918152019-05-16T21:55:43ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> changed from <i>Mizuki ISHIKAWA</i> to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you for the great improvement.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=918162019-05-16T21:56:20ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Show selected columns on gantt chart</i> to <i>Show selected columns in gantt chart</i></li></ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=918172019-05-17T00:52:01ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/23100">fix-broken-style.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23100/fix-broken-style.patch">fix-broken-style.patch</a> added</li><li><strong>File</strong> <a href="/attachments/23101">ScreenShot-2019-05-17-9.27.26.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23101/ScreenShot-2019-05-17-9.27.26.png">ScreenShot-2019-05-17-9.27.26.png</a> added</li><li><strong>File</strong> <a href="/attachments/23102">ScreenShot-2019-05-17-9.28.27.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23102/ScreenShot-2019-05-17-9.28.27.png">ScreenShot-2019-05-17-9.28.27.png</a> added</li></ul><p>I noticed that there is a place where the layout breaks down due to <a class="changeset" title="Show selected columns in gantt chart (#27672). Patch by Mizuki ISHIKAWA." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18171">r18171</a>.<br />I have attached a patch to fix the layout.</p>
<p>Targets of fix:</p>
<p><img src="https://www.redmine.org/attachments/download/23101/ScreenShot-2019-05-17-9.27.26.png" style="width: 100px;border: 1px solid #ccc;" alt="" /></p>
<p><img src="https://www.redmine.org/attachments/download/23102/ScreenShot-2019-05-17-9.28.27.png" style="width: 300px;border: 1px solid #ccc;" alt="" /></p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=918182019-05-17T01:25:48ZGo MAEDA
<ul></ul><p>Mizuki ISHIKAWA wrote:</p>
<blockquote>
<p>I noticed that there is a place where the layout breaks down due to <a class="changeset" title="Show selected columns in gantt chart (#27672). Patch by Mizuki ISHIKAWA." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18171">r18171</a>.<br />I have attached a patch to fix the layout.</p>
</blockquote>
<p>I have committed the fix in <a class="changeset" title="Fix broken gantt layout due to r18171 (#27672). Patch by Mizuki ISHIKAWA." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18172">r18172</a>. Thanks.</p> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=918192019-05-17T01:26:13ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/23103">fix-broken-style-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23103/fix-broken-style-v2.patch">fix-broken-style-v2.patch</a> added</li></ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=935242019-09-05T04:03:11ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/32019">Patch #32019</a>: Remove unnecessary scroll indicator from Gantt page</i> added</li></ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=965302020-03-03T08:13:01ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/33082">Defect #33082</a>: Links in the last column in gantt are unclickable</i> added</li></ul> Redmine - Feature #27672: Show selected columns in gantt charthttps://www.redmine.org/issues/27672?journal_id=985292020-07-13T12:17:59ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/33724">Defect #33724</a>: Selected gantt columns are not displayed with MS Edge Legacy</i> added</li></ul>