プロジェクト

全般

プロフィール

Vote #81571

未完了

Several improvements (with fixes of inconsistencies) for the issues show view

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

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

0%

予定工数:
category_id:
10
version_id:
0
issue_org_id:
35674
author_id:
1565
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I'll leave an untested WIP-patch against current trunk.

Change descriptions by file:

  • +app/views/issues/show.html.erb+
    ** blank (unset) value rendering of issue core attributes (currently a dash [@-@] is rendered for several attributes, while nothing is rendered for other attributes):
    *** consistently render a dash for issue core attributes with a blank (unset) value
    ** spent time rendering (currently the field is not rendered when there's no spent time on the issue):
    *** consistently show the field and render a dash when there's no spent time on the issue (if spent time module is disabled the field and dash won't be rendered)
    ** blank description rendering (currently the field is not rendered when it has a blank [unset] value):
    *** consistently show the field and render a dash for blank description attribute (partly the same as #24015)
    ** full-width custom field rendering (the field is rendered below the attachments section):
    *** render the field above the attachments section (and below the description core attribute)

  • +app/helpers/issues_helper.rb+
    ** blank (unset) value rendering of issue core attributes for related issues and subtasks sections (currently nothing is rendered):
    *** consistently render a dash for issue core attributes with a blank (unset) value for related issues and subtasks sections
    ** estimated time rendering (currently the field value always shows the 'Total:' label):
    *** consistently show the field and render a dash when there's no estimated time on the issue, and only show the 'Total:' label with value when it is appropriate
    ** blank (unset) value rendering of half-width issue custom field attributes (currently nothing is rendered for custom field attributes):
    *** consistently render a dash for half-width issue custom field attributes with a blank (unset) value
    ** full-width custom field rendering (currently the field is not rendered when it has a blank [unset] value):
    *** consistently render a dash for full-width issue custom field attributes with a blank (unset) value

Some notes and warnings on the patch:

  • contains no tests, doesn't modify existing tests and might break existing tests
  • doesn't modify email templates and/or API views

I'd like to get some feedback on the mentioned changes before I spend more time on this patch.


journals

Mischa The Evil wrote:
> [...]
> * +_app/views/issues/show.html.erb_+
> ** spent time rendering (currently the field is not rendered when there's no spent time on the issue):
> *** consistently show the field and render a dash when there's no spent time on the issue (if spent time module is disabled the field and dash won't be rendered)

In the light of advancing insight, I now think that this should not be implemented.
--------------------------------------------------------------------------------

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


related_issues

relates,New,35797,Don't show issues without spent time on the issues list with 0.00/0:00 spent time values

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

  • カテゴリUI_10 にセット

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

いいね!0
いいね!0