Skip to content

ui : Search dialog - #31173

Merged
ggerganov merged 2 commits into
masterfrom
allozaur/ui/search-dialog
Oct 28, 2026
Merged

ggerganov merged 2 commits into
masterfrom
allozaur/ui/search-dialog

Conversation

@allozaur

Copy link
Copy Markdown
Contributor

Overview

Screen.Recording.2026-10-26.at.06.52.37.mov

Search opens a spotlight dialog (Cmd+K or the Search entry under New chat in the sidebar) with keyboard navigation over recent chats and sidebar actions. Phones keep the search page.

Requirements

@allozaur
allozaur requested a review from a team as a code owner October 26, 2026 05:54
Copilot AI balanced review requested due to automatic review settings October 26, 2026 05:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@ServeurpersoCom ServeurpersoCom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice cleanup, the sidebar loses its whole search mode and the dialog reads well. One small thing before merge: the Enter branch of handleKeydown in DialogSearch should bail out on isIMEComposing(event) like ChatForm and ChatMessageSystem do, otherwise confirming a Japanese or Chinese candidate in the search field opens the highlighted chat.

@allozaur allozaur added merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. and removed merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. labels Oct 26, 2026
Search opens a spotlight dialog (Cmd+K or the Search entry under New chat in the sidebar) with keyboard navigation over recent chats and sidebar actions. Phones keep the search page.

Sidebar actions show their shortcuts, with new ones for Settings (Cmd+,) and Models (Shift+Cmd+M).

Assisted-by: Claude (Opus 5.5 Medium)
Enter confirms an IME candidate and the arrow keys move through the candidates, so the search field leaves them to the IME instead of opening the highlighted result or moving the highlight.

Assisted-by: Claude (Opus 5.5 Medium)
@allozaur
allozaur force-pushed the allozaur/ui/search-dialog branch from 84507aa to ddf2eb4 Compare October 27, 2026 06:07
@allozaur allozaur added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Oct 27, 2026
@ggerganov
ggerganov merged commit 6886628 into master Oct 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. server/ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants