# Feature OP-18104 - All widgets (Overview): Add a blankslate for when there is nothing to show (empty or no permissions)

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18104

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Project overview, Modules and project features / Project overview / Widget |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/kjzHe0qOLme1LXCjLoTBFV/Overview-and-Dashboard?node-id=1180-27377 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Behrokh Satarnejad |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

### Acceptance criteria

  - In the Project home, in Overview, display "empty" states for all widgets in two different variants:
    
      - **Empty**
        
          - This will be shown when the user has access to the widget, but it does not contain anything yet.
        
          - It consists of a Blankslate with:
            
              - *\[open\] Icon if available?*
            
              - Title: (the same as the widget name, eg. "Members", "News", "Description"...)
            
              - *Text: "This widget is currently empty."*
            
              - Action: "+ {Action}"
                
                  - This can vary depending on the module. For eg. for Members, it'll be "+ Member".
    
      - **Empty but no permission to modify**
        
          - This will be shown when the user has access to the widget, but does not have the permission to edit it
        
          - It consists of a Blankslate with:
            
              - *\[open\] Icon if available?*
            
              - Title: (the same as the widget name, eg. "Members", "News", "Description"...)
            
              - Text: "This widget is currently empty."
            
              - (No action)
    
      - **No permissions to view the widget**
        
          - This will be shown when the user only has viewing rights (eg. when a work package is shared with an external user, but they can still access the Dashboard)
        
          - It consists of a Blankslate with:
            
              - (No icon)
            
              - Title: (the same as the widget name, eg. "Members", "News", "Description"...)
            
              - Text: "This widget is not available".
            
              - (No action)

  - For the overview widgets,
    
      - **Members:**
        
          - Icon: `person`
        
          - Permission to see widget: `view_members`
        
          - Permission for action: `manage_members`
        
          - Action: Switch to members page
    
      - **Subitems**
        
          - Icon: `workflow`
        
          - Permission to see the widget:
            
              - *(if get\_all\_subprojects is empty, then empty state: else check permissions for each subitem, and then render ones they have permission to see).*
        
          - Permission for action: `manage_project`
        
          - Action: "+Subitem " which forwards the user to the create a new project page
    
      - **News**
        
          - Icon: `megaphone`
        
          - Permission to see the widget:
            
              - News widget is visible to all.
        
          - Permission for action: `manage_news`
        
          - Action: Switch to `Add news` page

### Visuals

[See Figma page](https://www.figma.com/design/kjzHe0qOLme1LXCjLoTBFV/Overview-and-Dashboard?node-id=1180-27377)

###
