Skip to content

web: ⌃Tab walks Recent Panels across every surface, ⌥Tab stays Recent Projects #171

Closed

Description

@yansfil

Problem

In the desktop app, ⌃Tab is "Next recent tab": it walks only the focused checkout's Herdr tabs (web/src/keyboard.ts tabCycle, web/src/recent.ts keeps one MRU list per checkout).
docs/UI_BEHAVIOR.md "Recent navigation" already specifies Recent Panels as one recent-use order over every surface (terminal, file/editor, and diff tabs) across every project, checkout, and device, which is what the Swift shell does; the web shell never reached it.

Wanted

  • ⌃Tab / ⌃⇧Tab (desktop app) and ⌥ / ⌥⇧ (browser, where Chrome keeps ⌃Tab) open Recent Panels: one MRU order over Herdr tabs and View-area displays (file, diff, and browser displays) across every project and checkout the session holds.
  • A single chord returns to the actually previous surface; holding the modifier and repeating walks older visits; releasing commits; Escape keeps the original selection.
  • Committing a row focuses that surface in its own project and checkout, switching Workspace when needed.
  • Rows follow the spec: at most nine around the highlight, project and checkout (collapsed when they share a name), surface type, an agent's identity and status mark for a one-agent tab.
  • ⌥Tab / ⌥⇧Tab stay Recent Projects, restoring each project's last used surface.
  • The Shortcuts sheet and the desktop app menu read the new command names from the one registry (web/src/shortcuts.ts).

Scope notes

Update docs/UI_BEHAVIOR.md where browser displays join the surface list.
Remote-device surfaces are in the spec; if a remote surface cannot be focused from the web shell yet, say so in the PR and leave it as a follow-up rather than drawing a row that cannot commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions