Skip to content

[Bug]: Turning off "Working section" silently switches Active list to creation-time sorting and ignores latest replies #37275

Open

Description

@KevinXC5

Before submitting

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

Area

apps/web

Steps to reproduce

  1. Open Settings → General → Sidebar and disable Working section (sidebarWorkingShelfEnabled: false), while keeping Settings → Labs → Boring sidebar disabled (boringSidebarEnabled: false).
  2. Keep an older active thread (for example, created ~1 day ago) alongside several newer active threads created later.
  3. Send a new prompt in that older thread and wait for the reply to finish (Done).

Expected behavior

An active thread that just received a new user message / completed reply should move up to the top of the Active list (or have an independent setting to sort Active threads by latest activity), unless the user explicitly switches to manual ordering.

At minimum, disabling Working section should not silently switch the Active list from recency sorting to creation-time sorting.

Actual behavior

The older thread updates its status badge to Done, but remains buried in its original createdAt position below all threads created after it.

From inspecting the bundled client logic:

  • When workingShelfEnabled is true (and boringSidebarEnabled is false), the Active list is sorted by Math.max(createdAt, unsettledAt, latestRun.requestedAt, latestRun.completedAt, returnedAt).
  • When both workingShelfEnabled and boringSidebarEnabled are false, the Active list unconditionally switches to activeTimeOrdered = false and sorts by activeOrderKey (if manually dragged) or Math.max(createdAt, unsettledAt) — ignoring updatedAt, latestRun.requestedAt, latestRun.completedAt, and sidebarThreadSortOrder (which is currently persisted in client-settings.json as "updated_at" by default, has no UI control, and is only used for fallback thread selection on archive/delete/project switch).
  • The UI description for Working section does not warn that turning it off disables recency sorting for Active threads.

Impact

Minor bug or occasional failure

Version or commit

0.1.10-nightly.20261115.4736 (commit 7379f19)

Environment

macOS 27.3 (Build 26C5035r), T3 Code (Nightly) Desktop

Workaround

Re-enable Settings → General → Sidebar → Working section (sidebarWorkingShelfEnabled: true), or enable Boring sidebar in Settings → Labs.

Activity

  1. kr8vka0z commented on Nov 21, 2026

    @kr8vka0z

    Still happens on T3 Code 0.1.11-nightly.20261119.4941 in the web app on Linux x64, so it isn't limited to the macOS desktop app. With Working section off and Boring sidebar off, I started thread A, then thread B a minute later, then sent a follow-up in A and waited for the reply to finish. A stayed below B in the Active list. Turning Working section back on moved A to the top straight away. In my test the two threads were created about a minute apart, and I didn't drag any rows.

    Checked and drafted by Claude Opus 5.5 in T3 Code, reviewed and posted by me.

  2. ashenstrata commented on Nov 22, 2026

    @ashenstrata

    Also reproducing on the stable 0.1.11 desktop build on macOS, with Working section and Boring sidebar both off.

    I have an older active thread sitting below threads I created later. After I send a follow-up in the older one and the run finishes, its badge updates to Done, but the row stays at its original creation position. Turning Working section on moves it to the top immediately; turning it off puts it back where it was.

    I think the ordering itself can stay a product decision, but the switch should not be silent. The Working section setting only says that working threads move into a shelf. Nothing there says that turning it off also returns Active to the saved order and that later replies will not move a row. The docs do say "Thread activity does not change the order", but that line lives in the manual-ordering section, far from the toggle.

    The behavior is also inconsistent with Boring sidebar, where Active is ordered by my last message. The order I expected exists in one mode and disappears in another with no hint.

    If recency ordering when the shelf is off is intentionally not coming back, could the setting description (or the docs next to it) say so explicitly? A line like "Turns off recency ordering. Active returns to your saved order; replies will not move a thread." would make this a non-issue for me.

    Checked and drafted with DeepSeek-V4.1-Flash in T3 Code, reviewed and posted by me.

  3. chomamateusz commented on Nov 23, 2026

    @chomamateusz
    Contributor

    I opened a fix in #41619: the Working section setting description and the sidebar docs now say that with the section off, Active keeps the order you arrange and replies do not move threads. The ordering itself stays as designed. Before/after videos are in the PR. The bot closed it because of the open-PR limit, so it stays closed for now, until a maintainer reopens it or one of my other PRs lands.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions