# Feature OP-11382 - Display an icon-only version of the sidebar in collapsed mode

Project: OpenProject
Status: in specification
URL: https://community.openproject.org/work_packages/OP-11382

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| 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 |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

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

## People

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

## Estimates and progress

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

## Description

**As** an OpenProject user  
**I want to** be able to collapse the side menu to an icon-only version (version making it completely invisible)  
**so that** I have more space for content without sacrificing important functionality available in the sidebar

### Problem

The main sidebar in OpenProject is collapsible in desktop mode (it's only available on click on mobile). This can be achieved in two ways:

  - By clicking the top-left menu icon or
  - By clicking on the collapse button on the right edge of the sidebar (vertically centered)

However, "collapsed" currently means hidden. To make the menu visible again, the user can either:

  - Click the top-left menu icon again or
  - Click on the right-facing arrow on the left edge of the screen

The user can alternatively manually resize the menu to make room for content, but the overlay behaviour makes the menu less usable.

**Problem 1:**

When the menu is fully hidden, it can be hard to navigate or know where the user is, or indeed how to make the menu visible again. The goal of reducing the space that the side takes can be solved by dramatically reducing its width rather than making it invisible.

**Problem 2:**

When the user is in a second-level menu, the first one isn't visible (drilled down). This makes it difficult to switch from the current view (list of work packages) to another module, or to know where in the hierarchy the user currently is.

### **Acceptance criteria**

This feature proposes replacing the "invisible" menu in collaposed mode with an icon-only menu.

  - Clicking on the collapose icon switches between two modes:
      - Full mode (as it is today)
      - Icon-only mode
  - In Icon-only mode:
      - Only the icons are visible (they must all have proper alt text for accessibility)
      - The right-facing arrow on the right edge of some sidebar entries like *Work packages, Calendars* and *Team Planners* (→) is not visible; a click on an icon is the equivalent of clicking the main menu item.
  - The top right icon behaves as it does today, to switch between full mode and icon-only mode.
  - When second-level menus are visible, display the the first-level menu as icons.
      - ***\[Open\]** What should happen when the user collapses the second-level menu? Should only only the first-level icons be visible?*

### Visuals

**Full mode:**

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

**Hovering on the collapse button:**

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

**Icon-only mode:**

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

**Even in full mode, second level menu always shows first level as icons:**

<img class="op-uc-image op-uc-image_inline" style="width:506px;" src="/api/v3/attachments/40162/content">
