Vote #76185
完了Add a new query column for the parent task subject
0%
説明
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?
journals
We are willing to implement this but need to know which way community wants to go...
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
It is a nice improvement. Here is a screenshot of this patch.
!screenshot.png!
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.
<pre><code class="diff">
===================================================================
--- 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;}
</code></pre>
--------------------------------------------------------------------------------
Jens, could you attach the test code if you already have it?
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
LGTM. Setting the target version to 4.1.0.
--------------------------------------------------------------------------------
Committed the patches. Thank you all for improving Redmine.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,13673,Parent issue column includes issue subject (making issue list unworkable wide)
relates,New,31734,Issue Information Not Being Transfered To CSV In Reports Tab Of Spent Time Section.
relates,Closed,33103,Export to PDF fails when subject of parent task is included in issue list
relates,Closed,33163,Parent task subject column should be in the same style as Subject column