# Bug SI-228 - DangerDialog text is unnecessarily convoluted

Project: Stream Integration Basics
Status: closed
URL: https://community.openproject.org/work_packages/SI-228

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / File storages, Administration, Modules and project features / Project settings |
| Target versions | 17.1.0 |
| Observed in versions | 16.6.0 |
| Bug found in version (deprecated) | 16.6.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

  - Attempt to remove a previously-configured storage from a project in Project admin → Files

  - Attempt to delete a previously configured storage at an admin levelin  Administration → Files → Exgternal storages,

### What is the buggy behavior?

  - The text in the DangerDialogue (in both cases) is verbose and not particularly easy to understand

  - The project-level dialogue doesn't make it clear that you're *removing* a configured storage from that project, not deleting it entirely

**Project level:**

**<img class="image_resized op-uc-image op-uc-image_inline" style="width:705px;" src="/api/v3/attachments/793024/content">**

**Admin level:**

**<img class="image_resized op-uc-image op-uc-image_inline" style="width:702px;" src="/api/v3/attachments/793025/content">**

### What is the expected behavior?

Change the text as follows:

  - **Project level:**
    
      - **Title:** Remove file storage from project?
    
      - **Text:** Are you sure you want to remove {Storage name} from this project?
        
          - In an [Inset box](https://qa.openproject-edge.com/lookbook/pages/components/inset_box):
            
              - All links to corresponding files and folders will be removed
            
              - The automatically-managed project folder and all files in it will be deleted.
    
      - **Confirmation:** I understand that this removal cannot be reversed
    
      - **Actions:**
        
          - Cancel (secondary)
        
          - Remove permanently (danger)
    
      - Only show the second point about automatically-managed project folder if it is relevant to the setup

  - **Admin-level:**
    
      - **Title:** Delete file storage?
    
      - **Text:** Are you sure you want to delete {Storage name} as an external file storage?
        
          - In an [Inset box](https://qa.openproject-edge.com/lookbook/pages/components/inset_box):
            
              - The storage will be removed from all projects currently using it
            
              - All links to corresponding files and folders will be removed
            
              - The automatically-managed project folder and all files in it will be deleted
    
      - **Confirmation:** I understand that this deletion cannot be reversed
    
      - **Actions:**
        
          - Cancel (secondary)
        
          - Delete permanently (danger)

### 

### Environment information

**Edge**  
OpenProject 16.6.0

Core build: [864e1bab407e865489a654810328d454c77f765f](https://github.com/opf/openproject/commits/864e1bab407e865489a654810328d454c77f765f)  
Product version: [757b160994d7a0c490ec4cdc7e6571c7b1dca270](https://github.com/opf/saas-openproject/commits/757b160994d7a0c490ec4cdc7e6571c7b1dca270)

**Browser:**  
Firefox Mac

**Language**  
EN
