Project

General

Profile

Actions

Feature #43805

closed

Update file-type icons for additional MIME types

Added by Go MAEDA 24 days ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Resolution:
Fixed

Description

This patch updates file-type icons for several media types.

Issue #43797 added file-type icons for attachments, as already done in the repository browser. However, the current logic still shows a generic file icon for the following media types (except for some specific image subtypes):

  • audio/*
  • image/* (except for image/jpeg and image/png)
  • video/*
  • text/markdown
  • text/x-textile

This patch introduces dedicate icons as follows, improving usability and scanning efficiency when a container has many attachments.

  • audio/*: file-music
  • image/*: photo (including image/jpeg and image/png)
  • video/*: movie
  • text/markdown, text/x-textile: file-text (icon already used for text/plain)

The icon mapping logic is shared with the repository browser, so this change also applies there.

Before:

After:


Files


Related issues

Related to Redmine - Feature #43797: Show file-type icons instead of paperclip icons in attachment listsClosedGo MAEDAActions
Actions #1

Updated by Go MAEDA 24 days ago

  • Related to Feature #43797: Show file-type icons instead of paperclip icons in attachment lists added
Actions #2

Updated by Go MAEDA 22 days ago

  • Target version changed from Candidate for next major release to 7.0.0

Setting the target version to 7.0.0.

Actions #3

Updated by Go MAEDA 19 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patches in r24411 and r24412.

Actions

Also available in: Atom PDF