プロジェクト

全般

プロフィール

Vote #80237

完了

Add "behind-schedule" CSS class to issues

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
2
version_id:
152
issue_org_id:
31881
author_id:
332
assigned_to_id:
332
comments:
9
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

"behind-schedule" class, which is already available in gantt, indicates that the issue is behind the schedule. This means that the done ratio is lower than expected.

In gantt, "behind-schedule" issues are shown in orange color. I think also issues list and issue detail page should have "behind-schedule" class in order to be able to implement the same coloring as gantt.

It is beneficial for project management to warn before the deadline is over.


journals

Here is a patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Updated the patch.

Changing the appearance is controversial, so I would like to just add a CSS class. UI changes should be discussed in a new issue.
--------------------------------------------------------------------------------
+1 It's a nice improvement and makes the modules more consistent.
Also a good indicator if an issue needs a bit of attention.
--------------------------------------------------------------------------------
Bernhard Rohloff wrote:
> +1 It's a nice improvement and makes the modules more consistent.

Thank you for checking the patch. Setting the target version to 4.2.0.

> Also a good indicator if an issue needs a bit of attention.

I will open a new issue to discuss UI that indicates the issue is behind schedule.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------
Tests fails.

<pre>
Failure:
Redmine::WikiFormatting::MacrosTest#test_issue_macro_should_render_link_to_issue [/REDMINE/WORK-DIR-NO-RAID/hg-workdir/my-work/test/unit/lib/redmine/wiki_formatting/macros_test.rb:414]:
--- expected
+++ actual
@@ -1 +1 @@
-"<p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest\" href=\"/issues/1\">Bug #1</a>: Cannot print recipes</p>"
+"<p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest behind-schedule\" href=\"/issues/1\">Bug #1</a>: Cannot print recipes</p>"

bin/rails test test/unit/lib/redmine/wiki_formatting/macros_test.rb:412

</pre>
--------------------------------------------------------------------------------
> Tests fails.

Fixed in r19869.

--------------------------------------------------------------------------------


related_issues

relates,New,7455,Search for issues that are behind schedule

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン4.2.0_152 にセット

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

いいね!0
いいね!0