Project

General

Profile

Actions

Defect #43004

closed

Watchers list is not properly displayed in Gantt table

Defect #43004: Watchers list is not properly displayed in Gantt table

Added by Jaebok Oh over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Resolution:
Fixed
Affected version:

Description

In the Gantt, the item for issue watchers is displayed incorrectly.


Files

clipboard-202507141649-f6kph.png (141 KB) clipboard-202507141649-f6kph.png Jaebok Oh, 2025-07-14 09:49
43004-fix-for-watchers-in-gantt.patch (735 Bytes) 43004-fix-for-watchers-in-gantt.patch Marius BĂLTEANU, 2025-07-14 23:18
clipboard-202507150019-fdqoe.png (308 KB) clipboard-202507150019-fdqoe.png Marius BĂLTEANU, 2025-07-14 23:19
display-inline.gif (520 KB) display-inline.gif Mizuki ISHIKAWA, 2025-07-15 03:18

Updated by Marius BĂLTEANU over 1 year ago Actions #1

  • Status changed from New to Confirmed

Updated by Marius BĂLTEANU over 1 year ago Actions #2

One option to fix this is to display the watchers on the same line delimited by comma in the same way we display subprojects in project overview.

Updated by Mizuki ISHIKAWA over 1 year ago Actions #4

Marius BĂLTEANU wrote in #note-2:

One option to fix this is to display the watchers on the same line delimited by comma in the same way we display subprojects in project overview.

I confirmed that the issue was resolved by the 43004-fix-for-watchers-in-gantt.patch changes.

As a suggestion, how about applying the following change in addition to the patch from 43004-fix-for-watchers-in-gantt.patch?
This makes the behavior more consistent when resizing the column width. Of course, feel free to ignore this if it's out of scope for the current patch.

diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 0185ef771..088f5a00e 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1825,7 +1825,7 @@ td.gantt_watcher_users_column div.issue_watcher_users ul {
 }

 td.gantt_watcher_users_column div.issue_watcher_users ul li {
-  float: left;
+  display: inline;
 }

 td.gantt_watcher_users_column div.issue_watcher_users ul li:not(:last-child)::after {

Updated by Marius BĂLTEANU over 1 year ago Actions #5

  • Assignee set to Marius BĂLTEANU
  • Resolution set to Fixed

Committed the fix with the change proposed by Mizuki, thanks!

Updated by Marius BĂLTEANU over 1 year ago Actions #6

  • Status changed from Confirmed to Closed

Updated by Marius BĂLTEANU over 1 year ago Actions #7

  • Target version changed from Candidate for next minor release to 6.0.7

Updated by Go MAEDA over 1 year ago Actions #8

  • Subject changed from In the Gantt, the item for issue watchers is displayed incorrectly. to Watchers list is not properly displayed in Gantt table
Actions

Also available in: PDF Atom