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 <cursoragent@cursor.com>
This commit is contained in:
brooklyn!
2026-09-08 15:20:07 -05:00
committed by brooklyn!
parent 960dee7fe5
commit be4bd24a50
9 changed files with 9 additions and 23 deletions

View File

@@ -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 => <Codicon name="watch" {...props} />,
route: CRON_ROUTE,
keybindActionId: 'nav.cron'
},
{
id: 'session-import',
label: '',
icon: props => <Codicon name="cloud-download" {...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)

View File

@@ -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. */

View File

@@ -1754,8 +1754,7 @@ export const ar = defineLocale({
chat: 'المحادثة',
settings: 'الإعدادات',
cron: 'المهام المجدولة',
agents: 'الوكلاء',
'session-import': 'استيراد جلسة'
agents: 'الوكلاء'
},
searchAria: 'البحث في الجلسات',
searchPlaceholder: 'البحث في الجلسات...',

View File

@@ -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…',

View File

@@ -2061,8 +2061,7 @@ export const ja = defineLocale({
skills: 'スキルとツール',
messaging: 'メッセージング',
artifacts: 'アーティファクト',
cron: 'スケジュール済みジョブ',
'session-import': 'セッションを取り込む'
cron: 'スケジュール済みジョブ'
},
searchAria: 'セッションを検索',
searchPlaceholder: 'セッションを検索…',

View File

@@ -2421,8 +2421,7 @@ export const ru = defineLocale({
skills: 'Возможности',
messaging: 'Сообщения',
artifacts: 'Артефакты',
cron: 'Запланированные задачи',
'session-import': 'Импортировать сессию'
cron: 'Запланированные задачи'
},
searchAria: 'Поиск сеансов',
searchPlaceholder: 'Поиск сеансов…',

View File

@@ -1986,8 +1986,7 @@ export const zhHant = defineLocale({
skills: '技能與工具',
messaging: '訊息平台',
artifacts: '成品',
cron: '排程工作',
'session-import': '匯入工作階段'
cron: '排程工作'
},
searchAria: '搜尋工作階段',
searchPlaceholder: '搜尋工作階段…',

View File

@@ -2553,8 +2553,7 @@ export const zh: Translations = {
skills: '技能与工具',
messaging: '消息平台',
artifacts: '产物',
cron: '定时任务',
'session-import': '导入会话'
cron: '定时任务'
},
searchAria: '搜索会话',
searchPlaceholder: '搜索会话…',

View File

@@ -663,8 +663,8 @@ the id plus a ready-to-paste `hermes --resume <id>` 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