プロジェクト

全般

プロフィール

Vote #75376

完了

Display a target version's date if available in issue forms, as a tooltip

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

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

0%

予定工数:
category_id:
2
version_id:
81
issue_org_id:
17431
author_id:
80618
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

In our company, we feel that the target version field is very useful for planning our activity.

However, when displaying an issue, it only shows the version name, and the info on the planned release date (or effective for released versions) is not easy to find in the Redmine site.

A solution could be to add the date as a tooltip over the target version name.

Attached is a patch to do so. Feel free to include it in Redmine's code, at the suggested location, or even at a lower level (projects_helper.rb ?), or in all places where link_to_version is called...

This patch affects only the Issue page view.


journals

Sorry, it's better to format the date before displaying it. v2 patch attached.
--------------------------------------------------------------------------------
I tryed the patch on trunk and works fine.

!patch-applied.png!

Although it is useful, target versions are also displayed elsewhere(for example, issues/index). User interfaces should keep the consistency.

--------------------------------------------------------------------------------
OK, so just for fun:
Added version date tooltip in Roadmap (app/views/versions/index.html.erb), in Gantt
(lib/redmine/helpers/gantt.rb) and in issue lists (app/helpers/aplication_helper.rb)

I did not do it for the calendar... it makes little sense to add the date there.

Note that I have a doubt on the change for getting the tooltip in issue lists, as this affects very generic code used in places that I don't master fully.

The v3 patch attached includes previous changes.
--------------------------------------------------------------------------------
Well I think this would be cool and the change isn't really big. :-)
--------------------------------------------------------------------------------
Change done in #link_to_version to have the same behaviour in different places.
--------------------------------------------------------------------------------
Thank Olivier Houdas and JPL.
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,19350,Add version date in issue detail and Gantt

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

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

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

いいね!0
いいね!0