Project

General

Profile

Actions

Feature #43805

open

Update file-type icons for additional MIME types

Added by Go MAEDA about 14 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Resolution:

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 about 14 hours ago

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

Also available in: Atom PDF