Skip to content

Restore RemoteSearchMenuUI for Electron overlay search menu#2134

Merged
curtisman merged 1 commit intomicrosoft:mainfrom
curtisman:remoteui
Apr 5, 2026
Merged

Restore RemoteSearchMenuUI for Electron overlay search menu#2134
curtisman merged 1 commit intomicrosoft:mainfrom
curtisman:remoteui

Conversation

@curtisman
Copy link
Copy Markdown
Member

@curtisman curtisman commented Apr 5, 2026

Summary

Restore RemoteSearchMenuUI usage in Electron so the completion menu renders in a separate WebContentsView that can overlay beyond the chat view bounds.

When PR #1933 added inline ghost text completions, it replaced the RemoteSearchMenuUI/LocalSearchMenuUI branching with InlineSearchMenuUI/LocalSearchMenuUI, leaving RemoteSearchMenuUI as dead code. The remote search menu infrastructure (IPC handlers, electronSearchMenuUI.ts, searchMenuView.ts, preload bindings) was never removed and remains fully intact.

Changes

In Electron, use RemoteSearchMenuUI (rendered in a separate WebContentsView)
so the completion menu can overlay beyond the chat view bounds. Falls back to
LocalSearchMenuUI in non-Electron environments.

This was removed in microsoft#1933 when inline ghost text completions were added.
@curtisman curtisman enabled auto-merge April 5, 2026 21:19
@curtisman
Copy link
Copy Markdown
Member Author

@steveluc FYI

@curtisman curtisman added this pull request to the merge queue Apr 5, 2026
Merged via the queue into microsoft:main with commit e1fb700 Apr 5, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant