# Feature OP-9980 - Files Tab in work package details

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-9980

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 12.1.0 |
| Sprint | 12.1.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user  
**I want to** view all associated files of a work package at a single place  
**so that** I can easily figure all possible information attached to a work package.

**Acceptance criteria**

  - In work package details view a tab named `Files` is active
  - When opening the `Files` tab, all attachments of this work package are displayed under the heading `Attachments`.
      - The attachment file name is displayed. The name serves as a hyperlink to download/view the file.
      - The attachment author is displayed. The author serves as a hyperlink to the author's page
      - The attachment upload date is displayed in elapsed time format (10 days ago).
  - A counter is displayed next to the `Files` tab name, written in parenthesis, indicating the full amount of files attached to the work package.
  - The attachment section at the bottom of the content view is deleted.

## Hints

This feature basically migrates the attachment section into the new files tab. The styling nor behavior doesn't really change.

Design (<https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=337%3A29295>):

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/29229/content"></div></figure>
