flarum / flarum/audit

[Feature] Filter field should apply filter when hitting Enter

Open Beginner friendly
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently when adding a filter gambit in the "Filter logs" field hitting "Enter" on the keyboard does nothing. I have to click the "Apply" button next to it which slows down the flow since the filtering user has their hands already on the keyboard as they are entering IDs, names or other gambit parameters.
Image

**Feature request:**
Hitting "Enter" while cursor is in the "Filter logs" field should trigger the same event as the "Apply" button next to it and apply the filter from the field to the audit log.

Contributor guide

Open the contributing guide

Research direction

Start at the “Filter logs” field and trace the existing Apply button event that filters the audit log. Make Enter from the field trigger that same event, then verify that entering filter parameters and pressing Enter produces the same result as clicking Apply.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.