Skip to content

Draft: Syntax options modal

Tomas Bulva requested to merge search-help-markdown-preview into master

What does this MR do and why?

Users are often unaware of the filtering capabilities for code searches in global search, and even when they are aware, they often forget the exact syntax method to use.

This MR adds a drawer with syntax options cheatsheet for code search.

closes: 329234

Improves: #364406 (closed)

Screenshots or screen recordings

drawer
drawer-first

This MR is about to be closed without merging. As is there are some tests missing.

How to set up and validate locally

  1. check out this MR branch
  2. navigate to /search page
  3. it's necessary to have an advanced search enabled (http://gdk.domain/admin/application_settings/advanced_search)
  4. search any code inside the code tab (you have to have the project selected)
  5. syntax options button shows up above the search bar
  6. click the button to reveal the drawer

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tomas Bulva

Merge request reports