# Feature OP-1993 - Reduce horizontal space needed by top menu

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 4.2.0 |
| 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 | No |
| Enterprise plan |  |

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| 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** search and help to take less space  
**So that** I have more space on a smaller resolution screen.

**Acceptance Criteria**

  - Help is depicted only by `icon-help`
  - Search is depicted only by `icon-search`
  - Search is expanded when clicked, consistent with openproject.org

The search form now behaves as following

  - Keyboard
      - Tab until collapsed search (icon) is focused, the search should expand and the input gains focus.
      - Tab out of the input, icon will gain focus, search should NOT collapse.
      - Press enter while icon is focused, search form should be submitted.
      - Tab out of icon to help, search should collapse.
      - Pressing s or modifier + 4 should expand the search.
  - Mouse
      - Click on collapsed magnifier, search should expand.
      - Click on any other element other than input / icon, search should collapse.
      - Click on the magnifier while the search is expanded, search should be submitted.
  - Both
      - Icon is now flipped when expanded (to resemble the previous state).
