プロジェクト

全般

プロフィール

Vote #76185

完了

Add a new query column for the parent task subject

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues list_58
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
58
version_id:
127
issue_org_id:
19371
author_id:
115781
assigned_to_id:
332
comments:
15
status_id:
5
tracker_id:
2
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

Admin Redmine さんが約4年前に更新

  • カテゴリIssues list_58 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0