Project

General

Profile

Actions

Feature #27672

closed

Show selected columns in gantt chart

Feature #27672: Show selected columns in gantt chart

Added by Mizuki ISHIKAWA almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gantt
Target version:
Resolution:
Fixed

Description

I would like to select and show the necessary columns like issues/index.


Files

gantt_plan.png (248 KB) gantt_plan.png Mizuki ISHIKAWA, 2017-11-29 05:32
0002-Add-switch-the-display-for-selected-column.patch (7.12 KB) 0002-Add-switch-the-display-for-selected-column.patch Mizuki ISHIKAWA, 2018-02-23 08:03
0001-Show-selected-columns-on-gantt.patch (12.1 KB) 0001-Show-selected-columns-on-gantt.patch Mizuki ISHIKAWA, 2018-02-23 08:03
gantt.png (327 KB) gantt.png Mizuki ISHIKAWA, 2018-02-23 08:03
0003-Fix-changeable-items-on-the-queries-form.patch (4.13 KB) 0003-Fix-changeable-items-on-the-queries-form.patch Mizuki ISHIKAWA, 2018-03-19 09:26
0001~0003.patch (18.5 KB) 0001~0003.patch Mizuki ISHIKAWA, 2018-11-09 09:22
0001~0003-v2.patch (22.1 KB) 0001~0003-v2.patch Mizuki ISHIKAWA, 2019-04-24 06:43
0001~0003-v3.patch (21.9 KB) 0001~0003-v3.patch Mizuki ISHIKAWA, 2019-05-16 02:54
0001~0003-v4.patch (22.1 KB) 0001~0003-v4.patch Mizuki ISHIKAWA, 2019-05-16 04:07
duplicate-tracker@2x.png (27.6 KB) duplicate-tracker@2x.png Go MAEDA, 2019-05-16 05:03
fix-broken-style.patch (1.94 KB) fix-broken-style.patch Mizuki ISHIKAWA, 2019-05-17 02:48
ScreenShot-2019-05-17-9.27.26.png (97.8 KB) ScreenShot-2019-05-17-9.27.26.png Mizuki ISHIKAWA, 2019-05-17 02:49
ScreenShot-2019-05-17-9.28.27.png (124 KB) ScreenShot-2019-05-17-9.28.27.png Mizuki ISHIKAWA, 2019-05-17 02:49
fix-broken-style-v2.patch (2.15 KB) fix-broken-style-v2.patch Mizuki ISHIKAWA, 2019-05-17 03:26

Related issues 4 (0 open — 4 closed)

Related to Redmine - Feature #26409: Show assignee on ganttClosedActions
Related to Redmine - Patch #32019: Remove unnecessary scroll indicator from Gantt pageClosedGo MAEDAActions
Related to Redmine - Defect #33082: Links in the last column in gantt are unclickableClosedGo MAEDAActions
Related to Redmine - Defect #33724: Selected gantt columns are not displayed with MS Edge LegacyClosedGo MAEDAActions

Updated by Akipii Oga almost 9 years ago Actions #1

+1

Updated by Mizuki ISHIKAWA over 8 years ago Actions #2

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).

Updated by Mischa The Evil over 8 years ago Actions #3

Updated by Go MAEDA over 8 years ago Actions #4

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.

Updated by Mizuki ISHIKAWA over 8 years ago Actions #5

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.

Updated by Xiaofei Zheng over 8 years ago Actions #6

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

Updated by Mizuki ISHIKAWA about 8 years ago Actions #7

I fixed the patch.
  • Compatible the latest trunk. ( r17625 )
  • I put together three patch series into one.

Updated by Iwan Yudhistira almost 8 years ago Actions #8

how to run the patch in windows, thank you before

Updated by Mizuki ISHIKAWA almost 8 years ago Actions #9

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.

  1. Change into your Redmine directory (the one with app, test, and config folders)
  2. Download the patch file and place it in the same directory
  3. Run patch -p1 < PATCH_NAME.patch
  4. 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 .

Updated by Go MAEDA over 7 years ago Actions #10

  • Target version set to 4.1.0

Updated by Mizuki ISHIKAWA over 7 years ago Actions #11

Compatible the latest trunk. ( r18080 )

Updated by Go MAEDA over 7 years ago Actions #12

  • Assignee set to Mizuki ISHIKAWA

Mizuki ISHIKAWA wrote:

Compatible the latest trunk. ( r18080 )

Thank you for updating the patch. Unfortunately, the patch cannot be applied to the trunk after r18089. Sorry for bothering you but could you update the patch again?

Updated by Mizuki ISHIKAWA over 7 years ago Actions #13

Go MAEDA wrote:

Mizuki ISHIKAWA wrote:

Compatible the latest trunk. ( r18080 )

Thank you for updating the patch. Unfortunately, the patch cannot be applied to the trunk after r18089. Sorry for bothering you but could you update the patch again?

I attached the updated patch.

Updated by Mizuki ISHIKAWA over 7 years ago Actions #14

I changed to make span.query-columns disabled if draw_selected_columns is not checked.

Updated by Go MAEDA over 7 years ago Actions #15

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]

Updated by Mizuki ISHIKAWA over 7 years ago Actions #16

Go MAEDA wrote:

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?

I think that it is fine.

Updated by Go MAEDA over 7 years ago Actions #17

  • 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.

Updated by Go MAEDA over 7 years ago Actions #18

  • Subject changed from Show selected columns on gantt chart to Show selected columns in gantt chart

Updated by Mizuki ISHIKAWA over 7 years ago Actions #19

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:

Updated by Go MAEDA over 7 years ago Actions #20

Mizuki ISHIKAWA wrote:

I noticed that there is a place where the layout breaks down due to r18171.
I have attached a patch to fix the layout.

I have committed the fix in r18172. Thanks.

Updated by Mischa The Evil about 7 years ago Actions #22

  • Related to Patch #32019: Remove unnecessary scroll indicator from Gantt page added

Updated by Go MAEDA over 6 years ago Actions #23

  • Related to Defect #33082: Links in the last column in gantt are unclickable added

Updated by Go MAEDA over 6 years ago Actions #24

  • Related to Defect #33724: Selected gantt columns are not displayed with MS Edge Legacy added
Actions

Also available in: PDF Atom