# Feature COMMS-295 - Show warning if a user tries to uncheck the 'Internal comment' checkbox when there's already text in the comment box

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

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| COMMS-315 | Bug | After clicking on "Make public" once, subsequent "cancel" actions do not retain the "Internal comment" checked state | closed |  | 16.0.0 |  |  |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Comments and activity |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | Yes |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Kabiru Mwenja |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a core member of a project  
**I want** there to be safeguards against accidentally making my internal comment (for my smaller core team) public  
**so that** I don't accidentally post a comment meant to be internal as a regular comment

**Acceptance criteria**

In the comment box, once I click on "Internal comment" and start typing my comment

  - If I try to uncheck 'Internal comment' when there is already content in the comment text editor, show a Danger dialog:
    
      - Title: "Make this comment public?"
    
      - Text: "Your comment will be visible to anyone who can access this work package. Are you sure you want to do this?"
    
      - Actions:
        
          - "Make public" (primary, danger)
        
          - Cancel (secondary)

**Technical notes**

  - 
    <br>

**Permissions and visibility considerations**

  - Naturally only visible to those who have the rights to post internal comments

**Translation considerations**

  - None, these will mostly be new strings, apart from 'Cancel'

**Out of scope**

  - Auto-detection of intent (eg. automatically warn the user if they try to post a comment that sounds like it should be internal without checking the 'Internal comment' checkbox)
