Skip to content

feat(navigation): open the back history from the Back button - #1977

Merged
l0gicgate merged 3 commits into
mainfrom
feat/1976-back-history-dropdown
Nov 1, 2026
Merged

l0gicgate merged 3 commits into
mainfrom
feat/1976-back-history-dropdown

Conversation

@l0gicgate

@l0gicgate l0gicgate commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Back button in the List and Icons pane header now opens a dropdown of the back history on right-click, on a long press, or with the context-menu key (Menu or Shift+F10) while it has focus. Entries are listed most recent first with each folder's name and path. Choosing one jumps back to it in one step; the entries skipped on the way stay reachable with Forward, as in browsers. A plain click still goes back one step, and a held press that opens the menu does not go back on release. The header gains no new control. Columns view has no pane header and is unchanged.

NavigationState::go_back_to(steps) replaces go_back and keeps the forward stack consistent when several entries are skipped. The popover reuses the existing pane header popover and menu-item styling, the Back button describes the gesture for assistive technology, the F1 reference lists it under Icons and List navigation, and the new strings are localized in all thirteen catalogs.

Visual evidence

N/A: agents cannot upload attachments. The popover opens directly below the Back button with a BACK TO heading and one two-line row per entry (folder name, dimmed path). The list is capped at roughly eight rows and scrolls beyond that; arrowing through it keeps the focused row in view. F1 shows "List the back history (also right-click or hold)" keyed to Menu / Shift+F10 on the Back button.

How to test

  1. Switch to List or Icons view.
  2. Open a folder, press Alt+Up, then open another folder.
  3. Right-click the Back button (or press and hold it) and choose the first folder you opened.
  4. Press Alt+Right twice.

Expected result: the dropdown lists the visited locations most recent first; choosing the first folder jumps straight to it; the two Alt+Right presses replay the skipped parent visit and then return to the second folder. Releasing a held Back after the menu opens stays in the current folder. In a fresh tab Back is disabled and nothing opens.

Related issue

Closes #1976

A chevron beside Back in the List and Icons pane header lists the back
stack, most recent first, and jumps to a chosen entry in one step. The
entries skipped on the way stay reachable with Forward, as in browsers.

Closes #1976
Replace the chevron with right-click, long-press, or the context-menu
key on Back, so the header keeps its current controls. The popover is
unparented when the button is destroyed, and the F1 reference lists the
gesture under the Icons and List navigation sections.
@l0gicgate l0gicgate changed the title feat(navigation): add a back history dropdown beside the Back button feat(navigation): open the back history from the Back button Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Back button dropdown listing previous locations

1 participant