# Feature OP-15274 - Mention mechanism for linked files from Files tab

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-15274

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List | UX/UI |
| 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 |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| 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** be able to mention files which have been linked in the files tab with a mechanism similar to the @mentioning  
**so that** I can easily refer to a specific linked file in a discussion in the activity feed or in a work package description, without having to type out the file name or creae a link manually.

**Acceptance criteria**

  - I can type e.g. `@` and then start to type the file name of a linked file. This will open up a dropdown showing the linked files whose names begin with whatever I have started typing.

  - I am able to select the file I want to mention by navigating the dropdown list with the up and down arrow keys and then pressing the TAB key to auto complete. Additionally, I am able to click on the respective item in the dropdown list with the mouse.

  - Once auto completed the file name mention should visually appear in the same fashion as @mentions for people, i.e., with a highlight color and a solid background.

  - The file mention creates a clickable link which performs the same action as if I would click on that file in the Files tab, i.e., open the file.

  - I am able to mention files from within comments in the activity feed and from within the work package description. (And from everywhere else that I'm at the time of writing not aware of, too. In case there are other text fields that currently carry the @mentioning mechanism and could be extended to file mentions.)
