From be4bd24a5048ebf70017f9ef042400f01a5ec9a7 Mon Sep 17 00:00:00 2001 From: brooklyn! Date: Tue, 8 Sep 2026 15:20:07 -0500 Subject: [PATCH] fix(desktop): take Import session off the sidebar nav The importer stays in the command palette. The labeled nav row was clutter next to New session / Capabilities / Messaging. Co-authored-by: Cursor --- apps/desktop/src/app/chat/sidebar/index.tsx | 8 -------- apps/desktop/src/app/types.ts | 2 +- apps/desktop/src/i18n/ar.ts | 3 +-- apps/desktop/src/i18n/en.ts | 3 +-- apps/desktop/src/i18n/ja.ts | 3 +-- apps/desktop/src/i18n/ru.ts | 3 +-- apps/desktop/src/i18n/zh-hant.ts | 3 +-- apps/desktop/src/i18n/zh.ts | 3 +-- website/docs/user-guide/sessions.md | 4 ++-- 9 files changed, 9 insertions(+), 23 deletions(-) diff --git a/apps/desktop/src/app/chat/sidebar/index.tsx b/apps/desktop/src/app/chat/sidebar/index.tsx index a20b52e702..d01f31e90f 100644 --- a/apps/desktop/src/app/chat/sidebar/index.tsx +++ b/apps/desktop/src/app/chat/sidebar/index.tsx @@ -136,7 +136,6 @@ import { ARTIFACTS_ROUTE, CRON_ROUTE, MESSAGING_ROUTE, - SESSION_IMPORT_ROUTE, SIDEBAR_NAV_AREA, type SidebarNavContribution, SKILLS_ROUTE @@ -230,12 +229,6 @@ const SIDEBAR_NAV: SidebarNavItem[] = [ icon: props => , route: CRON_ROUTE, keybindActionId: 'nav.cron' - }, - { - id: 'session-import', - label: '', - icon: props => , - route: SESSION_IMPORT_ROUTE } ] @@ -1469,7 +1462,6 @@ export function ChatSidebar({ (item.id === 'messaging' && currentView === 'messaging') || (item.id === 'artifacts' && currentView === 'artifacts') || (item.id === 'cron' && currentView === 'cron') || - (item.id === 'session-import' && currentView === 'session-import') || // Contributed rows light up at their own route. (currentView === 'extension' && Boolean(item.route) && pathname === item.route) diff --git a/apps/desktop/src/app/types.ts b/apps/desktop/src/app/types.ts index 4d3f7545f1..3bf09f66b1 100644 --- a/apps/desktop/src/app/types.ts +++ b/apps/desktop/src/app/types.ts @@ -163,7 +163,7 @@ export type CommandDispatchResponse = | PrefillCommandDispatchResponse export type SidebarNavId = - 'artifacts' | 'command-center' | 'cron' | 'messaging' | 'new-session' | 'session-import' | 'settings' | 'skills' + 'artifacts' | 'command-center' | 'cron' | 'messaging' | 'new-session' | 'settings' | 'skills' export interface SidebarNavItem { /** Built-in view id, or a contributed row's namespaced contribution id. */ diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.ts index 1ce7297289..42e2bced56 100644 --- a/apps/desktop/src/i18n/ar.ts +++ b/apps/desktop/src/i18n/ar.ts @@ -1754,8 +1754,7 @@ export const ar = defineLocale({ chat: 'المحادثة', settings: 'الإعدادات', cron: 'المهام المجدولة', - agents: 'الوكلاء', - 'session-import': 'استيراد جلسة' + agents: 'الوكلاء' }, searchAria: 'البحث في الجلسات', searchPlaceholder: 'البحث في الجلسات...', diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts index 4fe8bcb34f..0053466ece 100644 --- a/apps/desktop/src/i18n/en.ts +++ b/apps/desktop/src/i18n/en.ts @@ -2388,8 +2388,7 @@ export const en: Translations = { skills: 'Capabilities', messaging: 'Messaging', artifacts: 'Artifacts', - cron: 'Scheduled jobs', - 'session-import': 'Import session' + cron: 'Scheduled jobs' }, searchAria: 'Search sessions', searchPlaceholder: 'Search sessions…', diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts index 38f2611b35..8acb78e25e 100644 --- a/apps/desktop/src/i18n/ja.ts +++ b/apps/desktop/src/i18n/ja.ts @@ -2061,8 +2061,7 @@ export const ja = defineLocale({ skills: 'スキルとツール', messaging: 'メッセージング', artifacts: 'アーティファクト', - cron: 'スケジュール済みジョブ', - 'session-import': 'セッションを取り込む' + cron: 'スケジュール済みジョブ' }, searchAria: 'セッションを検索', searchPlaceholder: 'セッションを検索…', diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.ts index 8e7afb5de4..7a6ee0c3cd 100644 --- a/apps/desktop/src/i18n/ru.ts +++ b/apps/desktop/src/i18n/ru.ts @@ -2421,8 +2421,7 @@ export const ru = defineLocale({ skills: 'Возможности', messaging: 'Сообщения', artifacts: 'Артефакты', - cron: 'Запланированные задачи', - 'session-import': 'Импортировать сессию' + cron: 'Запланированные задачи' }, searchAria: 'Поиск сеансов', searchPlaceholder: 'Поиск сеансов…', diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts index 0b754c5e50..04017abe19 100644 --- a/apps/desktop/src/i18n/zh-hant.ts +++ b/apps/desktop/src/i18n/zh-hant.ts @@ -1986,8 +1986,7 @@ export const zhHant = defineLocale({ skills: '技能與工具', messaging: '訊息平台', artifacts: '成品', - cron: '排程工作', - 'session-import': '匯入工作階段' + cron: '排程工作' }, searchAria: '搜尋工作階段', searchPlaceholder: '搜尋工作階段…', diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts index 2fc5561b55..a20d7a7ba6 100644 --- a/apps/desktop/src/i18n/zh.ts +++ b/apps/desktop/src/i18n/zh.ts @@ -2553,8 +2553,7 @@ export const zh: Translations = { skills: '技能与工具', messaging: '消息平台', artifacts: '产物', - cron: '定时任务', - 'session-import': '导入会话' + cron: '定时任务' }, searchAria: '搜索会话', searchPlaceholder: '搜索会话…', diff --git a/website/docs/user-guide/sessions.md b/website/docs/user-guide/sessions.md index 6adc541cd5..3943dcf93a 100644 --- a/website/docs/user-guide/sessions.md +++ b/website/docs/user-guide/sessions.md @@ -663,8 +663,8 @@ the id plus a ready-to-paste `hermes --resume ` command. `--resume @claude` / `--resume @codex` show the same picker and drop you straight into the imported conversation. -**Hermes Desktop** has the same importer under **Import session** in the -sidebar (also in the command palette). It lists the logs on the machine the +**Hermes Desktop** has the same importer in the command palette (**Import +session**). It lists the logs on the machine the connected backend runs on — not the computer running the app — shows a read-only preview, and **Continue in Hermes** copies the conversation into the selected profile. Browsing never writes to your session store, importing never