Skip to content

fix(tui): wrap menu navigation#1242

Merged
andrinoff merged 1 commit intofloatpane:masterfrom
FromSi:fix/cyclic-navigation-menus
May 7, 2026
Merged

fix(tui): wrap menu navigation#1242
andrinoff merged 1 commit intofloatpane:masterfrom
FromSi:fix/cyclic-navigation-menus

Conversation

@FromSi
Copy link
Copy Markdown
Contributor

@FromSi FromSi commented May 6, 2026

What?

Adds wrap-around navigation to the remaining bounded TUI menus and selection lists, including settings sections, file picker items, and email attachments. Updates tests to cover the cyclic navigation behavior.

Why?

Some TUI areas still stopped at the first or last item while others already used cyclic navigation. This makes menu movement consistent across the app: pressing up on the first item selects the last item, and pressing down on the last item selects the first.

Closes #1237

@FromSi FromSi requested a review from a team as a code owner May 6, 2026 15:09
@floatpanebot floatpanebot added area/tui Terminal UI / view layer bug Something isn't working labels May 6, 2026
Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

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

Hi @FromSi! Please fix the following issues with your PR:

  • Title: Is too long (45 characters). The PR title must be strictly under 40 characters.

@FromSi FromSi changed the title fix(tui): add wrap-around navigation to menus fix(tui): wrap menu navigation May 6, 2026
@floatpanebot floatpanebot dismissed their stale review May 6, 2026 15:10

Formatting issues have been resolved. Thank you!

Copy link
Copy Markdown
Member

@andrinoff andrinoff left a comment

Choose a reason for hiding this comment

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

lgtm

@andrinoff
Copy link
Copy Markdown
Member

/approve

Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

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

Approved on behalf of @andrinoff via /approve command.

@andrinoff andrinoff merged commit c94e714 into floatpane:master May 7, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tui Terminal UI / view layer bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FEAT: extend cyclic navigation

3 participants