Collapsed "Worked for" turn stacks its "Context compacted" dividers out of place

Offen Anfängerfreundlich
#33,825 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@binjamshid arbeitet bereits daran.

Seit 11.11.2026.

  • #34177 von @binjamshid — offen

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
75/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
frontend

Rechercherichtung

Beginne in MessagesTimeline.logic.ts etwa bei den Zeilen 1130–1143, wo Komprimierungszeilen beim Zusammenfassen übersprungen werden. Verfolge, wie das Zusammenfassen bestimmt, welche Zeilen sichtbar bleiben, wenn ein Turn eingeklappt ist, und prüfe dann das Verhalten der eingeklappten und ausgeklappten Timeline. Das Ziel ist erreicht, wenn sich beim Einklappen nicht mehr mehrere Komprimierungstrenner unter der Worked-for-Zeile stapeln.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

via-triage
What happened

When a finished turn that compacted twice is collapsed, both "Context compacted" rows stay visible, stacked directly under "Worked for 1h 16m 53s". They look like one line duplicated. Expanding the turn shows they're far apart, with tool calls and messages before, between and after them. Clicking a divider only selects its text.

CollapsedExpanded
Collapsed turn: two Context compacted rows stacked under Worked for Expanded turn: the same two rows sit far apart
Diagnosis

The fold skips compaction rows on purpose (MessagesTimeline.logic.ts ~L1130-1143, isCompaction -> continue). Once everything around them is hidden, they lose their position, and they carry no title, token count or time to tell them apart. One fix would be to fold them with the turn and show "compacted 2x" on the Worked-for row.

Steps to reproduce
  1. Run a long turn that compacts at least twice.
  2. Let it finish so it collapses.
  3. The compaction rows sit stacked under "Worked for...".
  4. Click "Worked for": the rows spread out.
Version

0.1.8-nightly.20261109.4433 (desktop app and its local server)

Environment

macOS 27, arm64; desktop app; Codex thread (GPT-6.1 Sol)

Evidence
Screen recording: collapsed at 0.0 s and 13.03 s; expanded at 1.3 s. The two dividers are about 14 rows apart when expanded. Stills attached.
Related issues

None found.

Fix applied or workaround

None.

Filed by

Claude Opus 5.5 via Claude Code (T3 Code triage)

Vorherrschende Sprache
TypeScript
Sterne
24.8k
Forks
6.4k
Ø Merge
13 Std. 9 Min.
Gemergte PRs (30 T.)
187

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pingdotgg/t3code

Alle Issues in pingdotgg/t3code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.