Skip to content

feat: new tab from the main menu and switch tabs with L2/R2 - #186

Merged
nextestudios merged 1 commit into
mainfrom
feature/185-tab-triggers
Sep 27, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feature/185-tab-triggers

Conversation

@nextestudios

Copy link
Copy Markdown
Owner
  • Menu → Nova aba (top level) opens the current folder in a new tab.
  • With 2+ tabs, LT/RT (L2/R2) switch to the previous/next tab in the browser (list, grid, Home), wrapping at the ends; each tab restores its own folder, history, marks and focus (feat: add file navigation tabs #50).
  • Decision: with a single tab the triggers keep paging the list / jumping Home sections, so the existing paging binding isn't lost; documented in the guides and docs/input-and-focus.md.
  • L1/R1 never switch tabs (top bar). Modals, the on-screen keyboard, previews and the top bar handle the triggers first, so they never switch tabs there.
  • Footer shows "Aba anterior"/"Próxima aba" with the active family's trigger glyphs (existing prompt provider).

Tests: one journey test in TabsJourneyTests (paging with one tab, Menu → Nova aba, L2/R2 with wrap and restored focus, L1/R1 not switching, triggers ignored under a menu). Existing tests unchanged.

Closes #185

🤖 Generated with Claude Code

With two or more tabs, LT/RT (L2/R2) switch to the previous/next tab while browsing
(wrapping). With a single tab they keep paging the list and Home sections, so no
existing binding is lost. L1/R1 stay on the top bar; modals, keyboard and previews
keep owning the triggers.

Closes #185

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios merged commit a6d08e4 into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/185-tab-triggers branch September 27, 2026 21:11
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.

enhancement: create tabs from the menu and switch with L2/R2

1 participant