Repository navigation
feat: navigate the top bar with L1/R1 and drop the redundant folder chip - #180
Merged
Merged
Conversation
The header no longer shows the single tab as a current-folder chip with an RB prompt. The top bar (breadcrumb + quick access) is one focus region: L1 enters on the parent folder, R1 on the first shortcut, and inside the bar L1/R1 and Left/Right move between targets. The current folder and the shortcut for the current location are labels, never targets, so nothing reloads the page. The tab strip only shows with 2+ tabs and is reached with Up from the top bar; Menu > Abas creates, closes and switches tabs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
nextestudios
force-pushed
the
feature/176-top-bar-l1r1
branch
from
September 27, 2026 20:45
1f5c08b to
1a2509b
Compare
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.
Summary
The "current-folder chip with an R1 prompt" next to the logo was the tab strip (#50) showing a single tab. It repeated the end of the breadcrumb, and its RB prompt suggested R1 would reopen the folder. This PR keeps tabs and changes how the top bar works:
IControllerPromptProvider: LB/RB, L1/R1, L/R, generic, or Ctrl+←/→ on the keyboard. In the bar, the footer shows Ir para/Abrir, Anterior/Próximo, Abas (Up, with 2+ tabs) and Voltar à lista.Deliberate binding change (tests updated)
TabsJourneyTests: RB in the list no longer goes straight to the tab strip. The test now uses R1 → Up, and also covers Menu → Abas and the hidden strip with one tab.TopBarJourneyTests(existing test): Right from the parent segment now skips the current folder and goes to the first shortcut.ModalSystemJourneyTests: with one tab there is no strip, so the "Abas" menu icons are checked via Menu → Abas.New test
TopBarJourneyTests.L1_and_R1_walk_the_top_bar_…: L1/R1 entry targets and movement, clamping at the ends, the current folder never focused, no reload by tap on the current crumb or the active shortcut, breadcrumb activation in grid with focus restored on the child, quick-access activation in list with focus back on the list, and Back history.Docs
CHANGELOG pair, GUIDE pair,
docs/input-and-focus.md,docs/ui-redesign.md(shell diagram, controller table, regression rows), anddocs/TESTING.md(new manual section "Barra superior com L1/R1 (#176)"). The screen renderer gets a new2g-folder-tabscapture.Testing
mode=screensat 1920x1080 and 1280x720 (Home, top bar focus, folder list/grid, path bar focus, tabs).docs/TESTING.md.Closes #176
🤖 Generated with Claude Code