Add a consistent empty state to the Agents Search tab - #334966
Merged
Lee Murray (mrleemurray) merged 6 commits intoSep 8, 2026
Conversation
Reuse the shared Sessions empty-state treatment for empty Search results while preserving query controls, restored results, and keyboard navigation. Add lifecycle regression tests and themed fixtures. Fixes #334630 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ladislau Szomoru (lszomoru)
previously approved these changes
Sep 7, 2026
Copilot started reviewing on behalf of
Lee Murray (mrleemurray)
September 7, 2026 18:56
View session
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed changes have no unresolved approval-blocking issues.
Pull request overview
Adds a Sessions-scoped empty state to the Agents Search tab while preserving existing controls and result behavior.
Changes:
- Adds a reactive, non-interactive empty-state overlay.
- Adds behavioral tests and visual fixtures across layouts and states.
- Keeps the implementation isolated to the Sessions layer.
File summaries
| File | Description |
|---|---|
src/vs/sessions/contrib/search/test/browser/searchEditorEmptyState.test.ts |
Tests visibility, layout, focus, and disposal. |
src/vs/sessions/contrib/search/test/browser/searchEditor.fixture.ts |
Adds Search editor visual scenarios. |
src/vs/sessions/contrib/search/browser/searchEditorEmptyState.contribution.ts |
Implements the empty-state contribution. |
src/vs/sessions/contrib/search/browser/search.contribution.ts |
Registers the contribution in Sessions. |
src/vs/sessions/contrib/search/browser/media/searchEditorEmptyState.css |
Centers and isolates the overlay. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Pada Sel, 8 Sep 2026 02.02, Copilot ***@***.***> menulis:
… ***@***.**** commented on this pull request.
🟢 Approval recommended
The reviewed changes have no unresolved approval-blocking issues.
Pull request overview
Adds a Sessions-scoped empty state to the Agents Search tab while
preserving existing controls and result behavior.
*Changes:*
- Adds a reactive, non-interactive empty-state overlay.
- Adds behavioral tests and visual fixtures across layouts and states.
- Keeps the implementation isolated to the Sessions layer.
File summaries
File Description
src/vs/sessions/contrib/search/test/browser/searchEditorEmptyState.test.ts Tests
visibility, layout, focus, and disposal.
src/vs/sessions/contrib/search/test/browser/searchEditor.fixture.ts Adds
Search editor visual scenarios.
src/vs/sessions/contrib/search/browser/searchEditorEmptyState.contribution.ts Implements
the empty-state contribution.
src/vs/sessions/contrib/search/browser/search.contribution.ts Registers
the contribution in Sessions.
src/vs/sessions/contrib/search/browser/media/searchEditorEmptyState.css Centers
and isolates the overlay. Review details
- *Files reviewed:* 5/5 changed files
- *Comments generated:* 0
- *Review effort level:* Balanced
------------------------------
💡 Add a code-review agent skill
<http:///microsoft/vscode/new/main?filename=.github/skills/code-review/SKILL.md>
or configure MCP servers for context-aware, tailored reviews. Learn more
in the docs.
<https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills>
—
Reply to this email directly, view it on GitHub
<#334966?email_source=notifications&email_token=CM7ETLILVUVIMWTRDFX6X3T5N4A2RA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTKMJTGQ3TEMJVGI4KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#pullrequestreview-5134721528>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CM7ETLJTZHUF4T5OUMUTRSL5N4A2RAVCNFSNUABEKJSXA33TNF2G64TZHM2DCOBYGE4TAMB3JFZXG5LFHM2TGNZYGE2DINJTGWQXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CM7ETLOXWLACXWHX6IEU7FL5N4A2RA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTKMJTGQ3TEMJVGI4KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/CM7ETLOO7SRCE7ZN4ENJ7PT5N4A2RA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTKMJTGQ3TEMJVGI4KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
|
mrleemurray/fix-334630-search-empty-state |
Contributor
Screenshot ChangesBase: 3 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. Added (15) |
Alexandru Dima (alexdima)
previously approved these changes
Sep 7, 2026
Exercise fractional content widths to reproduce the 1/128-pixel flex centering difference seen in macOS CI. Compare center offsets at CSS-pixel precision while keeping dimensions and pointer behavior exact. Production UI and screenshot baselines are unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Aiday Marlen Kyzy (aiday-mar)
previously approved these changes
Sep 8, 2026
Ladislau Szomoru (lszomoru)
previously approved these changes
Sep 8, 2026
Co-authored-by: mrleemurray <25487940+mrleemurray@users.noreply.github.com>
Giuseppe Cianci (Giuspepe)
previously approved these changes
Sep 8, 2026
Co-authored-by: mrleemurray <25487940+mrleemurray@users.noreply.github.com>
Giuseppe Cianci (Giuspepe)
approved these changes
Sep 8, 2026
Alex Ross (alexr00)
approved these changes
Sep 8, 2026
Lee Murray (mrleemurray)
deleted the
mrleemurray/fix-334630-search-empty-state
branch
September 8, 2026 13:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #334630
Summary
Give the Agents Window Search tab the same empty-state treatment as the other tabs, instead of leaving the results area blank.
Validation
Manual testing
Screenshots
Real Search editor fixtures; high contrast shows the query field focused.
High contrast — query focused