Feature #19371

Add a new query column for the parent task subject

Added by Sebastian Paluch over 4 years ago. Updated 2 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Issues list
Target version:4.1.0
Resolution:Fixed

Description

The change done to #13673 broke a lot for us... and would like that to be reverted.

Seeing only parent issue number makes the column useless because we do not know what the parent is about :/ often parent subject contains general information (e.g. test A) and then more details in subtasks (e.g. prepare setup, make report, etc.), now I see only few tasks like prepare setup with no information what the setup is for :/

Wasn't better fix for this provided in #19120 and in note #13673#note-13? Or maybe an option in settings or additional column for parent subject?

0001-adds-a-new-query-column-for-the-parent-task-subject-.patch Magnifier (1.71 KB) Jens Krämer, 2019-01-21 10:56

screenshot.png (9.85 KB) Go MAEDA, 2019-01-21 13:15

add-test-for-the-parent-task-subject.patch Magnifier (989 Bytes) Yuichi HARADA, 2019-04-10 07:16


Related issues

Related to Redmine - Defect #13673: Parent issue column includes issue subject (making issue ... Closed

Associated revisions

Revision 18078
Added by Go MAEDA 2 months ago

Adds a new query column for the parent task subject (#19371).

Patch by Jens Krämer.

Revision 18079
Added by Go MAEDA 2 months ago

Test for r18078 (#19371).

Patch by Yuichi HARADA.

Revision 18080
Added by Go MAEDA 2 months ago

Update locales (#19371).

History

#1 Updated by Sebastian Paluch over 4 years ago

We are willing to implement this but need to know which way community wants to go...

#2 Updated by Francois Lamarre almost 4 years ago

Since the community is divided on this one, why not take the simple approach: 2 columns.

1-parent ID
2-parent name

That way, people can choose the one they want and can even have different ways to show it in different filters.

#4 Updated by Jonatã Bolzan Loss over 2 years ago

+1

#5 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Defect #13673: Parent issue column includes issue subject (making issue list unworkable wide) added

#6 Updated by Jens Krämer 5 months ago

Here's a simple patch that adds a new Parent issue subject query column to issue queries. This would give users an easy way to add the parent subject to queries.

#7 Updated by Go MAEDA 5 months ago

  • File screenshot.png added
  • Target version set to Candidate for next major release

It is a nice improvement. Here is a screenshot of this patch.

I think it will be even better to style the td.parent-subject with "{white-space: normal;}" to prevent long subjects to break the appearance.

===================================================================
--- public/stylesheets/application.css    (revision 17836)
+++ public/stylesheets/application.css    (working copy)
@@ -260,7 +260,7 @@
 tr.project.idnt-9 td.name {padding-left: 12.5em;}

 tr.issue { text-align: center; white-space: nowrap; }
-tr.issue td.subject, tr.issue td.category, td.assigned_to, td.last_updated_by, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent { white-space: normal; }
+tr.issue td.subject, tr.issue td.category, td.assigned_to, td.last_updated_by, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent, td.parent-subject { white-space: normal; }
 tr.issue td.relations { text-align: left; }
 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
 tr.issue td.relations span {white-space: nowrap;}

#8 Updated by Go MAEDA 5 months ago

Jens, could you attach the test code if you already have it?

#9 Updated by Go MAEDA 3 months ago

  • Subject changed from Provide better solution for long parent subject on issue list per #13673 to Add a new query column for the parent task subject

#10 Updated by Yuichi HARADA 3 months ago

Go MAEDA wrote:

Jens, could you attach the test code if you already have it?

I created a test. Attach a patch.


Go MAEDA wrote:

I think it will be even better to style the td.parent-subject with "{white-space: normal;}" to prevent long subjects to break the appearance.

+1
Certainly long strings break the layout of the issue list.

#11 Updated by Go MAEDA 2 months ago

  • Category changed from UI to Issues list
  • Target version changed from Candidate for next major release to 4.1.0

LGTM. Setting the target version to 4.1.0.

#12 Updated by Go MAEDA 2 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patches. Thank you all for improving Redmine.

Also available in: Atom PDF