Feature #27672
Show selected columns in gantt chart
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Gantt | |||
Target version: | 4.1.0 | |||
Resolution: | Fixed |
Description
I would like to select and show the necessary columns like issues/index.
Related issues
Associated revisions
Show selected columns in gantt chart (#27672).
Patch by Mizuki ISHIKAWA.
Fix a misspelled CSS property name (#27672).
History
#1
Updated by Akipii Oga about 3 years ago
+1
#2
Updated by Mizuki ISHIKAWA almost 3 years ago
- File 0001-Show-selected-columns-on-gantt.patch
added
- File 0002-Add-switch-the-display-for-selected-column.patch
added
- File gantt.png added
In the current Gantt chart, you can see information on the issue by using tooltips.
However, I would like to see that information without having to move the cursor.
I tried to write code to realize this feature.
0001-Show-selected-columns-on-gantt.patch increases the number of columns of the Gantt chart based on the column set to Query like the issues/index.
0002-Add-switch-the-display-for-selected-column.patch adds the ability to turn column display on or off (default is off).
#3
Updated by Mischa The Evil almost 3 years ago
- Related to Feature #26409: Show assignee on gantt added
#4
Updated by Go MAEDA almost 3 years ago
This is a very interesting patch.
But I found that selected columns cannot be saved in a custom query. The behavior is inconsistent with issues list.
#5
Updated by Mizuki ISHIKAWA almost 3 years ago
Thank you for reviewing, Go MAEDA.
Go MAEDA wrote:
This is a very interesting patch.
But I found that selected columns cannot be saved in a custom query. The behavior is inconsistent with issues list.
I think that the problem can be solved by the attached 0003-Fix-changeable-items-on-the-queries-form.patch.
When saving the custom query from the Gantt chart, it was not possible to change the selected column, so we made it changeable.
#6
Updated by Xiaofei Zheng over 2 years ago
Hello,
Could I know the current status of this new feature?
We want to show assignee and category on gantt chart and also group by this column.
Is this feature in progress?
Best regards,
Xiaofei Zheng
#7
Updated by Mizuki ISHIKAWA about 2 years ago
- File 0001~0003.patch
added
- Compatible the latest trunk. ( r17625 )
- I put together three patch series into one.
#8
Updated by Iwan Yudhistira about 2 years ago
how to run the patch in windows, thank you before
#9
Updated by Mizuki ISHIKAWA about 2 years ago
Iwan Yudhistira wrote:
how to run the patch in windows, thank you before
You should be able to apply the patch in the following way.
- Change into your Redmine directory (the one with app, test, and config folders)
- Download the patch file and place it in the same directory
- Run patch -p1 < PATCH_NAME.patch
- Check the messages for any errors.
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.
Maintenance is difficult, so applying the patch is not recommended.
If patches can not be applied in this way, please ask for help in the forum .
#10
Updated by Go MAEDA almost 2 years ago
- Target version set to 4.1.0
#11
Updated by Mizuki ISHIKAWA over 1 year ago
- File 0001~0003-v2.patch
added
Compatible the latest trunk. ( r18080 )
#12
Updated by Go MAEDA over 1 year ago
- Assignee set to Mizuki ISHIKAWA
#13
Updated by Mizuki ISHIKAWA over 1 year ago
- File 0001~0003-v3.patch
added
#14
Updated by Mizuki ISHIKAWA over 1 year ago
- File 0001~0003-v4.patch
added
I changed to make span.query-columns disabled if draw_selected_columns is not checked.
#15
Updated by Go MAEDA over 1 year ago
- File duplicate-tracker@2x.png added
I think it is better to add :tracker
to UNAVAILABLE_COLUMNS
constant in lib/redmine/helpers/gantt.rb
because also tracker names are shown in the subject column. What do you think?
UNAVAILABLE_COLUMNS = [:id, :subject, :tracker]
#16
Updated by Mizuki ISHIKAWA over 1 year ago
Go MAEDA wrote:
I think it is better to add
:tracker
toUNAVAILABLE_COLUMNS
constant inlib/redmine/helpers/gantt.rb
because also tracker names are shown in the subject column. What do you think?
I think that it is fine.
#17
Updated by Go MAEDA over 1 year ago
- Status changed from New to Closed
- Assignee changed from Mizuki ISHIKAWA to Go MAEDA
- Resolution set to Fixed
Committed the patch. Thank you for the great improvement.
#18
Updated by Go MAEDA over 1 year ago
- Subject changed from Show selected columns on gantt chart to Show selected columns in gantt chart
#19
Updated by Mizuki ISHIKAWA over 1 year ago
- File fix-broken-style.patch
added
- File ScreenShot-2019-05-17-9.27.26.png added
- File ScreenShot-2019-05-17-9.28.27.png added
I noticed that there is a place where the layout breaks down due to r18171.
I have attached a patch to fix the layout.
Targets of fix:
#20
Updated by Go MAEDA over 1 year ago
#21
Updated by Mizuki ISHIKAWA over 1 year ago
- File fix-broken-style-v2.patch
added
#22
Updated by Mischa The Evil over 1 year ago
- Related to Patch #32019: Remove unnecessary scroll indicator from Gantt page added
#23
Updated by Go MAEDA 11 months ago
- Related to Defect #33082: Links in the last column in gantt are unclickable added
#24
Updated by Go MAEDA 6 months ago
- Related to Defect #33724: Selected gantt columns are not displayed with MS Edge Legacy added