Project

General

Profile

Actions

Feature #25988

closed

Preview files by default instead of downloading them

Added by Jan from Planio www.plan.io almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Through user research at Planio, we determined that users expect to preview file attachments (images, text, pdfs - see #22483) in a browser window rather than downloading them when they click.

The attached patch switches the default behaviour from downloading to previewing and it replaces the old magnifier icon (for previewing) with a disk icon (for downloading).

It also cleans up attachment display using the attachments/links partial by displaying data in a borderless table format.

Here's a preview:

Current status:

Proposed new status:


Files

attachments_preview_download_new.png (226 KB) attachments_preview_download_new.png Jan from Planio www.plan.io, 2017-05-17 16:00
attachments_preview_download_old.png (220 KB) attachments_preview_download_old.png Jan from Planio www.plan.io, 2017-05-17 16:00
0001-Highlight-Files-tab-when-viewing-attachments.patch (1.1 KB) 0001-Highlight-Files-tab-when-viewing-attachments.patch Jan from Planio www.plan.io, 2017-05-17 16:01
0002-Switch-default-behaviour-on-Attachment-click-to-view.patch (6.41 KB) 0002-Switch-default-behaviour-on-Attachment-click-to-view.patch Jan from Planio www.plan.io, 2017-05-17 16:01
0003-Use-new-icon-download-class-for-downloads.patch (3.57 KB) 0003-Use-new-icon-download-class-for-downloads.patch Jan from Planio www.plan.io, 2017-05-17 16:37
ragged_right.png (194 KB) ragged_right.png Jan from Planio www.plan.io, 2017-05-21 12:15
three_columns.png (191 KB) three_columns.png Jan from Planio www.plan.io, 2017-05-21 12:15
25988-format_object.diff (1.28 KB) 25988-format_object.diff Go MAEDA, 2017-06-11 07:02

Related issues

Related to Redmine - Feature #22481: Show thumbnails for PDF attachmentsClosedGo MAEDA

Actions
Related to Redmine - Defect #26310: "attachment:filename" should generate a link to preview instead of downloadClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF