mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-01 18:28:38 +00:00
fix: coderabbit issues
This commit is contained in:
@@ -51,7 +51,7 @@ export const CURSOR_MODELS = {
|
||||
{ value: "grok", label: "Grok" },
|
||||
],
|
||||
|
||||
DEFAULT: "gpt-5-3-codex",
|
||||
DEFAULT: "gpt-5.3-codex",
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,8 +42,11 @@ export function useSessionMessageSearch(
|
||||
return;
|
||||
}
|
||||
|
||||
esRef.current?.close();
|
||||
esRef.current = null;
|
||||
seqRef.current++;
|
||||
|
||||
const handle = setTimeout(() => {
|
||||
esRef.current?.close();
|
||||
const seq = ++seqRef.current;
|
||||
const url = api.searchConversationsUrl(trimmed);
|
||||
const es = new EventSource(url);
|
||||
|
||||
@@ -164,7 +164,7 @@ export default function SidebarHeader({
|
||||
) : (
|
||||
<kbd
|
||||
aria-hidden
|
||||
title="Open command palette"
|
||||
title={t('tooltips.openCommandPalette')}
|
||||
className="pointer-events-none absolute right-2.5 top-1/2 hidden -translate-y-1/2 items-center gap-0.5 rounded border border-border/60 bg-muted/40 px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground md:inline-flex"
|
||||
>
|
||||
{MOD_KEY}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createContext, useContext, useEffect, useMemo, useRef } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import type { MutableRefObject, ReactNode } from 'react';
|
||||
|
||||
export type PaletteOps = {
|
||||
openFile: (path: string) => void;
|
||||
@@ -7,7 +7,7 @@ export type PaletteOps = {
|
||||
refreshProjects: () => Promise<void> | void;
|
||||
};
|
||||
|
||||
type Registry = React.MutableRefObject<Partial<PaletteOps>>;
|
||||
type Registry = MutableRefObject<Partial<PaletteOps>>;
|
||||
|
||||
const PaletteOpsContext = createContext<Registry | null>(null);
|
||||
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"deleteSession": "Diese Sitzung dauerhaft löschen",
|
||||
"save": "Speichern",
|
||||
"cancel": "Abbrechen",
|
||||
"clearSearch": "Suche leeren"
|
||||
"clearSearch": "Suche leeren",
|
||||
"openCommandPalette": "Befehlspalette öffnen"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "Chat",
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"deleteSession": "Delete this session permanently",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel",
|
||||
"clearSearch": "Clear search"
|
||||
"clearSearch": "Clear search",
|
||||
"openCommandPalette": "Open command palette"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "Chat",
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"deleteSession": "Elimina questa sessione permanentemente",
|
||||
"save": "Salva",
|
||||
"cancel": "Annulla",
|
||||
"clearSearch": "Cancella ricerca"
|
||||
"clearSearch": "Cancella ricerca",
|
||||
"openCommandPalette": "Apri tavolozza comandi"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "Chat",
|
||||
|
||||
@@ -46,7 +46,8 @@
|
||||
"editSessionName": "セッション名を手動で編集",
|
||||
"deleteSession": "このセッションを完全に削除",
|
||||
"save": "保存",
|
||||
"cancel": "キャンセル"
|
||||
"cancel": "キャンセル",
|
||||
"openCommandPalette": "コマンドパレットを開く"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "チャット",
|
||||
|
||||
@@ -46,7 +46,8 @@
|
||||
"editSessionName": "세션 이름 직접 편집",
|
||||
"deleteSession": "이 세션 영구 삭제",
|
||||
"save": "저장",
|
||||
"cancel": "취소"
|
||||
"cancel": "취소",
|
||||
"openCommandPalette": "명령 팔레트 열기"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "채팅",
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"deleteSession": "Удалить этот сеанс навсегда",
|
||||
"save": "Сохранить",
|
||||
"cancel": "Отмена",
|
||||
"clearSearch": "Очистить поиск"
|
||||
"clearSearch": "Очистить поиск",
|
||||
"openCommandPalette": "Открыть палитру команд"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "Чат",
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"deleteSession": "Bu oturumu kalıcı olarak sil",
|
||||
"save": "Kaydet",
|
||||
"cancel": "İptal",
|
||||
"clearSearch": "Aramayı temizle"
|
||||
"clearSearch": "Aramayı temizle",
|
||||
"openCommandPalette": "Komut paletini aç"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "Sohbet",
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"deleteSession": "永久删除此会话",
|
||||
"save": "保存",
|
||||
"cancel": "取消",
|
||||
"clearSearch": "清除搜索"
|
||||
"clearSearch": "清除搜索",
|
||||
"openCommandPalette": "打开命令面板"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "聊天",
|
||||
|
||||
Reference in New Issue
Block a user