Skip to content

[Bug]: Sidebar does not follow active thread after Cmd+[ / Cmd+] (back/forward) navigation #16534

Description

@WarutC

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop (sidebar / navigation)

Steps to reproduce

  1. Open T3 Code desktop with 2+ projects, each with several threads. Keep default sidebarThreadPreviewCount (6).
  2. Open a thread in project A, then open a thread in project B (via Cmd+K, Cmd+1..9, or clicking).
  3. Make one of these true for the thread you will return to: its project is collapsed in the sidebar, the sidebar project filter is set to a different single project, or the thread is beyond the first 6 shown in its project.
  4. Press Cmd+[ (navigation.back) to return to the earlier thread, or Cmd+] to go forward.

Expected behavior

The sidebar follows the active route: the owning project is expanded, the sidebar scope is widened if the thread is filtered out, the thread list reveals the thread if it is hidden behind "show more", and the active thread is scrolled into view and highlighted. This matches what a user sees after clicking the thread directly.

Actual behavior

The main pane switches to the thread but the sidebar does not change. The active thread is not visible or highlighted, so it is unclear which project/thread is now open.

From reading the bundled renderer, navigation.back / navigation.forward only call window.history.back() / window.history.forward(). Nothing reveals the active thread in the sidebar on route change (no project expand, no scope reset, no scroll-into-view).

Impact

Minor bug or occasional failure. It makes back/forward navigation across many projects disorienting.

Version or commit

T3 Code (Alpha) 0.0.45, macOS (Darwin 25.6.0)

Workarounds

Set the sidebar filter to "All projects", expand the project manually, increase sidebarThreadPreviewCount, or pin the thread.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions