Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/components/sidebar/view/subcomponents/SidebarSessionItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Check, Edit2, Trash2, X } from 'lucide-react';
import type { TFunction } from 'i18next';

import { Badge, Button } from '../../../../shared/view/ui';
import { Badge, Button, Tooltip } from '../../../../shared/view/ui';
import { cn } from '../../../../lib/utils';
import type { Project, ProjectSession, LLMProvider } from '../../../../types/app';
import type { SessionWithProvider } from '../../types/types';
Expand Down Expand Up @@ -97,7 +97,13 @@ export default function SidebarSessionItem({
<div className="group relative">
{sessionView.isActive && (
<div className="absolute left-0 top-1/2 -translate-x-1 -translate-y-1/2 transform">
<div className="h-2 w-2 animate-pulse rounded-full bg-green-500" />
<Tooltip content={t('tooltips.activeSessionIndicator')} position="right">
<div
role="status"
aria-label={t('tooltips.activeSessionIndicator')}
className="h-2 w-2 animate-pulse rounded-full bg-green-500"
/>
</Tooltip>
</div>
)}

Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/de/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "Aus Favoriten entfernen",
"editSessionName": "Sitzungsname manuell bearbeiten",
"deleteSession": "Diese Sitzung dauerhaft löschen",
"activeSessionIndicator": "Kürzlich aktive Sitzung (letzte 10 Minuten)",
"save": "Speichern",
"cancel": "Abbrechen",
"clearSearch": "Suche leeren",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "Remove from favorites",
"editSessionName": "Manually edit session name",
"deleteSession": "Delete this session permanently",
"activeSessionIndicator": "Recently active session (last 10 minutes)",
"save": "Save",
"cancel": "Cancel",
"clearSearch": "Clear search",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/it/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "Rimuovi dai preferiti",
"editSessionName": "Modifica manualmente il nome della sessione",
"deleteSession": "Elimina questa sessione permanentemente",
"activeSessionIndicator": "Sessione attiva di recente (ultimi 10 minuti)",
"save": "Salva",
"cancel": "Annulla",
"clearSearch": "Cancella ricerca",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ja/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "お気に入りから削除",
"editSessionName": "セッション名を手動で編集",
"deleteSession": "このセッションを完全に削除",
"activeSessionIndicator": "最近アクティブなセッション(過去10分以内)",
"save": "保存",
"cancel": "キャンセル",
"openCommandPalette": "コマンドパレットを開く"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ko/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "즐겨찾기에서 제거",
"editSessionName": "세션 이름 직접 편집",
"deleteSession": "이 세션 영구 삭제",
"activeSessionIndicator": "최근 활성 세션 (지난 10분)",
"save": "저장",
"cancel": "취소",
"openCommandPalette": "명령 팔레트 열기"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/ru/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "Удалить из избранного",
"editSessionName": "Вручную редактировать имя сеанса",
"deleteSession": "Удалить этот сеанс навсегда",
"activeSessionIndicator": "Недавно активный сеанс (последние 10 минут)",
"save": "Сохранить",
"cancel": "Отмена",
"clearSearch": "Очистить поиск",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/tr/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "Favorilerden çıkar",
"editSessionName": "Oturum adını elle düzenle",
"deleteSession": "Bu oturumu kalıcı olarak sil",
"activeSessionIndicator": "Yakın zamanda etkin oturum (son 10 dakika)",
"save": "Kaydet",
"cancel": "İptal",
"clearSearch": "Aramayı temizle",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/zh-CN/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"removeFromFavorites": "从收藏移除",
"editSessionName": "手动编辑会话名称",
"deleteSession": "永久删除此会话",
"activeSessionIndicator": "最近活跃的会话(最近 10 分钟)",
"save": "保存",
"cancel": "取消",
"clearSearch": "清除搜索",
Expand Down