# Feature COMMS-1004 - Labels for work package show page

Project: Stream Communicator
Status: tested
URL: https://community.openproject.org/work_packages/COMMS-1004

## Planning

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

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| FND-259 | How should we handle super long labels? | decided |  wait until we use the Primer InplaceEdit Fields which behave different anyways |

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| COMMS-1005 | View and edit labels on WP show page | Implementation | closed |  |  |  |
| COMMS-1006 | Autocomplete dropdown for WP show page labels | Implementation | closed |  |  |  |
| COMMS-1007 | Enable Labels field in the type form configuration | Implementation | closed |  |  |  |
| COMMS-1046 | Labels in the work package schema and labels-by-workspace API | Implementation | closed |  | 18.0.0 |  |
| COMMS-1047 | Label creation API with case-insensitive dedupe | Implementation | closed |  | 18.0.0 |  |
| COMMS-1048 | Labels field on the work package view with inline creation | Implementation | closed |  | 18.0.0 |  |
| COMMS-1050 | Remove unused inline-created labels | Implementation | rejected |  | 18.0.0 |  |
| COMMS-1051 | Reassign label authors when deleting a user | Implementation | closed | Kabiru Mwenja | 18.0.0 |  |
| COMMS-1071 | Create labels when the work package is saved instead of while typing | Implementation | closed |  | 18.0.0 |  |
| COMMS-1085 | Apply Primer Label styling | Implementation | closed |  | 18.0.0 |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| COMMS-1109 | Bug | User unable to see/add labels on the shared work package with edit rights | in test | Ivana Šugić | 18.0.0 |  | Administration / Roles and permissions, Modules and project features / Work packages |
| COMMS-1105 | Bug | Long labels cause overflow on the work package page | on hold |  | 18.0.0 |  | Modules and project features / Work packages |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan | Community (COM) |

## Details

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

## People

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

## Estimates and progress

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

## Description

**Acceptance criteria**

*   The work package full view and split view show the labels of the work package.
    
*   A user with `edit_work_packages` edits the labels inline.
    
*   The field dropdown behaves like the Assignee dropdown. The create option is a regular last option rendered like the share dialog&#x27;s invite option (`Create label "<term>"`), not pinned. _(See_ [_review note_](https://github.com/opf/openproject/pull/25554#discussion_r4142674467)_.)_
    
*   The initial dropdown list sorts first by locality (labels already used in the current project come first), then by frequency (most used first).
    
*   Dropdown search input is case-insensitive
    
    *   Race condition handling: When the user tries to create a label but another label with different casing already exists in the system, the system will dedupe this and assign the _other_ label.
        

**Technical notes**

*   <br>
