Skip to content

desktop: New timeline collapses completed thinking even when detail is "expanded" #64566

Open

Description

@csb666

Description

With the New timeline experiment enabled and Settings -> Timeline detail set to Everything, a thinking block is expanded while it streams and collapses as soon as the turn completes.

The stored preference is correct: general.timelineDetail.thinking = {"placement":"separate","details":"expanded"}. Turning the New timeline experiment off keeps the same blocks expanded, so the problem is in the new timeline path.

Expected: with details: "expanded", completed thinking blocks stay expanded.

Actual: they collapse when the turn finishes, and any non-streaming reasoning row is collapsed from the start.

Code pointer in out/renderer/assets/route-*.js:

function e_(e, t) { return t && e.thinking.details === "expanded" }

With t === false the expression is false regardless of the setting:

  • streaming render: e_(e.timelineDetail(), !0) expands
  • completed render: e_(e.timelineDetail(), !1) always collapses
  • Qg() for non-streaming reasoning rows: e_(e, !1) always collapses

Plugins

none

OpenCode version

2.3.1 (desktop)

Steps to reproduce

  1. Settings -> Experimental -> enable New timeline
  2. Settings -> Timeline -> Everything
  3. Send a prompt that produces reasoning
  4. The thinking block expands while streaming, then collapses when the turn ends
  5. Turn New timeline off and repeat: the same blocks stay expanded

Screenshot

No response

Operating System

Windows 11 Pro for Workstations 10.0.26300 (win32 x64)

Terminal

n/a (desktop app)

Activity

  1. opencodejr commented on Nov 18, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report and for finding the exact code, @csb666!

    You'd like the New timeline experiment to keep finished thinking blocks open when thinking details are set to expanded (for example the Everything preset), the way the old timeline does.

    From the code, the New timeline collapses them on purpose. The function you found is thoughtOpens in packages/session-ui/src/timeline-next/rules.ts. Its comment says expanded details stream the thought in view and "close it once it is finished". The tests check the same thing: a finished thought starts closed with the Everything preset. So I'm treating this as a request to change that behaviour, or to make it follow the setting. I've noted for the maintainers that the Collapse switch in Settings can reasonably be read as applying to finished thoughts too. They'll consider it, but I can't promise what they'll decide.

    Related issues:

  2. added
    area/desktop
    type/feature
    version/v2
    on Nov 18, 2026
  3. added
    type/bug
    and removed
    type/feature
    on Nov 26, 2026
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

    area/desktopplatform/windowstype/bugversion/v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions