matcha icon indicating copy to clipboard operation
matcha copied to clipboard

FEAT: extend cyclic navigation

Open mavonx opened this issue 6 months ago • 1 comments

Is your feature request related to a problem?

The cyclic navigation feature introduced in #1215 was applied to some parts of the TUI, but not all. Currently, several menus still use bounded navigation.

Describe the solution you'd like

Implement wrap-around navigation for menu selections.

  • Moving upward from the first item should select the last item.
  • Moving downward from the last item should select the first item.

Affected areas (need update):

  • updateMenu in tui/settings.go
  • updateGeneral in tui/settings_general.go
  • updateAccounts in tui/settings_accounts.go
  • updateMailingLists in tui/settings_lists.go
  • updateTheme in tui/settings_theme.go
  • Update in tui/filepicker.go
  • Update in tui/email_view.go

Describe alternatives you've considered

Keeping the current bounded navigation behavior where selection stops at the edges. However, wrap-around navigation provides a smoother experience and reduces unnecessary input.

Additional context

This issue should be labeled as a good first issue.

mavonx avatar May 06 '26 06:05 mavonx

Thanks for the suggestion!

If you want to see this feature land, give the original post a 👍. Maintainers prioritize feature requests by reaction count. Comment to add detail or use cases — extra context helps triage.

floatpanebot avatar May 06 '26 06:05 floatpanebot