getsentry / getsentry/sentry

Search Bar Feature Request: Allow search query to be edited as plain text

Open
#82,395 2 comments 4 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

![Image](https://github.com/user-attachments/assets/355a7373-795b-4379-ad56-5118360bafb1)

The new search UI has improved feature discovery and new user adoption, but also presents usability issues for power users who are aware of Sentry's search syntax and would otherwise be able to edit queries more quickly.

Some parts of the query editing are slower with the new UI, such as:

- If you want to negate a filter, you have to click "is" to change to "is not" after creating the filter. With text, you could write out `!is:unresolved`
- If you want to change a filter key or value, you need to click (or arrow over and press enter) to enter edit mode. With text you can immediately go to the part you wish to edit.

### Solution Brainstorm

The search bar could support two "modes" - the current tokenized mode, and a plain text mode. Users could toggle between them, and that preference would be stored somewhere to remember the selection. The plain text mode would still need to support autocomplete features to make it usable.

### Product Area

Issues

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.