Vote #80237
完了Add "behind-schedule" CSS class to issues
0%
説明
"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