Skip to content

Align empty branch list message with search - #31465

Merged
charliemarsh-oai merged 1 commit into
mainfrom
charlie/fix-empty-list-alignment
Jul 8, 2026
Merged

Align empty branch list message with search#31465
charliemarsh-oai merged 1 commit into
mainfrom
charlie/fix-empty-list-alignment

Conversation

@charliemarsh-oai

@charliemarsh-oai charliemarsh-oai commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Selection rows reserve their first two columns for the selection cursor and render into the menu surface's left gutter. The empty-state message reused that shifted row area even though it has no cursor prefix, so no matches appeared two columns to the left of the search field.

This renders empty lists at the inset list origin while preserving the cursor gutter for non-empty rows.

@charliemarsh-oai
charliemarsh-oai marked this pull request as ready for review July 7, 2026 20:42
@charliemarsh-oai charliemarsh-oai changed the title Align empty list message with search Align empty branch list message with search Jul 7, 2026

@fcoury-oai fcoury-oai 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.

Tested and works as expected.

Very straightforward change, code looks good. Approved.

@charliemarsh-oai
charliemarsh-oai merged commit 6849549 into main Jul 8, 2026
64 of 66 checks passed
@charliemarsh-oai
charliemarsh-oai deleted the charlie/fix-empty-list-alignment branch July 8, 2026 12:57
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants