プロジェクト

全般

プロフィール

Vote #74819

未完了

Add to Issues List column of the attachment icon

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

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

0%

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

説明

If there are attachments, I want to display in the issues list the attachment icon.
Interface, such as a mail client.

In addition, I want to add REST API also (Listing issues).

Thanks :-)


journals

I made a patch to display the attachment icon.

!{width: 584px;}issue-list-with-attachment-icon.png!
--------------------------------------------------------------------------------
Submitting a new patch.

Previous patch breaks subtask indentation. I fixed CSS to cope with it.

!{width: 525px;}patch-15900-2.png!
--------------------------------------------------------------------------------
Good job!
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
I confirmed that the patch works with current trunk(r13547).
I hope that this patch is included in Redmine 3.0.0.
--------------------------------------------------------------------------------

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

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

--------------------------------------------------------------------------------
Updated the patch for the latest trunk.
I hope this feature will be included in next release.
--------------------------------------------------------------------------------
The patch can't be committed as is. It triggers one query per issue on the issue list and an additional for each issue link in fromatted text. Here is a patch that preloads the attachment counts for the issue list.
Still, this adds some more overhead to the issue list and I'd like to get more feedback from users before adding it to the core. I personnally don't feel much the need for it.
--------------------------------------------------------------------------------
Could we have a checkbox option to show attachments icon like we have to show descriptions?
--------------------------------------------------------------------------------
You can display "Files" column in the issues list since Redmine 3.4.0 (#25515).

Since you can see if there are attachments by displaying the Files column, I think it is no longer necessary to show an attachments icon.
--------------------------------------------------------------------------------


related_issues

relates,Closed,12886,Consider adding a new field named "Has Attachments" or "# of Attachments"
relates,Closed,6719,File format for custom fields (specific file uploads)

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

  • カテゴリUI_10 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0