# Feature DREAM-669 - Create a WorkPackageCard component 

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-669

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 17.5.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| 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 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| DREAM-702 | Bug | Status labels are cut off on desktop and mobile | closed |  | 17.6.0 |  | Frontend components and Primer design system |
| AGILE-315 | Bug | Status labels are cut off on mobile | closed |  | 17.6.0 |  | Frontend components and Primer design system |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Frontend components and Primer design system, Integrations / Jira, Modules and project features / Backlogs, Modules and project features / Boards |
| 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 | Henriette Darge |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**Acceptance criteria**

*   There is a standardized component for WorkPackageCards
    
*   The component consists of:
    
    *   First row
        
        *   WP InfoLine
            
        *   Assignee (optional)
            
        *   Priority (optional)
            
        *   StoryPoints (optional)
            
        *   A drag handle (optional)
            
        *   A three dots menu (optional)
            
    *   Second row
        
        *   WP title (as link)
            
    *   Third row
        
        *   If present: Parent WP (as link but in black)
            
    *   Fourth row
        
        *   A flexbile slot for additional stuff at the bottom (optional)
            
*   When the cards are small, we do some visual optimizations:
    
    *   The avatars drop their label (starting from a card width below 767px (medium breakpoint)
        
    *   Type starts truncating if necessary (but keeps a minimal width of 50px)
        
    *   The first row does not wrap or push outside of the card container
        
*   On mobile:
    
    *   priority drop their label
        
*   This card component shall be used within the new Backlogs view
    

**Technical notes**

*   The component is written in Rails/ ViewComponent
