The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): drop the "automatic continuation" layers badge from session rows
Teknium426f9ad1fb60
diff --git a/apps/desktop/src/app/chat/sidebar/session-row.test.tsx b/apps/desktop/src/app/chat/sidebar/session-row.test.tsxindex f9d00be8144..2e83a30eda3 100644--- a/apps/desktop/src/app/chat/sidebar/session-row.test.tsx+++ b/apps/desktop/src/app/chat/sidebar/session-row.test.tsx@@ -37,7 +37,6 @@ vi.mock('@/i18n', () => ({backgroundRunning: 'Running in background',finishedUnread: 'Finished',handoffOrigin: (platform: string) => `Started on ${platform}`,- continuationOrigin: 'Automatic continuation — this conversation was compressed and continued',messageCount: (count: number) => `${count} messages`,needsInput: 'Needs input',sessionActions: 'Session actions',@@ -437,27 +436,3 @@ describe('SidebarSessionRow decoration slots', () => {expect(screen.queryByTestId('lead-deco')).toBeNull()})})--// #121148: a projected compression continuation renders as a plain-// top-level row that reads as a brand-new conversation — and the sealed-// predecessor it replaced used to nest like a branch users deleted as-// accidents. The row must carry a visible continuation affordance.-describe('SidebarSessionRow continuation badge', () => {- const continuationGlyph = (container: HTMLElement) => container.querySelector('.codicon-layers')-- it('paints the continuation glyph for a projected compression tip', () => {- const { container } = renderRow(makeSession({ continuation_kind: 'compression', title: 'Long-running chat' }))-- expect(continuationGlyph(container)).not.toBeNull()- })-- it('paints nothing for a plain session and for a branch', () => {- const plain = renderRow(makeSession({ title: 'Plain' }))-- expect(continuationGlyph(plain.container)).toBeNull()-- const branch = renderRow(makeSession({ parent_session_id: 'parent', title: 'A real branch' }))-- expect(continuationGlyph(branch.container)).toBeNull()- })-})diff --git a/apps/desktop/src/app/chat/sidebar/session-row.tsx b/apps/desktop/src/app/chat/sidebar/session-row.tsxindex 292af34b51b..5f59b2c373d 100644--- a/apps/desktop/src/app/chat/sidebar/session-row.tsx+++ b/apps/desktop/src/app/chat/sidebar/session-row.tsx@@ -526,30 +526,12 @@ function SidebarSessionRowImpl({</Tip>) : null- // A projected continuation renders as a plain top-level row, which- // reads as a brand-new conversation that "appeared by itself" — and- // the sealed predecessor it replaced once nested like a branch- // users deleted as accidents (#121148). Label the provenance so an- // automatic rotation is legible as one.- const continuationBadge =- session.continuation_kind === 'compression' ? (- <Tip label={r.continuationOrigin}>- <Codicon- aria-hidden="true"- className="size-3.5 shrink-0 text-(--ui-text-quaternary)"- name="layers"- size="0.75rem"- />- </Tip>- ) : null-if (!card) {return (<>{leadNode}<SessionRowSlot area={SESSION_ROW_AREAS.leading} sessionId={sessionPinId(session)} />{handoffBadge}- {continuationBadge}<span className="min-w-0 flex-1 self-center">{/* The row's primary action (#38072 finding 3): the titleis the session row's real button — the grabber and ⋯@@ -618,7 +600,6 @@ function SidebarSessionRowImpl({{context}</span>{handoffBadge}- {continuationBadge}<SessionRowSlot area={SESSION_ROW_AREAS.trailing} sessionId={sessionPinId(session)} />{actionsNode}</div>diff --git a/apps/desktop/src/i18n/ar_chrome.ts b/apps/desktop/src/i18n/ar_chrome.tsindex e436ac88c67..d2da35d9886 100644--- a/apps/desktop/src/i18n/ar_chrome.ts+++ b/apps/desktop/src/i18n/ar_chrome.ts@@ -328,7 +328,6 @@ export const arChrome = {ownedByProfile: profile => `مملوكة للملف الشخصي ${profile}`,untitledChat: id => `محادثة ${id}`,handoffOrigin: platform => `قادمة من ${platform}`,- continuationOrigin: 'متابعة تلقائية — تم ضغط هذه المحادثة ومتابعتها',renamed: 'تمت إعادة التسمية',renameFailed: 'فشلت إعادة التسمية',renameTitle: 'إعادة تسمية الجلسة',diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.tsindex b8028db926a..49eac8fdcd4 100644--- a/apps/desktop/src/i18n/de.ts+++ b/apps/desktop/src/i18n/de.ts@@ -3687,7 +3687,6 @@ export const deOverrides = {backgroundRunning: 'Hintergrundaufgabe läuft',draftSession: 'Entwurf – noch nichts gesendet',handoffOrigin: platform => `Übergeben von ${platform}`,- continuationOrigin: 'Automatische Fortsetzung — dieser Chat wurde komprimiert und fortgesetzt',ownedByProfile: profile => `Profil: ${profile}`,renamed: 'Umbenannt',renameFailed: 'Umbenennen fehlgeschlagen',diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex 074e0f5f2d6..9a2f7f67207 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -3251,7 +3251,6 @@ export const en: Translations = {backgroundRunning: 'Background task running',draftSession: 'Draft — nothing sent yet',handoffOrigin: platform => `Handed off from ${platform}`,- continuationOrigin: 'Automatic continuation — this conversation was compressed and continued',ownedByProfile: profile => `Profile: ${profile}`,renamed: 'Renamed',renameFailed: 'Rename failed',diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.tsindex 9ce9337766f..134d7406258 100644--- a/apps/desktop/src/i18n/es.ts+++ b/apps/desktop/src/i18n/es.ts@@ -3676,7 +3676,6 @@ export const esOverrides = {backgroundRunning: 'Tarea en segundo plano en ejecución',draftSession: 'Borrador — aún no se ha enviado nada',handoffOrigin: platform => `Transferido desde ${platform}`,- continuationOrigin: 'Continuación automática: esta conversación fue comprimida y continuada',ownedByProfile: profile => `Perfil: ${profile}`,renamed: 'Renombrada',renameFailed: 'No se pudo renombrar',diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.tsindex 7aaaaf23a5d..296ec18d0fe 100644--- a/apps/desktop/src/i18n/fr.ts+++ b/apps/desktop/src/i18n/fr.ts@@ -3693,7 +3693,6 @@ export const frOverrides = {backgroundRunning: 'Tâche en arrière-plan en cours',draftSession: 'Brouillon — aucun message envoyé',handoffOrigin: platform => `Transférée depuis ${platform}`,- continuationOrigin: 'Continuation automatique — cette conversation a été compressée puis poursuivie',ownedByProfile: profile => `Profil : ${profile}`,renamed: 'Renommée',renameFailed: 'Échec du renommage',diff --git a/apps/desktop/src/i18n/overlay-gaps.json b/apps/desktop/src/i18n/overlay-gaps.jsonindex 5ca7d2aefe5..f411a7bbfb1 100644--- a/apps/desktop/src/i18n/overlay-gaps.json+++ b/apps/desktop/src/i18n/overlay-gaps.json@@ -1999,7 +1999,6 @@"sidebar.projects.reorder": ["ja","zh-hant"],"sidebar.projects.staleBackend": ["ar"],"sidebar.projects.toggle": ["ja","zh-hant"],- "sidebar.row.continuationOrigin": ["ja","ru","zh-hant"],"sidebar.row.hideTabBar": ["ja","zh-hant"],"sidebar.row.messageCount": ["ar","ja","zh-hant"],"sidebar.row.openInNewTab": ["ja","zh-hant"],diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.tsindex 4711d48d884..27bb39ea635 100644--- a/apps/desktop/src/i18n/types.ts+++ b/apps/desktop/src/i18n/types.ts@@ -2857,7 +2857,6 @@ export interface Translations extends NoticeTranslations {backgroundRunning: stringdraftSession: stringhandoffOrigin: (platform: string) => string- continuationOrigin: stringownedByProfile: (profile: string) => stringrenamed: stringrenameFailed: stringdiff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 84b3ca3b503..96a8a3e66bc 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -3143,7 +3143,6 @@ export const zhOverrides = {backgroundRunning: '后台任务运行中',draftSession: '草稿 — 尚未发送',handoffOrigin: platform => `从 ${platform} 转接`,- continuationOrigin: '自动延续 — 此对话已压缩并延续',ownedByProfile: profile => `配置档:${profile}`,renamed: '已重命名',renameFailed: '重命名失败',