# Feature COMMS-277 - Don't show work package comment inline attachments in Files tab

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-277

## Planning

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

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| COMMS-306 | How to deal with copy and pasting inline attachments | decided | Investigate if CKEditor/BlockNote.js can handle copy paste of binary image and reupload/republish. If this is not possible we need to reassess |

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| COMMS-278 | Adapt attachment uploads on comments so that they are attached to the container on submit | Implementation | closed |  | 16.0.0 |  |
| COMMS-279 | On submit link the inline attachments to the comment | Implementation | closed |  | 16.0.0 |  |
| COMMS-280 | Adjust the display of inline attachments in activites views | Implementation | closed |  | 16.0.0 |  |
| COMMS-281 | Spike: verify attachment APIs take into account inline attachments | Implementation | closed |  | 16.0.0 |  |
| COMMS-282 | Spike: verify uncontainered attachments cleanup job works and does not conflict with implementation | Implementation | closed |  | 16.0.0 |  |
| COMMS-304 | On edit set attachment replacements | Implementation | closed |  | 16.0.0 |  |

## 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 | Kabiru Mwenja |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a user with permissions to comment on work packages  
**I want to** be able to attach image like files within comments that I write without them showing up in the **Files** tab  
**so that** I can provide additional visual context in my communications without cluttering the **Files tab.**  
**and I want to** be able to attach image like files in both &quot;public&quot; and &quot;restricted&quot; comments

**Acceptance criteria**

*   Given a restricted comment, the attachment should only be accessible by users with permissions to view restricted comments
    
*   Given a &quot;public&quot; comment, the attachment should be accessible to users with permissions to view the work package comments
    
*   **Given the attachments are inline, they do not show up on the &quot;Files&quot; tab**
    

**Technical notes**

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/366984/content"></div></figure>

*   Change the attachments container from the work package to the Journal#comment(note) so that restriction is derived as inline attachments &nbsp;
    

**Out of scope**

*   Inline attachments _outside_ of work package comments
