# Epic OP-14510 - Improve global searchbar

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

## Detailed specification

### Motivation and background information

### Acceptance criteria

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

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

## Subitems

_No work packages_

## Bugs and other work packages

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan | Community (COM) |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Designer | Marc Alcobé |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

# User Problem

## User

  - All users

## Problem

  - The current search bar does not allow filtering the results that you get.
  - The only way to currently find the desired work package is by knowing a key word inside of its subject or description. That makes finding work packages difficult.
  - Only work packages are displayed in the search dialog.
  - Users are not sure if the results obtained are good enough.

# Business Case

## UX Research

<mention class="mention" data-id="53487" data-type="work_package" data-text="###53487">###53487</mention> 

## Solution

  - Increase the width of the search bar and dialog for the results
  - Rearrange the current information displayed for work packages
  - Add a tab bar on the top of the dialog containing:
      - Work packages
      - Meetings
      - Wikis
  - Add a sorting dropdown with the options:
      - Recently viewed
      - Recently created
      - Recently modified
  - A sidebar section inside of the modal with radio buttons and checkboxes will be added as quick filters:
      - For work packages:
          - Filter by project (in case the search is done while being inside of a project) with the options **In this project** and **In all projects**.
          - Filter by status with the options **All status, Only closed** and **Only open**.
          - Filter by implication with the options **Created by me, Assigned to me** and **I am accountable**.
          - Filter by type with the **4/5 most used work packages type** by the user.
              - An extra show more link that will be user to open a multi-select of all **work package types** (TBD).
      - For meetings:
          - Filter by project (in case the search is done while being inside of a project) with the options **In this project** and **In all projects**.
          - Filter by status with the options **All, Closed** and **Open**.
          - Filter by time with the options **Upcoming meetings** and **Passed meeting**.
          - Filter by implication with the options **Created by me, I am invited** and **I attended**.
      - For wikis:
          - Filter by project (in case the search is done while being inside of a project) with the options **In this project** and **In all projects**.
          - Implication dropdown with the options **Created by me** and **Edited by me**.
  - Add a bottom bar with a counter of results and a Load more and a button to access Advanced search.
      - The advanced search will be the current full screen results page with the selected filters in the dialog applied and open.
  - Keep the current recent work packages behaviour when the user doesn't type anything as default.

## Out of scope

# Visual and Figma

<https://www.figma.com/file/FN52CMGT5Edx1bxaV4DQGY/Global-search?type=design&amp;node-id=0-1&amp;mode=design>
