Skip to content

Close filter dialog by pressing esc or enter - #5158

Open
ievdokdm wants to merge 1 commit into
flutter:mainfrom
ievdokdm:enter
Open

ievdokdm wants to merge 1 commit into
flutter:mainfrom
ievdokdm:enter

Conversation

@ievdokdm

Copy link
Copy Markdown
Contributor

Close filter dialog by pressing Enter

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Sep 26, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds keyboard shortcut support (Enter, Numpad Enter, and Escape) to close the FilterDialog and apply filters. It simplifies the dialog's constructor by removing the autofocusRegex parameter, defaults the regex text field to autofocus, and introduces a safe _closeDialog helper. Additionally, corresponding widget tests have been added to verify the new keyboard shortcut behaviors. There are no review comments, so I have no additional feedback to provide.

@ievdokdm ievdokdm added the autosubmit Merge PR when tree becomes green via auto submit App. label Sep 26, 2026
@ievdokdm
ievdokdm requested a review from jtmcdole September 26, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App. CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant