Graylog2 / Graylog2/graylog2-server

Query history arrow key shortcuts for main search input

Open
#26,472 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

When the main search query input is in focus and there isn't a multiline search query present the `up` and `down` arrow keys should rotate through the query history (similar to a terminal's command history).

Alternatively: with the same conditions, the `down` arrow triggers display of the query history (equivalent to clicking the `Open query history` icon or using the less-intuitive `ctrl`+`space` shortcut).

## Why?

Ease of use of the query history.

## Your Environment

* Graylog Version: `7.1.3`

Contributor guide

Open the contributing guide

Research direction

Start at the main search query input and its Open query history control, then trace the existing query-history behavior and the ctrl+space shortcut. Done means the up and down arrows rotate through history for single-line queries, or the down arrow opens history as specified, without changing multiline query editing.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.